Skip to content

build failure: DeprecationWarning during docutils dependency install #11330

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
jayaddison opened this issue Apr 15, 2023 · 0 comments · Fixed by #11331
Closed

build failure: DeprecationWarning during docutils dependency install #11330

jayaddison opened this issue Apr 15, 2023 · 0 comments · Fixed by #11331

Comments

@jayaddison
Copy link
Contributor

Describe the bug

The continuous integration unit test workflow uses an environment variable to treat most warnings as errors by default.

Recently, pip has begun emitting a DeprecationWarning during the installation of docutils on versions of Python below 3.12, resulting in build failures.

I think that this may be related to pypa/pip#11916, where the version of setuptools vendored by pip was updated (and the relevant warning was introduced).

Overriding that particular warning message (while continuing to treat other warnings as errors) may be the safest and simplest way forward; I'll provide a pull request to do that.

How to Reproduce

I think that any continuous integration builds for this repository that utilise pip 23.1 are likely to be affected.

When opening a pull request to include the fix, I'll begin with something like a no-op commit to demonstrate the expected build failure, and after that a subsequent commit containing the fix (and hopefully illustrating that the build passes with that in place).

Environment Information

N/A

Sphinx extensions

N/A

Additional context

No response

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant