-
Notifications
You must be signed in to change notification settings - Fork 3
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
Review normalization of package and extra names #736
Comments
This came up here: With the pyproject.toml
And the following manifest:
It lead to this error:
|
Quick fix: do not use capital letters in project name, that is go from [project]
name = "cellpose-2D3D-merging"
... to [project]
name = "cellpose-2d3d-merging"
... Meanwhile we'll improve on this, based on https://packaging.python.org/en/latest/specifications/pyproject-toml/#name ("Tools SHOULD normalize this name, as soon as it is read for internal consistency.") and https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization (which defines how to normalize a name). |
Hello @tcompa , we did switch to lower case, but we still got the same error and I see the folder created for the task virtualenv is still with the upper case letters. We are sure we used the correct wheel (we removed the previous one and the timestamp in the web interface is also from today). There might be more places affected than just the project name. We are now trying to remove the upper case letters from all the occurrences of the module name. |
Thanks for your feedback. I have a Meanwhile, the best would be to modify your package - to get it to work quickly. I'll also debug it on my side and provide feedback if I can. |
I think we found the mistake on our side actually. But we anyway removed any occurrence of upper case letters from everywhere. Thank you. |
Good to hear. A slight variation, where I just change the |
Ref: https://packaging.python.org/en/latest/specifications/name-normalization:
Note that this is not a big deal on fractal-server side, but it is creating some issues in the fractal-tasks-core for defining extras (ref python-poetry/poetry#6819 and fractal-analytics-platform/fractal-tasks-core#390 (comment)). Thus it's better to also make the right decision on the fractal-server side.
The text was updated successfully, but these errors were encountered: