Skip to content

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

@derlin

Description

@derlin

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:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions