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

Normalise package name before comparison #568

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

krassowski
Copy link
Contributor

This should help with jupyterlab/jupyter-collaboration#265 (comment) - does it seem right? I always thought that dashes are preferred in package names over underscores and the https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#name gives an example of spam-eggs

@krassowski
Copy link
Contributor Author

I think this can get a bug label

@krassowski
Copy link
Contributor Author

Note from jupyter-server meeting: we could use packaging.utils.canonicalize_name (thanks @bollwyvl)

@krassowski
Copy link
Contributor Author

@blink1073 this should be ready for review

@blink1073 blink1073 added the bug Something isn't working label Apr 18, 2024
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@blink1073 blink1073 merged commit ba6e1a5 into jupyter-server:main Apr 18, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants