mirror of https://github.com/astral-sh/uv
Update pre-release hint (#13517)
## Summary I believe it's a known issue that the "available versions" doesn't respect `--exclude-newer`.
This commit is contained in:
parent
061751f195
commit
cc6e766232
|
|
@ -3664,7 +3664,7 @@ fn lock_requires_python() -> Result<()> {
|
||||||
"#,
|
"#,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
uv_snapshot!(context.filters(), context.lock(), @r###"
|
uv_snapshot!(context.filters(), context.lock(), @r"
|
||||||
success: false
|
success: false
|
||||||
exit_code: 1
|
exit_code: 1
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
@ -3684,10 +3684,10 @@ fn lock_requires_python() -> Result<()> {
|
||||||
cannot be used, we can conclude that pygls>=1.1.0 cannot be used.
|
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.
|
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.0a2), but pre-releases weren't enabled (try: `--prerelease=allow`)
|
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: 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).
|
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).
|
||||||
"###);
|
");
|
||||||
|
|
||||||
// Require >=3.7, and allow locking to a version of `pygls` that is compatible (==1.0.1).
|
// Require >=3.7, and allow locking to a version of `pygls` that is compatible (==1.0.1).
|
||||||
pyproject_toml.write_str(
|
pyproject_toml.write_str(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue