-
-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bd904e
commit 19888df
Showing
10 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
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 |
---|---|---|
|
@@ -64,9 +64,9 @@ toolchain = "[email protected]" | |
// 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 [ | ||
("[email protected].19", false), | ||
("[email protected].9", true), | ||
("[email protected].3", false), | ||
("[email protected].20", false), | ||
("[email protected].10", true), | ||
("[email protected].6", 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].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].6 | ||
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].3 | ||
Python version: [email protected].6 | ||
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].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].6 | ||
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].3 | ||
Python version: [email protected].6 | ||
"###); | ||
|
||
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].3 | ||
self-python: [email protected].6 | ||
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].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].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: [email protected].3 | ||
Python version: [email protected].6 | ||
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].3 | ||
Python version: [email protected].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 | ||
|
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ fn test_basic_tool_behavior() { | |
success: true | ||
exit_code: 0 | ||
----- stdout ----- | ||
pycowsay 0.0.0.2 ([email protected].9) | ||
pycowsay 0.0.0.2 ([email protected].10) | ||
----- stderr ----- | ||
"###); | ||
|
@@ -78,13 +78,13 @@ fn test_basic_tool_behavior() { | |
.env("UV_CACHE_DIR", cache_dir.path()) | ||
.arg("toolchain") | ||
.arg("remove") | ||
.arg("[email protected].9"), @r###" | ||
.arg("[email protected].10"), @r###" | ||
success: false | ||
exit_code: 1 | ||
----- stdout ----- | ||
----- stderr ----- | ||
error: toolchain [email protected].9 is still in use by tool pycowsay | ||
error: toolchain [email protected].10 is still in use by tool pycowsay | ||
"###); | ||
|
||
rye_cmd_snapshot!( | ||
|