-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to install pynacl==1.4.0
#1906
Comments
The pyproject.toml in is not spec compliant, it's
The error message is unfortunately misplaced, but that seems like a serde or toml bug. |
@konstin - Do you have a reference that we can include for |
There's two compatibility layers: The more popular one, https://peps.python.org/pep-0345/#environment-markers This one comes from pypa/packaging#72 / https://github.com/pypa/packaging/pull/73/files though, which is now just https://github.com/pypa/packaging/blob/7bcd6d8ec33f0a614f9d017d31be4b50ece1549a/src/packaging/_parser.py#L326-L330 As usual, i advocate for emitting a warning when we install such as a package, so that this can be fixed upstream. |
Huh. TIL. I'll send PRs to our packages to use |
## Summary Like `platform.python_implementation`, we should support the `python_implementation` "alias" for `platform_python_implementation`. Closes #1906. ## Test Plan ```shell ❯ cargo run pip install "pynacl==1.4.0" Finished dev [unoptimized + debuginfo] target(s) in 7.02s Running `target/debug/uv pip install pynacl==1.4.0` Resolved 4 packages in 9ms Built pynacl==1.4.0 Downloaded 1 package in 31.51s Installed 4 packages in 3ms + cffi==1.16.0 + pycparser==2.21 + pynacl==1.4.0 + six==1.16.0 ```
When executing
uv pip install pynacl==1.4.0
i get the following ouptut:Platform: MacOS Sonoma 14.3.1 on M2 Pro
Version: 0.1.9
The text was updated successfully, but these errors were encountered: