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

Silence packaging 20.5 deprecation warnings #30975

Closed
antonio-rojas opened this issue Nov 29, 2020 · 10 comments
Closed

Silence packaging 20.5 deprecation warnings #30975

antonio-rojas opened this issue Nov 29, 2020 · 10 comments

Comments

@antonio-rojas
Copy link
Contributor

packaging 20.5 throws lots of deprecation warnings

/usr/lib/python3.9/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release

when called from setuptools when building the module index (which happens indirectly eg. when calling sage_getdoc). We silence these warnings, since this is really out of sage's control (even if all of sage's python packages were fixed, this could still be triggered by packages installed with sage-pip, or by any other python package in the case of distro packages)

CC: @dimpase @mkoeppe @kiwifb

Component: packages: standard

Author: Antonio Rojas

Branch/Commit: dca89b2

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/30975

@antonio-rojas antonio-rojas added this to the sage-9.3 milestone Nov 29, 2020
@antonio-rojas
Copy link
Contributor Author

@antonio-rojas

This comment has been minimized.

@antonio-rojas
Copy link
Contributor Author

Commit: 7dbcd04

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

Author: Antonio Rojas

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

Reviewer: Matthias Koeppe

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

Changed commit from 7dbcd04 to dca89b2

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

New commits:

dca89b2build/pkgs/packaging/install-requires.txt: Add comment on version 20.5

@mkoeppe
Copy link
Member

mkoeppe commented Nov 29, 2020

comment:5

(see #30719)

@vbraun
Copy link
Member

vbraun commented Dec 6, 2020

Changed branch from u/mkoeppe/silence_packaging_20_5_deprecation_warnings to dca89b2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants