-
-
Notifications
You must be signed in to change notification settings - Fork 623
Add compat modules for tomllib
and importlib.metadata
#2108
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
base: main
Are you sure you want to change the base?
Conversation
Can you rebase this? The CI failures seem unrelated. |
They are, but tests are also failing on |
@chrysle I've responded there since. |
@chrysle the CI is green and more stable now 🎉 |
06b252f
to
485caa0
Compare
485caa0
to
df1d357
Compare
df1d357
to
d2969f9
Compare
d2969f9
to
dad5bd2
Compare
Surfacing the errors from Sphinx (the CI logs get garbage-collected periodically, so it's best to have a copy in here to persist the context): WARNING: autodoc: failed to import module 'cache' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
WARNING: autodoc: failed to import module 'repositories' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
WARNING: autodoc: failed to import module 'repositories.base' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
WARNING: autodoc: failed to import module 'repositories.local' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
WARNING: autodoc: failed to import module 'repositories.pypi' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
WARNING: autodoc: failed to import module 'resolver' from module 'piptools'; the following exception was raised:
cannot import name 'PIP_VERSION' from partially initialized module 'piptools.utils' (most likely due to a circular import) (/home/runner/work/pip-tools/pip-tools/.tox/build-docs/lib/python3.13/site-packages/piptools/utils.py)
/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/importlib/metadata/_meta.py:docstring of typing._overload_dummy:1: WARNING: py:class reference target not found: _T
/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/importlib/metadata/_meta.py:docstring of typing._overload_dummy:1: WARNING: py:class reference target not found: _T
/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/importlib/metadata/_meta.py:docstring of typing._overload_dummy:1: WARNING: py:class reference target not found: _T
/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/importlib/metadata/_meta.py:docstring of typing._overload_dummy:1: WARNING: py:class reference target not found: _T So it seems like there are two problems:
|
The conditional backports increased, thus I added two compatibility modules.
Contributor checklist
Maintainer checklist
backwards incompatible
,feature
,enhancement
,deprecation
,bug
,dependency
,docs
orskip-changelog
as they determine changelog listing.