Skip to content

Commit

Permalink
chore: pin CKAN 2.9 jinja to below 3.1 as flask wants to import escap…
Browse files Browse the repository at this point in the history
…e which was removed from 3.1 onwards
  • Loading branch information
duttonw committed Dec 11, 2024
1 parent 102f35c commit 683eef5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ jobs:
# Replace default path to CKAN core config file with the one on the container
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini
- name: Pin jinja2 for ckan 2.9 only (last jinja version that had escape class)
if: ${{ matrix.ckan-version == 2.9 }}
run: pip install "jinja2<3.1"
continue-on-error: ${{ matrix.experimental }}

- name: Setup extension
continue-on-error: ${{ matrix.experimental }}
run: |
Expand Down

0 comments on commit 683eef5

Please sign in to comment.