-
-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python 3.9.21, 3.10.16, 3.11.11, 3.12.8, and 3.13.1 (#…
- Loading branch information
1 parent
af74c72
commit ade913e
Showing
10 changed files
with
59 additions
and
29 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,8 +67,8 @@ toolchain = "[email protected]" | |
// build info to make sure we cover our grounds here. | ||
for (version, build_info) in [ | ||
("[email protected]", false), | ||
("[email protected].10", true), | ||
("[email protected].6", false), | ||
("[email protected].11", true), | ||
("[email protected].8", false), | ||
("[email protected]", false), | ||
] { | ||
if home.join("py").join(version).is_dir() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ fn test_add_flask() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
Added flask>=3.0.0 as dev dependency | ||
Added colorama>=0.4.6 as dev dependency | ||
Reusing already existing virtualenv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ fn test_dotenv() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
Generating production lockfile: [TEMP_PATH]/project/requirements.lock | ||
Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock | ||
Installing dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ fn test_init_lib() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
Generating production lockfile: [TEMP_PATH]/project/requirements.lock | ||
Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock | ||
Installing dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ fn test_basic_script() { | |
----- stderr ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
"###); | ||
|
||
rye_cmd_snapshot!(space.rye_cmd().arg("run"), @r###" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ fn test_version() { | |
rye [VERSION] | ||
commit: [COMMIT] | ||
platform: [PLATFORM] | ||
self-python: [email protected].6 | ||
self-python: [email protected].8 | ||
symlink support: true | ||
uv enabled: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ fn test_empty_sync() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
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: [email protected].6 | ||
Python version: [email protected].8 | ||
Generating production lockfile: [TEMP_PATH]/project/requirements.lock | ||
Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock | ||
Installing dependencies | ||
|
@@ -353,7 +353,7 @@ fn test_lockfile() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
Added anyio==4.0.0 as regular dependency | ||
Reusing already existing virtualenv | ||
Generating production lockfile: [TEMP_PATH]/project/requirements.lock | ||
|
@@ -429,7 +429,7 @@ fn test_generate_hashes() { | |
exit_code: 0 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
Generating production lockfile: [TEMP_PATH]/project/requirements.lock | ||
Generating dev lockfile: [TEMP_PATH]/project/requirements-dev.lock | ||
Installing dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,14 +64,14 @@ fn test_basic_tool_behavior() { | |
exit_code: 1 | ||
----- stdout ----- | ||
Initializing new virtualenv in [TEMP_PATH]/project/.venv | ||
Python version: [email protected].6 | ||
Python version: [email protected].8 | ||
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.6, pytest-7.4.3, pluggy-1.3.0 | ||
platform [PLATFORM] -- Python 3.12.8, 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.6, pytest-7.4.3, pluggy-1.3.0 | ||
platform [PLATFORM] -- Python 3.12.8, 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.6, pytest-7.4.3, pluggy-1.3.0 | ||
platform [PLATFORM] -- Python 3.12.8, pytest-7.4.3, pluggy-1.3.0 | ||
rootdir: [TEMP_PATH]/project | ||
collected 2 items | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ fn test_basic_tool_behavior() { | |
- pycowsay | ||
----- stderr ----- | ||
Using Python 3.11.10 environment at [RYE_HOME]/tools/pycowsay | ||
Using Python 3.11.11 environment at [RYE_HOME]/tools/pycowsay | ||
Resolved 1 package in [EXECUTION_TIME] | ||
Prepared 1 package in [EXECUTION_TIME] | ||
Installed 1 package in [EXECUTION_TIME] | ||
|
@@ -69,7 +69,7 @@ fn test_basic_tool_behavior() { | |
success: true | ||
exit_code: 0 | ||
----- stdout ----- | ||
pycowsay 0.0.0.2 ([email protected].10) | ||
pycowsay 0.0.0.2 ([email protected].11) | ||
----- stderr ----- | ||
"###); | ||
|
@@ -79,13 +79,13 @@ fn test_basic_tool_behavior() { | |
.env("UV_CACHE_DIR", cache_dir.path()) | ||
.arg("toolchain") | ||
.arg("remove") | ||
.arg("[email protected].10"), @r###" | ||
.arg("[email protected].11"), @r###" | ||
success: false | ||
exit_code: 1 | ||
----- stdout ----- | ||
----- stderr ----- | ||
error: toolchain [email protected].10 is still in use by tool pycowsay | ||
error: toolchain [email protected].11 is still in use by tool pycowsay | ||
"###); | ||
|
||
rye_cmd_snapshot!( | ||
|