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

Avoid using deprecated distutils module #90

Open
slyon opened this issue Jan 27, 2022 · 0 comments
Open

Avoid using deprecated distutils module #90

slyon opened this issue Jan 27, 2022 · 0 comments

Comments

@slyon
Copy link

slyon commented Jan 27, 2022

The distutils module has been deprecated since python 3.10 and leads to deprecation warnings during the test of gnome-gmail. Which leads to failed tests (due to output/deprecation warnings on stderr) in Ubuntu 22.04. PEP 632 suggests using the setuptools module instead: https://www.python.org/dev/peps/pep-0632/#migration-advice

# python3 setup.py test --pytest-args --ignore=test/test_setup.py
/tmp/autopkgtest.c1v6yk/build.RDc/src/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Command
running test
[...]
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