Skip to content

Resolve deprecation warning #234

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

Closed
drts01 opened this issue May 21, 2024 · 2 comments · Fixed by #236
Closed

Resolve deprecation warning #234

drts01 opened this issue May 21, 2024 · 2 comments · Fixed by #236

Comments

@drts01
Copy link
Contributor

drts01 commented May 21, 2024

.../site-packages/notfound/extension.py:269: RemovedInSphinx90Warning: The '_Opt' object tuple interface is deprecated, use attribute access instead for 'default', 'rebuild', and 'valid_types'.
  default, rebuild, types = app.config.values.get('notfound_urls_prefix')

Version 1.0.1

@humitos
Copy link
Member

humitos commented May 21, 2024

Hi @xsc27! Thanks for reporting this issue. Would you like to open a PR to solve it?

@drts01
Copy link
Contributor Author

drts01 commented May 21, 2024

Yes. Gladly.

drts01 added a commit to drts01/sphinx-notfound-page that referenced this issue May 23, 2024
drts01 added a commit to drts01/sphinx-notfound-page that referenced this issue May 23, 2024
drts01 added a commit to drts01/sphinx-notfound-page that referenced this issue May 28, 2024
humitos pushed a commit that referenced this issue May 28, 2024
* fix _Opt deprecation warning

closes #234

* build(deps): docs

* ci(docs): build on Python 3.12
drts01 added a commit to drts01/sphinx-notfound-page that referenced this issue May 28, 2024
humitos pushed a commit that referenced this issue May 29, 2024
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

Successfully merging a pull request may close this issue.

2 participants