diff --git a/rye/tests/.test-list.rs.pending-snap b/rye/tests/.test-list.rs.pending-snap deleted file mode 100644 index 948f3bc666..0000000000 --- a/rye/tests/.test-list.rs.pending-snap +++ /dev/null @@ -1,4 +0,0 @@ -{"run_id":"1725330156-141805000","line":18,"new":{"module_name":"test_list","snapshot_name":"basic_list","metadata":{"source":"rye/tests/test-list.rs","assertion_line":18,"info":{"program":"rye","args":["list"],"env":{"__RYE_UV_EXCLUDE_NEWER":"2023-11-18T12:00:00Z","RYE_HOME":"/Users/crmarsh/workspace/rye/target/debug/rye-test-dir/home","UV_CACHE_DIR":"/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/.rye-tests---5aZXcS/uv-cache"}}},"snapshot":"success: true\nexit_code: 0\n----- stdout -----\n\n----- stderr -----\n"},"old":{"module_name":"test_list","metadata":{},"snapshot":"success: true\nexit_code: 0\n----- stdout -----\njinja2==3.1.2\nmarkupsafe==2.1.3\n-e file:[TEMP_PATH]/project\n\n----- stderr -----"}} -{"run_id":"1725330156-141805000","line":47,"new":null,"old":null} -{"run_id":"1725330197-789961000","line":47,"new":null,"old":null} -{"run_id":"1725330197-789961000","line":18,"new":null,"old":null} diff --git a/rye/tests/common/mod.rs b/rye/tests/common/mod.rs index 7cc24f0745..eadd866041 100644 --- a/rye/tests/common/mod.rs +++ b/rye/tests/common/mod.rs @@ -64,9 +64,9 @@ toolchain = "cpython@3.12.3" // fetch the most important interpreters. Fetch some with and some without // build info to make sure we cover our grounds here. for (version, build_info) in [ - ("cpython@3.8.19", false), - ("cpython@3.11.9", true), - ("cpython@3.12.3", false), + ("cpython@3.8.20", false), + ("cpython@3.11.10", true), + ("cpython@3.12.6", false), ("pypy@3.10.13", false), ] { if home.join("py").join(version).is_dir() { diff --git a/rye/tests/test_add.rs b/rye/tests/test_add.rs index 1f3a36ac5d..3d11fb09ac 100644 --- a/rye/tests/test_add.rs +++ b/rye/tests/test_add.rs @@ -16,7 +16,7 @@ fn test_add_flask() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask>=3.0.0 as regular dependency Added colorama>=0.4.6 as regular dependency Reusing already existing virtualenv @@ -59,7 +59,7 @@ fn test_add_flask_dotenv() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask[dotenv]>=3.0.0 as regular dependency Added colorama>=0.4.6 as regular dependency Reusing already existing virtualenv @@ -112,7 +112,7 @@ fn test_add_from_find_links() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added tqdm>=4.66.1 as regular dependency Added colorama>=0.4.6 as regular dependency Reusing already existing virtualenv @@ -150,7 +150,7 @@ fn test_add_flask_wrong_venv_exported() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask==3.0.0 as regular dependency Added colorama>=0.4.6 as regular dependency Reusing already existing virtualenv @@ -185,7 +185,7 @@ fn test_add_explicit_version_or_url() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added werkzeug==3.0.0 as regular dependency Reusing already existing virtualenv Generating production lockfile: [TEMP_PATH]/project/requirements.lock @@ -234,7 +234,7 @@ fn test_add_dev() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask>=3.0.0 as dev dependency Added colorama>=0.4.6 as dev dependency Reusing already existing virtualenv diff --git a/rye/tests/test_cli.rs b/rye/tests/test_cli.rs index 32db91c2fd..ab36957522 100644 --- a/rye/tests/test_cli.rs +++ b/rye/tests/test_cli.rs @@ -26,7 +26,7 @@ fn test_dotenv() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies diff --git a/rye/tests/test_init.rs b/rye/tests/test_init.rs index 6ac9cd456f..b7016b5b34 100644 --- a/rye/tests/test_init.rs +++ b/rye/tests/test_init.rs @@ -22,7 +22,7 @@ fn test_init_lib() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies @@ -71,7 +71,7 @@ fn test_init_default() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies @@ -121,7 +121,7 @@ fn test_init_script() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies diff --git a/rye/tests/test_scripts.rs b/rye/tests/test_scripts.rs index fb91790c0b..956281b222 100644 --- a/rye/tests/test_scripts.rs +++ b/rye/tests/test_scripts.rs @@ -24,7 +24,7 @@ fn test_basic_script() { ----- stderr ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 "###); rye_cmd_snapshot!(space.rye_cmd().arg("run"), @r###" diff --git a/rye/tests/test_self.rs b/rye/tests/test_self.rs index b67701d210..6f53cce49d 100644 --- a/rye/tests/test_self.rs +++ b/rye/tests/test_self.rs @@ -63,7 +63,7 @@ fn test_version() { rye [VERSION] commit: [COMMIT] platform: [PLATFORM] - self-python: cpython@3.12.3 + self-python: cpython@3.12.6 symlink support: true uv enabled: true diff --git a/rye/tests/test_sync.rs b/rye/tests/test_sync.rs index 9558fca57e..93bb85e42b 100644 --- a/rye/tests/test_sync.rs +++ b/rye/tests/test_sync.rs @@ -15,7 +15,7 @@ fn test_empty_sync() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies @@ -54,7 +54,7 @@ fn test_add_and_sync_no_auto_sync() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask==3.0.0 as regular dependency Added colorama>=0.4.6 as regular dependency @@ -96,7 +96,7 @@ fn test_add_autosync() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Added flask==3.0.0 as regular dependency Added colorama>=0.4.6 as regular dependency Reusing already existing virtualenv @@ -139,7 +139,7 @@ fn test_autosync_remember() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies @@ -302,7 +302,7 @@ fn test_exclude_hashes() { exit_code: 0 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies diff --git a/rye/tests/test_test.rs b/rye/tests/test_test.rs index a7ba4992c2..23b7228247 100644 --- a/rye/tests/test_test.rs +++ b/rye/tests/test_test.rs @@ -64,14 +64,14 @@ fn test_basic_tool_behavior() { exit_code: 1 ----- stdout ----- Initializing new virtualenv in [TEMP_PATH]/project/.venv - Python version: cpython@3.12.3 + Python version: cpython@3.12.6 Generating production lockfile: [TEMP_PATH]/project/requirements.lock Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock Installing dependencies Done! Running tests for foo ([TEMP_PATH]/project) ============================= test session starts ============================= - platform [PLATFORM] -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 + platform [PLATFORM] -- Python 3.12.6, pytest-7.4.3, pluggy-1.3.0 rootdir: [TEMP_PATH]/project collected 2 items @@ -108,7 +108,7 @@ fn test_basic_tool_behavior() { ----- stdout ----- Running tests for child-dep ([TEMP_PATH]/project/child-dep) ============================= test session starts ============================= - platform [PLATFORM] -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 + platform [PLATFORM] -- Python 3.12.6, pytest-7.4.3, pluggy-1.3.0 rootdir: [TEMP_PATH]/project/child-dep collected 2 items @@ -128,7 +128,7 @@ fn test_basic_tool_behavior() { Running tests for foo ([TEMP_PATH]/project) ============================= test session starts ============================= - platform [PLATFORM] -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 + platform [PLATFORM] -- Python 3.12.6, pytest-7.4.3, pluggy-1.3.0 rootdir: [TEMP_PATH]/project collected 2 items diff --git a/rye/tests/test_tools.rs b/rye/tests/test_tools.rs index 9c0f409ee9..2e9becdace 100644 --- a/rye/tests/test_tools.rs +++ b/rye/tests/test_tools.rs @@ -68,7 +68,7 @@ fn test_basic_tool_behavior() { success: true exit_code: 0 ----- stdout ----- - pycowsay 0.0.0.2 (cpython@3.11.9) + pycowsay 0.0.0.2 (cpython@3.11.10) ----- stderr ----- "###); @@ -78,13 +78,13 @@ fn test_basic_tool_behavior() { .env("UV_CACHE_DIR", cache_dir.path()) .arg("toolchain") .arg("remove") - .arg("cpython@3.11.9"), @r###" + .arg("cpython@3.11.10"), @r###" success: false exit_code: 1 ----- stdout ----- ----- stderr ----- - error: toolchain cpython@3.11.9 is still in use by tool pycowsay + error: toolchain cpython@3.11.10 is still in use by tool pycowsay "###); rye_cmd_snapshot!(