Skip to content

Commit

Permalink
Add setuptools to action since not in 3.12 venv anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
jnwatson committed Jun 9, 2024
1 parent 4d716e3 commit 7d4dbcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
cffi=$LMDB_FORCE_CFFI pure=$LMDB_PURE system=$LMDB_FORCE_SYSTEM"
echo "Windows: Envs are cpython=$Env:LMDB_FORCE_CPYTHON
cffi=$Env:LMDB_FORCE_CFFI pure=$Env:LMDB_PURE system=$Env:LMDB_FORCE_SYSTEM"
python -m pip install wheel
python -m pip install setuptools wheel
# Install this separately since sometimes Github Actions can't find it
python -m pip install cffi
python -m pip install flake8 pytest patch-ng
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
python --version;
/opt/python/${{ matrix.PYTHON }}/bin/python -m venv .venv;
yum install -y libffi-devel;
.venv/bin/pip install -U pip wheel cffi six;
.venv/bin/pip install -U pip setuptools wheel cffi six;
if \[ ${{ matrix.impl }} == cpython \] ; then
echo LMDB_FORCE_CPYTHON=1
else
Expand All @@ -186,7 +186,7 @@ jobs:
cffi=$LMDB_FORCE_CFFI pure=$LMDB_PURE system=$LMDB_FORCE_SYSTEM\";
echo \"Windows: Envs are cpython=$Env:LMDB_FORCE_CPYTHON
cffi=$Env:LMDB_FORCE_CFFI pure=$Env:LMDB_PURE system=$Env:LMDB_FORCE_SYSTEM\";
.venv/bin/pip install flake8 pytest patch-ng;
.venv/bin/pip install setuptools flake8 pytest patch-ng;
/opt/python/${{ matrix.PYTHON }}/bin/python setup.py develop bdist_wheel;
ls dist;
/opt/python/${{ matrix.PYTHON }}/bin/python -m pip install pytest;
Expand Down

0 comments on commit 7d4dbcd

Please sign in to comment.