Skip to content

Commit b97402a

Browse files
Merge branch 'astral-sh:main' into main
2 parents 3fea9b6 + 5440506 commit b97402a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2471
-858
lines changed

.github/workflows/clippy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Clippy
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
build:

.github/workflows/python-format.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Python format
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
format:
@@ -9,6 +13,6 @@ jobs:
913
steps:
1014
- uses: actions/checkout@v4
1115

12-
- uses: eifinger/setup-rye@v1
16+
- uses: eifinger/setup-rye@v2
1317
- name: Rye fmt
1418
run: rye fmt --check

.github/workflows/python-lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Python lint
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
lint:
@@ -9,6 +13,6 @@ jobs:
913
steps:
1014
- uses: actions/checkout@v4
1115

12-
- uses: eifinger/setup-rye@v1
16+
- uses: eifinger/setup-rye@v2
1317
- name: Rye lint
1418
run: rye lint

.github/workflows/rustfmt.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Rustfmt
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
build:

.github/workflows/spelling.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Spelling
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
typos:

.github/workflows/sync-python-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Install Rye
22-
uses: eifinger/setup-rye@v1
22+
uses: eifinger/setup-rye@v2
2323
with:
2424
enable-cache: true
2525
- name: Sync Python Releases

.github/workflows/sync-uv-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Install Rye
22-
uses: eifinger/setup-rye@v1
22+
uses: eifinger/setup-rye@v2
2323
with:
2424
enable-cache: true
2525
- name: Sync UV Releases

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
48

59
jobs:
610
test-latest-linux:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ site
66
__pycache__
77
.idea
88
token.txt
9+
dist

CHANGELOG.md

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,102 @@
33
This file contains tracks the changes landing in Rye. It includes changes
44
that were not yet released.
55

6-
## 0.28.0
6+
## 0.33.0
77

88
_Unreleased_
99

10+
<!-- released start -->
11+
12+
## 0.32.0
13+
14+
Released on 2024-03-29
15+
16+
- Update uv to 0.1.26. #924
17+
18+
- Always create `.gitignore` file in `rye init`. #919
19+
20+
- Prevent `rye fetch --force` from removing a target directory that is not a Python installation. #921
21+
22+
- `rye list` always prints the currently installed packages even this project is not managed by Rye. #940
23+
24+
- Fix error on using -v or -q with `rye fmt` or `rye lint`. #959
25+
26+
- Fix rye fetch detection of registered toolchain. #931
27+
28+
- Ignore build-system configuration for virtual projects. #929
29+
30+
## 0.31.0
31+
32+
Released on 2024-03-22
33+
34+
- Update uv to 0.1.23. #916
35+
36+
- Allow `rye publish` working outside of project. #910
37+
38+
- `rye test --quiet` no longer implies `--no-capture`. #915
39+
40+
- Rye now can be used to fetch Python installations even when not using Rye
41+
and build infos are no longer included by default. This means that rather
42+
than having interpreters at `~/.rye/py/[email protected]/install/bin/python3`
43+
it will now reside at `~/.rye/py/[email protected]/bin/python3`. #917
44+
45+
- Installer now recommends `uv` over `pip-tools`. #918
46+
47+
## 0.30.0
48+
49+
Released on 2024-03-19
50+
51+
- Update uv to 0.1.21. #884, #890, #904
52+
53+
- Fix incorrect flag passing of `rye test` `-q` and `-v`. #880
54+
55+
- Rye now loads `.env` files. This applies both for Rye's own
56+
use of environment variables but also to scripts launched via
57+
`run`. #894
58+
59+
- Fix `rye add m --path ./m` causing a panic on windows. #897
60+
61+
## 0.29.0
62+
63+
Released on 2024-03-11
64+
65+
- Updated to `uv` 0.1.17. #850, #867
66+
67+
- Trap panics and silence bad pipe errors. #862
68+
69+
- Updating `rye` will now also ensure that the self-venv is updated. Previously
70+
this was deferred until the next `sync`. #863
71+
72+
- The `self update` command now accepts `--branch`. #864
73+
74+
- Fixed an issue that caused pip-tools to not update. #865
75+
76+
- Updates `build` and `certifi`. #866
77+
78+
## 0.28.0
79+
80+
Released on 2024-03-07
81+
82+
- `--skip-existing` is now available with Rye's `publish` command. #831
83+
84+
- Bumped `uv` to 0.1.15. #760, #820, #837
85+
86+
- Bumped `ruff` to 0.3.0. #821
87+
1088
- The `init` command now generates a script with the name of the
1189
project rather than `hello`. #801
1290

1391
- Retain markers when adding dependencies with features when uv is used. #807
1492

15-
<!-- released start -->
93+
- Fixed a bug that caused repeated syncs not to recall all previous options. #830
94+
95+
- Report `self-python` version in `--version`. #843
96+
97+
- Fixes a bug where `rye config` would not create the `RYE_HOME` folder if needed. #844
98+
99+
- `rye add` now retains version and URL for the requirements when `uv` is used. #846
100+
101+
- Added a `rye test` command which invokes `pytest`. #847
16102

17103
## 0.27.0
18104

0 commit comments

Comments
 (0)