GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — gh-149671: Restore compatibility with setuptools nspkg.pth files in site module by vstinner · Pull Request #151319 · python/cpython Conversation
|
|
|
||
| def test_sitedir_variable(self): | ||
| # gh-149671: Provide 'sitedir' local variable for compatibility with | ||
| # Python 3.14 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| # Python 3.14 | |
| # setuptools use of `-nspkg.pth` files in Python < 3.15. |
And please add a link to the setuptools issue where they are going to remove these .pth files.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
probably a re-entrancy problem
or maybe not, but I still prefer the approach without the added attribute.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
And please add a link to the setuptools issue where they are going to remove these .pth files.
I don't think there is such an issue.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
And please add a link to the setuptools issue where they are going to remove these .pth files.
I'm not aware of such issue. Do you have a link?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
When you're done making the requested changes, leave the comment: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@warsaw: Please review the updated PR. I don't have a link to setuptools issue/PR. I asked for such link on the issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks Victor, this looks great. If you can't dig up a setuptools link, just go ahead and commit.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Ah, that's the unrelated issue gh-84649:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-151489 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…es in site module (python#151319) Inject the "sitedir" variable in the frame which executes ".pth" code.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.