Skip to content

Commit

Permalink
Merge branch 'astral-sh:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChen0823 authored Mar 30, 2024
2 parents 3fea9b6 + 5440506 commit b97402a
Show file tree
Hide file tree
Showing 71 changed files with 2,471 additions and 858 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Clippy

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
build:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/python-format.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Python format

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
format:
Expand All @@ -9,6 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: eifinger/setup-rye@v1
- uses: eifinger/setup-rye@v2
- name: Rye fmt
run: rye fmt --check
8 changes: 6 additions & 2 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Python lint

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
lint:
Expand All @@ -9,6 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: eifinger/setup-rye@v1
- uses: eifinger/setup-rye@v2
- name: Rye lint
run: rye lint
6 changes: 5 additions & 1 deletion .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Rustfmt

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Spelling

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
typos:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-python-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rye
uses: eifinger/setup-rye@v1
uses: eifinger/setup-rye@v2
with:
enable-cache: true
- name: Sync Python Releases
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-uv-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rye
uses: eifinger/setup-rye@v1
uses: eifinger/setup-rye@v2
with:
enable-cache: true
- name: Sync UV Releases
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Tests

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
test-latest-linux:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ site
__pycache__
.idea
token.txt
dist
90 changes: 88 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,102 @@
This file contains tracks the changes landing in Rye. It includes changes
that were not yet released.

## 0.28.0
## 0.33.0

_Unreleased_

<!-- released start -->

## 0.32.0

Released on 2024-03-29

- Update uv to 0.1.26. #924

- Always create `.gitignore` file in `rye init`. #919

- Prevent `rye fetch --force` from removing a target directory that is not a Python installation. #921

- `rye list` always prints the currently installed packages even this project is not managed by Rye. #940

- Fix error on using -v or -q with `rye fmt` or `rye lint`. #959

- Fix rye fetch detection of registered toolchain. #931

- Ignore build-system configuration for virtual projects. #929

## 0.31.0

Released on 2024-03-22

- Update uv to 0.1.23. #916

- Allow `rye publish` working outside of project. #910

- `rye test --quiet` no longer implies `--no-capture`. #915

- Rye now can be used to fetch Python installations even when not using Rye
and build infos are no longer included by default. This means that rather
than having interpreters at `~/.rye/py/[email protected]/install/bin/python3`
it will now reside at `~/.rye/py/[email protected]/bin/python3`. #917

- Installer now recommends `uv` over `pip-tools`. #918

## 0.30.0

Released on 2024-03-19

- Update uv to 0.1.21. #884, #890, #904

- Fix incorrect flag passing of `rye test` `-q` and `-v`. #880

- Rye now loads `.env` files. This applies both for Rye's own
use of environment variables but also to scripts launched via
`run`. #894

- Fix `rye add m --path ./m` causing a panic on windows. #897

## 0.29.0

Released on 2024-03-11

- Updated to `uv` 0.1.17. #850, #867

- Trap panics and silence bad pipe errors. #862

- Updating `rye` will now also ensure that the self-venv is updated. Previously
this was deferred until the next `sync`. #863

- The `self update` command now accepts `--branch`. #864

- Fixed an issue that caused pip-tools to not update. #865

- Updates `build` and `certifi`. #866

## 0.28.0

Released on 2024-03-07

- `--skip-existing` is now available with Rye's `publish` command. #831

- Bumped `uv` to 0.1.15. #760, #820, #837

- Bumped `ruff` to 0.3.0. #821

- The `init` command now generates a script with the name of the
project rather than `hello`. #801

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

<!-- released start -->
- Fixed a bug that caused repeated syncs not to recall all previous options. #830

- Report `self-python` version in `--version`. #843

- Fixes a bug where `rye config` would not create the `RYE_HOME` folder if needed. #844

- `rye add` now retains version and URL for the requirements when `uv` is used. #846

- Added a `rye test` command which invokes `pytest`. #847

## 0.27.0

Expand Down
Loading

0 comments on commit b97402a

Please sign in to comment.