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

distutils DeprecationWarning #14

Open
wasjabloch opened this issue Jan 4, 2023 · 0 comments
Open

distutils DeprecationWarning #14

wasjabloch opened this issue Jan 4, 2023 · 0 comments

Comments

@wasjabloch
Copy link
Collaborator

wasjabloch commented Jan 4, 2023

When building pyraysum in python 3.11, a DeprecationWarning is issued:

setup.py:4: DeprecationWarning: 

  `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
  of the deprecation of `distutils` itself. It will be removed for
  Python >= 3.12. For older Python versions it will remain present.
  It is recommended to use `setuptools < 60.0` for those Python versions.
  For more details, see:
    https://numpy.org/devdocs/reference/distutils_status_migration.html 

setup.py should be migrated following the instructions here: https://numpy.org/devdocs/reference/distutils_status_migration.html

The site mentions:

It is not necessary to migrate immediately - the release date for Python 3.12 is October 2023.

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