Fix lock_requires_python test case (#13866)

Tracking https://github.com/astral-sh/uv/issues/13867
This commit is contained in:
Zanie Blue 2025-06-05 12:27:52 -05:00 committed by GitHub
parent 262ca73965
commit b1a50c33cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3685,7 +3685,7 @@ fn lock_requires_python() -> Result<()> {
cannot be used, we can conclude that pygls>=1.1.0 cannot be used.
And because your project depends on pygls>=1.1.0, we can conclude that your project's requirements are unsatisfiable.
hint: Pre-releases are available for `pygls` in the requested range (e.g., 2.0.0a3), but pre-releases weren't enabled (try: `--prerelease=allow`)
hint: Pre-releases are available for `pygls` in the requested range (e.g., 2.0.0a4), but pre-releases weren't enabled (try: `--prerelease=allow`)
hint: The `requires-python` value (>=3.7) includes Python versions that are not supported by your dependencies (e.g., pygls>=1.1.0,<=1.2.1 only supports >=3.7.9, <4). Consider using a more restrictive `requires-python` value (like >=3.7.9, <4).
");