Skip to content

Problem replacing . with - in version specs #45

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

Open
amotl opened this issue Mar 30, 2025 · 0 comments
Open

Problem replacing . with - in version specs #45

amotl opened this issue Mar 30, 2025 · 0 comments

Comments

@amotl
Copy link

amotl commented Mar 30, 2025

Hi there. Thanks a stack for conceiving and maintaining this invaluable tool.

Problem

A while ago, we discovered that this adjustment applied by pyproject-fmt caused problems installing the package. Apparently, while it might be an alias for some package managers, it isn't for others.

Details

diff --git a/pyproject.toml b/pyproject.toml
index 66a0730..d6b7592 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -81,7 +81,7 @@ dynamic = [
   "version",
 ]
 dependencies = [
-  "backports.zoneinfo<1; python_version<'3.9'",
+  "backports-zoneinfo<1; python_version<'3.9'",
   "crate>=2,<3",
   "geojson>=2.5,<4",
   "importlib-metadata; python_version<'3.8'",

Thoughts

Apologies that we are currently not able to come up with a reproducer. If you are interested, please respond correspondingly, so we will take another stab digging it out. Thank you!

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

No branches or pull requests

1 participant