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

Filter excess entries #443

Merged
merged 11 commits into from Apr 9, 2023
Merged

Filter excess entries #443

merged 11 commits into from Apr 9, 2023

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Mar 25, 2023

tests/test_main.py Outdated Show resolved Hide resolved
…ers.

The main contstraint here for an importable module is that it must not contain a module separator ('.'). Other names that contain dashes or spaces cannot be imported with the 'import' statement, but can be imported with 'importlib.import_module' or invoked with 'runpy'.
Captures new failed expectation and verifies fix.
@jaraco jaraco merged commit 64ae8f6 into main Apr 9, 2023
34 checks passed
@jaraco jaraco deleted the bugfix/442-excess-entries branch April 9, 2023 15:17
@jaraco
Copy link
Member Author

jaraco commented Apr 9, 2023

Releasing as v6.2.1.

jaraco added a commit to jherland/importlib_metadata that referenced this pull request Apr 9, 2023
…port names"

This reverts commit 70ff991.

This behavior was adopted in 5e8260c and subsequently adapted as part of python#443.
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.

metadata directories appearing in packages_distributions
2 participants