Skip to content

Commit

Permalink
chore(ci): Fix python source job
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 23, 2025
1 parent a35e0de commit 7ce34d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
with:
python-version: 3.9
architecture: x64
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"

- run: pip3 install poetry
- run: |
cd libs/gl-client-py
poetry build --format=sdist
uv run maturin develop
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -204,17 +207,14 @@ jobs:
sudo apt-get update -qq
sudo apt-get install python3-pip
sudo pip3 install -U \
poetry \
maturin \
twine \
keyring
uv
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: __token__
run: |
cd libs/gl-client-py
twine upload \
uv tool run twine upload \
--skip-existing \
--non-interactive \
--verbose \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ gen: ${GENALL}

build-self: ensure-docker
cargo build --all
cd libs/gl-client-py; uv tool run maturin develop --uv
cd libs/gl-client-py; uv tool run maturin develop

check-all: check-rs check-self check-py check-testing-py

Expand Down

0 comments on commit 7ce34d7

Please sign in to comment.