Skip to content

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented Aug 1, 2023

Working on first draft.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
README.md Outdated
the API listed in the next section.

```toml
[tool.dynamic-metadata.v1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be worth adding a note explaining why there is v1

README.md Outdated
[project]
dynamic = ["version"]

[tool.dynamic-metadata.v1.version]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... because it may be confusing to see .v1.version without providing some context.

@jcfr
Copy link
Contributor

jcfr commented Aug 1, 2023

Thanks for putting this together 💯 Exciting to see this moving forward.

henryiii and others added 2 commits August 1, 2023 21:54
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
henryiii added a commit to scikit-build/scikit-build-core that referenced this pull request Aug 14, 2023
Based on scikit-build/dynamic-metadata#1 (with
some updates). Fixes
#435.

This doesn't start using `tool.dynamic-metadata` yet, to give us room to
change that. Plus we have to back-compat support
`tool.scikit-build.metadata`, so might as well keep that as the only way
to set this for now.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@codecov
Copy link

codecov bot commented Sep 14, 2023

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

msg = "No inline configuration is supported"
raise ValueError(msg)

from setuptools_scm import Configuration, _get_version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pypa/setuptools-scm#904 hopefully restores compatibility until VCS versioning Will hopefully provide a own plugin

@henryiii
Copy link
Contributor Author

henryiii commented Feb 5, 2024

Let's:

  • Add a warning label in the readme about this being WIP
  • Drop the v1
  • Fix a typo

Then, let's see in a followup if we can support accessing the existing values (like version from readme), or at least make sure it can be done.

Also, let's mention "built-in" plugin support (mostly for future PEP plans).

README.md Outdated

```python
def dynamic_wheel(field: str, settings: Mapping[str, Any] | None = None) -> bool:
... # Return true if metadata can change from SDist to whlee (METADATA 2.2 feature)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
... # Return true if metadata can change from SDist to whlee (METADATA 2.2 feature)
... # Return true if metadata can change from SDist to wheel (METADATA 2.2 feature)

@aryamanjeendgar aryamanjeendgar marked this pull request as ready for review February 9, 2024 07:24
@henryiii henryiii merged commit b94da3a into main Mar 1, 2024
@henryiii henryiii deleted the henryiii/feat/draft branch March 1, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants