Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MissingDynamic error #134

Open
mo-lucy-gordon opened this issue Nov 23, 2023 · 0 comments
Open

Fix MissingDynamic error #134

mo-lucy-gordon opened this issue Nov 23, 2023 · 0 comments

Comments

@mo-lucy-gordon
Copy link
Contributor

mo-lucy-gordon commented Nov 23, 2023

After recent updates, 3 errors appeared when installing stylist with pip install .

Upon initial testing, the first solution suggested by the error messages did eliminate the errors; I added the 3 values, mentioned in the error messages, to this line in pyproject.toml :
dynamic = ['version', 'authors', 'keywords','readme']

More Details to reproduce the error yourself:

When installing a branch of stylist with editable mode: pip install stylist -e . , I came across the following error for 3 values in pyproject.toml file:

The following seems to be defined outside of "pyproject.toml":
      
              "authors = Met Office"

According to the spec (see the link below), however, setuptools CANNOT consider this value unless "readme" is listed as "dynamic".

https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
      
To prevent this problem, you can list `authors` under `dynamic` or alternatively
remove the `[project]` table from your file and rely entirely on other means of
configuration.
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

No branches or pull requests

1 participant