Skip to content

Commit 9212eaa

Browse files
can we use setup-python for sdist tests?
1 parent 5b95018 commit 9212eaa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ jobs:
5757
image: "ghcr.io/osgeo/gdal:ubuntu-small-3.9.2"
5858

5959
steps:
60-
- name: Install packages
61-
run: |
62-
apt-get update && apt-get install -y build-essential python3-dev
60+
- name: Set up Python
61+
uses: actions/setup-python@v5
62+
with:
63+
python-version: "3.12"
6364

6465
- name: Create virtual environment
6566
# install uv and use it to create a virtual environment, then add it to
@@ -90,7 +91,6 @@ jobs:
9091
shell: bash
9192
# virtual environment is automatically activated
9293
run: |
93-
cd ..
9494
uv run python -c "import pyogrio; print(f'GDAL version: {pyogrio.__gdal_version__}\nGEOS version: {pyogrio.__gdal_geos_version__}')"
9595
uv run python -m pytest --pyargs pyogrio.tests -v
9696

0 commit comments

Comments
 (0)