Skip to content

Try to fix deprecation warnings from distutils update #20420

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

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Dec 20, 2021

The Build and test provider packages wheel job is currently failing on main because setuptools has formally deprecate the Version class in their distutils copy. This class is unfortunately still used by a couple of dependencies (namely eventlet and fsspec).

/usr/local/lib/python3.7/site-packages/eventlet/support/greenlets.py:6:distutils Version classes are deprecated. Use packaging.version instead.
/usr/local/lib/python3.7/site-packages/eventlet/support/greenlets.py:7:distutils Version classes are deprecated. Use packaging.version instead.
/usr/local/lib/python3.7/site-packages/fsspec/spec.py:92:distutils Version classes are deprecated. Use packaging.version instead.
/usr/local/lib/python3.7/site-packages/fsspec/spec.py:92:distutils Version classes are deprecated. Use packaging.version instead.

https://github.com/apache/airflow/runs/4581317512?check_suite_focus=true#step:6:865

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Dec 20, 2021
@github-actions
Copy link

The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@uranusjr uranusjr force-pushed the provider-deprecation-distutils branch from a6e6094 to 7e7c9cc Compare December 20, 2021 13:36
@uranusjr uranusjr merged commit 7e8d189 into apache:main Dec 20, 2021
@uranusjr uranusjr deleted the provider-deprecation-distutils branch December 20, 2021 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools okay to merge It's ok to merge this PR as it does not require more tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants