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

cannot import name 'RemovedInSphinx50Warning' from 'sphinx.deprecation' #56

Open
derlin opened this issue Mar 22, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@derlin
Copy link

derlin commented Mar 22, 2024

Description

Wanted to give it a go, but I stumble upon this exception when generating the sphinx doc.

Steps to Reproduce

  1. install Sphinx==7.2.6
  2. install attr-utils==0.9.0
  3. generate the docs (make html)

Actual result:

make html                  
Running Sphinx v7.2.6

Extension error:
Could not import extension attr_utils.autoattrs (exception: cannot import name 'RemovedInSphinx50Warning' from 'sphinx.deprecation' (/Users/lucy.linder/tmp/slumber-keycloak/.venv/lib/python3.10/site-packages/sphinx/deprecation.py))
make: *** [html] Error 2

Expected result:

Reproduces how often:

Every time ;)

Version

  • Operating System: Mac
  • Python: Python 3.10.12
  • attr_utils: 0.9.0

Installation source

pip

Other Additional Information:

@derlin derlin added the bug Something isn't working label Mar 22, 2024
@domdfcoding
Copy link
Owner

Can you try with attr_utils v1.0.0? I don't think this will be an issue any more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants