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

Fix *-nspkg.pth files and imports for pkg_resources-style legacy namespaces in editable installs. #4041

Merged
merged 11 commits into from
Sep 6, 2023

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Sep 6, 2023

Summary of changes

  • Fix the name given to the *-nspkg.pth files in editable installs, ensuring they are unique per distribution.
  • Workaround limitations on pkg_resources-style legacy namespaces in editable installations.

Closes #4039

Pull Request Checklist

@abravalheri
Copy link
Contributor Author

See comments on challenges for legacy namespaces in editable installs on:

#4039 (comment)

@abravalheri abravalheri marked this pull request as ready for review September 6, 2023 17:14
@abravalheri abravalheri merged commit 2ee98fd into pypa:main Sep 6, 2023
21 checks passed
@abravalheri abravalheri deleted the issue-4039 branch September 6, 2023 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModuleNotFound for editable install of namespace package with two dots
1 participant