Skip to content

Commit

Permalink
macos-14 pip install with --ignore-requires-python for pyside6 6.6.3 …
Browse files Browse the repository at this point in the history
…for Python 3.13
  • Loading branch information
yungyuc committed Oct 22, 2024
1 parent 180e911 commit 9c7c698
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/devbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,19 @@ jobs:
run: |
echo "which python3: $(which python3)"
ls -al $(which python3)
if [ "${{ matrix.os }}" == "macos-13" ] || [ "${{ matrix.os }}" == "macos-14" ] ; then
if [ "${{ matrix.os }}" == "macos-13" ] ; then
# suppress the warning of pip because brew forces PEP668 since python3.12
python3 -m pip -v install --upgrade setuptools --break-system-packages
python3 -m pip -v install --upgrade pip --break-system-packages
python3 -m pip -v install --upgrade numpy pytest flake8 jsonschema --break-system-packages
python3 -m pip -v install --upgrade pyside6==$(qmake -query QT_VERSION) --break-system-packages
elif [ "${{ matrix.os }}" == "macos-14" ] ; then
python3 -m pip -v install --upgrade setuptools
python3 -m pip -v install --upgrade pip
python3 -m pip -v install --upgrade numpy pytest flake8 jsonschema
# For now (2024/10/22), pyside6 6.6.3 does not support Python 3.13.
# Use --ignore-requires-python to force installation.
python3 -m pip -v install --upgrade pyside6==$(qmake -query QT_VERSION) --break-system-packages --ignore-requires-python
else
python3 -m pip -v install --upgrade setuptools
python3 -m pip -v install --upgrade pip
Expand Down

0 comments on commit 9c7c698

Please sign in to comment.