Skip to content

Commit

Permalink
Fix py-requirements.sh for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Oct 31, 2024
1 parent 6ba8a3d commit 146c245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/py-requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
set -e -u

pip install -U pip
if [ "$(python -c 'import sys; print(sys.version_info >= (3, 12))')" == "True" ]; then
if [ "$(python -c 'import sys; print(sys.version_info >= (3, 13))')" == "True" ]; then
pip install -r requirements-3.13.txt
elif [ "$(python -c 'import sys; print(sys.version_info >= (3, 12))')" == "True" ]; then
pip install -r requirements-3.12.txt
else
pip install -r requirements.txt
Expand Down

0 comments on commit 146c245

Please sign in to comment.