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

KeyError: 'setuptools_scm' when building the package #29

Open
hosiet opened this issue Oct 24, 2024 · 0 comments · May be fixed by #30
Open

KeyError: 'setuptools_scm' when building the package #29

hosiet opened this issue Oct 24, 2024 · 0 comments · May be fixed by #30

Comments

@hosiet
Copy link

hosiet commented Oct 24, 2024

The following error message appears when building the python wheel. It is non-fatal and the package build can continue, but we should still fix it.

* Building wheel...
<string>:7: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
musicinmybrain added a commit to musicinmybrain/openstep-plist that referenced this issue Dec 7, 2024
Fixes fonttools#29.

See https://setuptools-scm.readthedocs.io/en/latest/usage/. This section
is expected to be present, but it may be empty if no non-default
settings are required.

This addition does not change the contents of the binary wheels.
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 a pull request may close this issue.

1 participant