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 version classes are deprecated #20

Closed
lukasjuhrich opened this issue Aug 11, 2023 · 0 comments
Closed

Distutils version classes are deprecated #20

lukasjuhrich opened this issue Aug 11, 2023 · 0 comments

Comments

@lukasjuhrich
Copy link

lukasjuhrich commented Aug 11, 2023

Issue

The following line (and many similar ones) causes a deprecation warning when I build my docs:

if LooseVersion(__version__) >= LooseVersion("4.0.0"):

/opt/pycroft/venv/lib/python3.10/site-packages/sphinx_paramlinks/sphinx_paramlinks.py:386: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.                                                                                                                  
  if LooseVersion(__version__) >= LooseVersion("4.0.0"):                                                                                                                                                                                                                                                 

Setup

  • Python 3.10.10
  • Sphinx==5.1.1
  • sphinx-paramlinks==0.5.4

Context

Unfortunately I don't know much about the details, other than:

@zzzeek zzzeek closed this as completed in 885a7a7 Aug 11, 2023
lukasjuhrich added a commit to agdsn/pycroft that referenced this issue Aug 14, 2023
This contains the fix for sqlalchemyorg/sphinx-paramlinks#20,
which adresses some deprecation warnings.
lukasjuhrich added a commit to agdsn/pycroft that referenced this issue Aug 14, 2023
This contains the fix for sqlalchemyorg/sphinx-paramlinks#20,
which adresses some deprecation warnings.
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