Skip to content

Commit

Permalink
--break-system-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Apr 16, 2024
1 parent ee9bb88 commit e18e12f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ jobs:
run: |
sudo ln -s `which python3` /usr/local/bin/python
echo "PIP_INSTALL_ARGS=--break-system-packages" >> $GITHUB_ENV
type python
python -m pip install setuptools
# Python 3.12 workaround
python -m pip install --break-system-packages setuptools
- run: |
python -m pip install $PIP_INSTALL_ARGS -e . # to check if usable without test/example dependencies
python -We -c "import PyMPDATA"
Expand Down Expand Up @@ -183,8 +184,9 @@ jobs:
run: |
sudo ln -s `which python3` /usr/local/bin/python
echo "PIP_INSTALL_ARGS=--break-system-packages" >> $GITHUB_ENV
type python
python -m pip install setuptools
# Python 3.12 workaround
python -m pip install --break-system-packages setuptools
- run: python -m pip install $PIP_INSTALL_ARGS -e .[tests] ./examples
- run: python -m pip install $PIP_INSTALL_ARGS -r tests/devops_tests/requirements.txt
Expand Down

0 comments on commit e18e12f

Please sign in to comment.