Skip to content

Commit

Permalink
Pick 3.11 by default as internal Python
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jun 21, 2023
1 parent efa5ee1 commit 68c1b77
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ that were not yet released.

_Unreleased_

- The internal Rye Python version is now 3.11.

- Rye now emits most messages, most of the time to stdout rather than stderr. #342

- `rye add` now accepts `--pin` to let one override the type of pin to use. #341
Expand Down
7 changes: 7 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
# all-features: false

-e file:.
-e file:py
blinker==1.6.2
certifi==2023.5.7
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
flask==2.3.2
ghp-import==2.1.0
idna==3.4
itsdangerous==2.1.2
jaraco-classes==3.2.3
jinja2==3.1.2
markdown==3.3.7
markupsafe==2.1.2
Expand All @@ -24,6 +29,7 @@ mkdocs-material==9.1.12
mkdocs-material-extensions==1.1.1
mkdocs-simple-hooks==0.1.5
mkdocs-version-annotations==1.0.0
more-itertools==9.1.0
packaging==23.1
pygments==2.15.1
pymdown-extensions==9.11
Expand All @@ -35,3 +41,4 @@ requests==2.30.0
six==1.16.0
urllib3==2.0.2
watchdog==3.0.0
werkzeug==2.3.6
7 changes: 7 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
# all-features: false

-e file:.
-e file:py
blinker==1.6.2
certifi==2023.5.7
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
flask==2.3.2
ghp-import==2.1.0
idna==3.4
itsdangerous==2.1.2
jaraco-classes==3.2.3
jinja2==3.1.2
markdown==3.3.7
markupsafe==2.1.2
Expand All @@ -24,6 +29,7 @@ mkdocs-material==9.1.12
mkdocs-material-extensions==1.1.1
mkdocs-simple-hooks==0.1.5
mkdocs-version-annotations==1.0.0
more-itertools==9.1.0
packaging==23.1
pygments==2.15.1
pymdown-extensions==9.11
Expand All @@ -35,3 +41,4 @@ requests==2.30.0
six==1.16.0
urllib3==2.0.2
watchdog==3.0.0
werkzeug==2.3.6
4 changes: 2 additions & 2 deletions rye/src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use crate::utils::{
pub const SELF_PYTHON_TARGET_VERSION: PythonVersionRequest = PythonVersionRequest {
kind: Some(Cow::Borrowed("cpython")),
major: 3,
minor: Some(10),
minor: Some(11),
patch: None,
suffix: None,
};
Expand Down Expand Up @@ -287,7 +287,7 @@ fn ensure_self_toolchain(output: CommandOutput) -> Result<PythonVersion, Error>
.filter(is_self_compatible_toolchain)
.collect::<Vec<_>>();

if let Some(version) = possible_versions.into_iter().min() {
if let Some(version) = possible_versions.into_iter().max() {
echo!(
"Found a compatible python version: {}",
style(&version).cyan()
Expand Down

0 comments on commit 68c1b77

Please sign in to comment.