Skip to content

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

Merged
abravalheri merged 11 commits into
pypa:mainfrom
abravalheri:issue-4039
Sep 6, 2023
Merged

Fix *-nspkg.pth files and imports for pkg_resources-style legacy namespaces in editable installs.#4041
abravalheri merged 11 commits into
pypa:mainfrom
abravalheri:issue-4039

Conversation

@abravalheri

@abravalheri abravalheri commented Sep 6, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
@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