Bump patch Python versions for project (#7972)

This commit is contained in:
Zanie Blue 2024-10-07 12:38:12 -05:00 committed by GitHub
parent ceafa476c7
commit a4f64d2be6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
3.12.1
3.11.7
3.10.13
3.9.18
3.12.6
3.11.10
3.10.15
3.9.20
3.8.18
3.8.12

View file

@ -10005,7 +10005,7 @@ fn dynamic_dependencies() -> Result<()> {
#[cfg(all(target_os = "linux", feature = "python-patch"))]
#[test]
fn emit_marker_expression_exciting_linux() -> Result<()> {
let context = TestContext::new("3.12.1");
let context = TestContext::new("3.12.6");
let requirements_in = context.temp_dir.child("requirements.in");
requirements_in.write_str("anyio")?;
@ -10019,7 +10019,7 @@ fn emit_marker_expression_exciting_linux() -> Result<()> {
# This file was autogenerated by uv via the following command:
# uv pip compile --cache-dir [CACHE_DIR] requirements.in --emit-marker-expression
# Pinned dependencies known to be valid for:
# python_full_version == '3.12.1' and platform_python_implementation == 'CPython' and platform_system == 'Linux'
# python_full_version == '3.12.6' and platform_python_implementation == 'CPython' and platform_system == 'Linux'
anyio==4.3.0
# via -r requirements.in
idna==3.6
@ -10042,7 +10042,7 @@ fn emit_marker_expression_exciting_linux() -> Result<()> {
#[cfg(all(target_os = "linux", feature = "python-patch"))]
#[test]
fn emit_marker_expression_direct() -> Result<()> {
let context = TestContext::new("3.12.1");
let context = TestContext::new("3.12.6");
let requirements_in = context.temp_dir.child("requirements.in");
requirements_in.write_str("anyio ; sys_platform == 'linux'")?;
@ -10056,7 +10056,7 @@ fn emit_marker_expression_direct() -> Result<()> {
# This file was autogenerated by uv via the following command:
# uv pip compile --cache-dir [CACHE_DIR] requirements.in --emit-marker-expression
# Pinned dependencies known to be valid for:
# python_full_version == '3.12.1' and platform_python_implementation == 'CPython' and platform_system == 'Linux' and sys_platform == 'linux'
# python_full_version == '3.12.6' and platform_python_implementation == 'CPython' and platform_system == 'Linux' and sys_platform == 'linux'
anyio==4.3.0
# via -r requirements.in
idna==3.6
@ -10122,7 +10122,7 @@ fn emit_marker_expression_conditional() -> Result<()> {
#[cfg(all(target_os = "linux", feature = "python-patch"))]
#[test]
fn emit_marker_expression_pypy() -> Result<()> {
let context = TestContext::new("3.12.1");
let context = TestContext::new("3.12.6");
let requirements_in = context.temp_dir.child("requirements.in");
requirements_in.write_str("pendulum")?;
@ -10136,7 +10136,7 @@ fn emit_marker_expression_pypy() -> Result<()> {
# This file was autogenerated by uv via the following command:
# uv pip compile --cache-dir [CACHE_DIR] requirements.in --emit-marker-expression
# Pinned dependencies known to be valid for:
# python_full_version == '3.12.1' and implementation_name == 'cpython'
# python_full_version == '3.12.6' and implementation_name == 'cpython'
pendulum==3.0.0
# via -r requirements.in
python-dateutil==2.9.0.post0

View file

@ -666,18 +666,18 @@ fn create_venv_unknown_python_patch() {
#[cfg(feature = "python-patch")]
#[test]
fn create_venv_python_patch() {
let context = TestContext::new_with_versions(&["3.12.1"]);
let context = TestContext::new_with_versions(&["3.12.6"]);
uv_snapshot!(context.filters(), context.venv()
.arg(context.venv.as_os_str())
.arg("--python")
.arg("3.12.1"), @r###"
.arg("3.12.6"), @r###"
success: true
exit_code: 0
----- stdout -----
----- stderr -----
Using CPython 3.12.1 interpreter at: [PYTHON-3.12.1]
Using CPython 3.12.6 interpreter at: [PYTHON-3.12.6]
Creating virtual environment at: .venv
Activate with: source .venv/[BIN]/activate
"###

View file

@ -246,13 +246,13 @@ print(".".join(map(str, sys.version_info[:3])))
```console
$ # Use the default Python version, may differ on your machine
$ uv run example.py
3.12.1
3.12.6
```
```console
$ # Use a specific Python version
$ uv run --python 3.10 example.py
3.10.13
3.10.15
```
See the [Python version request](../concepts/python-versions.md#requesting-a-version) documentation