Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Resolve setuptools warnings#851

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
andersk wants to merge5 commits intotwilio:main
base:main
Choose a base branch
Loading
fromandersk:setuptools-warnings

Conversation

andersk
Copy link

Resolve these warnings fromPYTHONDEVMODE=1 uv build:

…/lib/python3.12/site-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options!!        ********************************************************************************        Usage of dash-separated 'description-file' will not be supported in future        versions. Please use the underscore name 'description_file' instead.        This deprecation is overdue, please update your project and remove deprecated        calls to avoid build errors in the future.        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.        ********************************************************************************!!  opt = self.warn_dash_deprecation(opt, section)
…/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'help_center'  warnings.warn(msg)
…/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:124: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated!!        ********************************************************************************        With Python 2.7 end-of-life, support for building universal wheels        (i.e., wheels that support both Python 2 and Python 3)        is being obviated.        Please discontinue using this option, or if you still need it,        file an issue with pypa/setuptools describing your use case.        By 2025-Aug-30, you need to update your project and remove deprecated calls        or your builds will no longer be supported.        ********************************************************************************!!  self.finalize_options()
…/lib/python3.12/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.!!        ********************************************************************************        Please consider removing the following classifiers in favor of a SPDX license expression:        License :: OSI Approved :: MIT License        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.        ********************************************************************************!!  self._finalize_license_expression()
warning: no files found matching '*' under directory 'twilio/conf'

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read theContribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

If you have questions, please file asupport ticket, or create a GitHub Issue in this repository.

/home/anders/.cache/uv/builds-v0/.tmpXAxITl/lib/python3.12/site-packages/setuptools/dist.py:589: SetuptoolsDeprecationWarning: Invalid dash-separated options!!        ********************************************************************************        Usage of dash-separated 'description-file' will not be supported in future        versions. Please use the underscore name 'description_file' instead.        This deprecation is overdue, please update your project and remove deprecated        calls to avoid build errors in the future.        Seehttps://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.        ********************************************************************************!!  opt = self.warn_dash_deprecation(opt, section)Signed-off-by: Anders Kaseorg <andersk@mit.edu>
/home/anders/.cache/uv/builds-v0/.tmpXAxITl/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'help_center'  warnings.warn(msg)Signed-off-by: Anders Kaseorg <andersk@mit.edu>
/home/anders/.cache/uv/builds-v0/.tmpi6bxu5/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated!!        ********************************************************************************        With Python 2.7 end-of-life, support for building universal wheels        (i.e., wheels that support both Python 2 and Python 3)        is being obviated.        Please discontinue using this option, or if you still need it,        file an issue with pypa/setuptools describing your use case.        By 2025-Aug-30, you need to update your project and remove deprecated calls        or your builds will no longer be supported.        ********************************************************************************!!  self.finalize_options()Signed-off-by: Anders Kaseorg <andersk@mit.edu>
/home/anders/.cache/uv/builds-v0/.tmpXAxITl/lib/python3.12/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.!!        ********************************************************************************        Please consider removing the following classifiers in favor of a SPDX license expression:        License :: OSI Approved :: MIT License        Seehttps://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.        ********************************************************************************!!  self._finalize_license_expression()Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Commitd75a66b (twilio#376) should haveremoved this.Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@andersk

[8]ページ先頭

©2009-2025 Movatter.jp