Skip to content

Commit

Permalink
Merge branch 'main' into zb/run-requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jul 23, 2024
2 parents 4f59135 + bea8bc6 commit a0fa37f
Show file tree
Hide file tree
Showing 130 changed files with 6,027 additions and 1,690 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
code:
- "**/*"
- "!docs/**/*"
- "!mkdocs.*.yml"
- "!**/*.md"
- "!bin/**"
- "!assets/**"
Expand All @@ -58,14 +59,27 @@ jobs:
- name: "Prettier"
run: npx prettier --check "**/*.{json5,yaml,yml}"

- name: "README check"
run: python scripts/transform_readme.py --target pypi

python-lint:
name: "Python lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.12

- name: "Ruff format"
run: pipx run ruff format --diff .

- name: "Ruff check"
run: pipx run ruff check .

- name: "README check"
run: python scripts/transform_readme.py --target pypi
- name: "Mypy check"
run: pipx run --python 3.12 mypy

cargo-clippy:
needs: determine_changes
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/python-build-standalone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Sync Python releases from `python-build-standalone`.
#
# Based on: https://github.com/astral-sh/rye/blob/57b7c089e494138aae29a130afb2e17f447970bf/.github/workflows/sync-python-releases.yml
name: python-build-standalone
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

permissions:
contents: write
pull-requests: write

jobs:
sync:
if: github.repository == 'astral-sh/uv'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/setup-cached-uv@v1
- name: Sync Python Releases
run: |
uv run --isolated -- fetch-download-metadata.py
uv run --isolated -- template-download-metadata.py
working-directory: ./crates/uv-python
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "Create Pull Request"
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Sync latest python-build-standalone releases"
add-paths: "crates/uv-python/src/downloads.inc"
branch: "sync-python-build-standalone"
title: "Sync python-build-standalone downloads"
body: "Automated update for python-build-standalone downloads."
base: "main"
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.2.27

### Enhancements

- Add GraalPy support ([#5141](https://github.com/astral-sh/uv/pull/5141))
- Add a `--verify-hashes` hash-checking mode ([#4007](https://github.com/astral-sh/uv/pull/4007))
- Discover all `python3.x` executables in the `PATH` ([#5148](https://github.com/astral-sh/uv/pull/5148))
- Support `--link-mode=symlink` ([#5208](https://github.com/astral-sh/uv/pull/5208))
- Warn about unconstrained direct deps in lowest resolution ([#5142](https://github.com/astral-sh/uv/pull/5142))
- Log origin of version selection ([#5186](https://github.com/astral-sh/uv/pull/5186))
- Key hash policy on version, rather than package ([#5169](https://github.com/astral-sh/uv/pull/5169))

### CLI

- Make missing project table a tracing warning ([#5194](https://github.com/astral-sh/uv/pull/5194))
- Remove trailing period from user-facing messages ([#5218](https://github.com/astral-sh/uv/pull/5218))

### Bug fixes

- Make entrypoint writes atomic to avoid overwriting symlinks ([#5165](https://github.com/astral-sh/uv/pull/5165))
- Use `which`-retrieved path directly when spawning pager ([#5198](https://github.com/astral-sh/uv/pull/5198))
- Don't apply irrelevant constraints when validating site-packages ([#5231](https://github.com/astral-sh/uv/pull/5231))
- Respect local versions for all user requirements ([#5232](https://github.com/astral-sh/uv/pull/5232))

## 0.2.26

### CLI
Expand Down
Loading

0 comments on commit a0fa37f

Please sign in to comment.