Skip to content

Commit

Permalink
hack: use system python for py37
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa committed Jan 25, 2025
1 parent 4428baf commit cad703e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: ${{ matrix.tox-env != 'py37-core' }}
run: |
uv tool install --python-preference only-managed --python 3.12 tox --with tox-uv # we need latest uv, tox, and tox-uv
- name: Install dependencies for Python 3.7
if: ${{ matrix.tox-env == 'py37-core' }}
run: |
uv tool install --python-preference only-system tox
- name: Setup MySQL DB
run: |
sudo /etc/init.d/mysql start
Expand All @@ -46,7 +51,7 @@ jobs:
env:
TOXENV: ${{ matrix.tox-env }}
run: uvx --with tox-uv tox run
- name: Build
- name: Build for Python 3.7
if: ${{ matrix.tox-env == 'py37-core' }}
env:
TOXENV: ${{ matrix.tox-env }}
Expand Down

0 comments on commit cad703e

Please sign in to comment.