-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] 62.0.0: pkg_resources
module discards current sys.path
sets it to default
#3279
Comments
Hi @kloczek, the expectation that The following is what the docs have to say about this topic:
|
I think that sooner or later such problems will gone if more modules will replace use of |
Yes, I believe the eventual migration from |
Thank you for the confirmation. |
I've updated list of modules which are still using |
setuptools version
62.0.0
Python version
3.8.13
OS
Linux/x86_64
Additional environment information
N/A
Description
Looksl like
pkg_resources
module discards currentsys.path
sets it to default which makes especially annoing when in sphinx copy.py fiel needs to setup path to module which documentation needs to be generated.Expected behavior
pkg_resources
module should not discard current value of thesys.path
.How to Reproduce
strace -fe trace=file /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man 2>&1 | grep transaction
Output
On above otput there is no try to opening /home/tkloczko/rpmbuild/BUILD/transaction-3.0.1/src/transaction.{egg|dist}-info.
The text was updated successfully, but these errors were encountered: