-
-
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.
Merge branch 'main' into migration-to-astral-docs-update
- Loading branch information
Showing
21 changed files
with
261 additions
and
118 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# For this action to work you must explicitly allow GitHub Actions to create pull requests. | ||
# This setting can be found in a repository's settings under Actions > General > Workflow permissions. | ||
# For repositories belonging to an organization, this setting can be managed by | ||
# admins in organization settings under Actions > General > Workflow permissions. | ||
name: Sync UV Releases | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
sync: | ||
if: github.repository == 'astral-sh/rye' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rye | ||
uses: eifinger/setup-rye@v1 | ||
with: | ||
enable-cache: true | ||
- name: Sync UV Releases | ||
run: make sync-uv-releases | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create PR | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: "Sync latest Python releases" | ||
add-paths: "rye/src/sources/generated/uv_downloads.inc" | ||
branch: "sync-uv-releases" | ||
title: "Sync UV Releases" | ||
body: | | ||
- Synced latest UV releases | ||
<sup>Auto-generated by [sync-uv-releases.yml](https://github.com/astral-sh/rye/blob/main/.github/workflows/sync-uv-releases.yml)</sup> |
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
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
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
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 |
---|---|---|
|
@@ -11,7 +11,8 @@ Fetch a specific version of Python: | |
$ rye fetch 3.8.13 | ||
Downloading [email protected] | ||
Checking checksum | ||
success: Downloaded [email protected] | ||
Unpacking | ||
Downloaded [email protected] | ||
``` | ||
|
||
To fetch the pinned version of Python you can leave out the argument: | ||
|
@@ -20,7 +21,8 @@ To fetch the pinned version of Python you can leave out the argument: | |
$ rye fetch | ||
Downloading [email protected] | ||
Checking checksum | ||
success: Downloaded [email protected] | ||
Unpacking | ||
Downloaded [email protected] | ||
``` | ||
|
||
## Arguments | ||
|
@@ -31,6 +33,8 @@ success: Downloaded [email protected] | |
|
||
## Options | ||
|
||
* `-f, --force`: Fetch the Python toolchain even if it is already installed. | ||
|
||
* `-v, --verbose`: Enables verbose diagnostics | ||
|
||
* `-q, --quiet`: Turns off all output | ||
|
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
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
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
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
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
Oops, something went wrong.