Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwald committed Jan 22, 2025
1 parent 025c046 commit e0650f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install pipenv
run: |
echo "${{ matrix.python }}"
VERSION_IF_GT_12=$(printf '%s\n' "${{ matrix.python }}" "3.12" | sort -V | tail -n1)
echo $VERSION_IF_GT_12
if [[ $(printf '%s\n' "${{ matrix.python }}" "3.12" | sort -V | tail -n1) = "${{ matrix.python }}" ]]; then
if [[ "${{ matrix.python }}" = "3.12" ]] || [[ "${{ matrix.python }}" = "3.11" ]]; then
# needed for numpy
python -m pip install --no-cache-dir --upgrade pipenv==2024.4.0
else
Expand All @@ -103,7 +100,8 @@ jobs:
pipenv --rm || true
pipenv --python ${{ matrix.python }}
if [[ $(printf '%s\n' "${{ matrix.python }}" "3.12" | sort -V | tail -n1) = "${{ matrix.python }}" ]]; then
if [[ "${{ matrix.python }}" = "3.12" ]] || [[ "${{ matrix.python }}" = "3.11" ]]; then
echo "patching >3.12 issues"
pipenv install setuptools
# needed for numpy
pipenv install --skip-lock --dev -v
Expand Down

0 comments on commit e0650f7

Please sign in to comment.