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

c85fce39b broke importing standard library modules that are "masked" #12303

Open
4 tasks done
s-t-e-v-e-n-k opened this issue May 10, 2024 · 0 comments
Open
4 tasks done
Labels
topic: collection related to the collection phase type: bug problem that needs to be addressed

Comments

@s-t-e-v-e-n-k
Copy link

  • a detailed description of the bug or problem you are having
  • output of pip list from the virtual environment you are using
  • pytest and operating system versions
  • minimal example if possible

As reported in this jaraco.test issue comment, this commit broke the ability to import test.support, which is in the standard library, while testing jaraco.test.

pip list:

abuild@conjecture:/home/abuild> pip list
Package            Version
------------------ -----------------------
annotated-types    0.6.0
attrs              23.2.0
autocommand        2.2.2
backports.tarfile  1.0.0
inflect            7.0.0
iniconfig          2.0.0
jaraco.classes     3.4.0
jaraco.collections 5.0.1
jaraco.context     5.3.0
jaraco.functools   4.0.0
jaraco.text        3.12.0
more-itertools     10.2.0
packaging          24.0
pip                24.0
pluggy             1.5.0
pydantic           2.7.1
pydantic_core      2.18.2
pytest             8.1.0.dev253+gc85fce39b
setuptools         69.0.3
setuptools-scm     8.0.4
toml               0.10.2
typing_extensions  4.11.0
wheel              0.43.0

Operating system: openSUSE Tumbleweed

The minimal example would be running jaraco.test's testsuite under pytest, I guess.

@Zac-HD Zac-HD added type: bug problem that needs to be addressed topic: collection related to the collection phase labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: collection related to the collection phase type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

2 participants