Skip to content

Commit

Permalink
Keep attrs 21 away from Python 3.4 on CI
Browse files Browse the repository at this point in the history
The attrs release 21 is incompatible with Python 3.4 and while yanked, the
pip that would be around with Python 3.4 doesn't understand yanking and
so installs it anyway.

See python-attrs/attrs#807
  • Loading branch information
llimeht committed Oct 28, 2021
1 parent aff02c4 commit 0607fe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -9,6 +9,7 @@ jobs:
include:
- python: '3.4'
polib: 'polib==1.0'
attrs: '"attrs<21"'
os: ubuntu-18.04
- python: '3.5'
os: ubuntu-18.04
Expand Down Expand Up @@ -37,7 +38,7 @@ jobs:
python3 -m pip install rply
- name: run tests
run: |
python3 -m pip install pytest
python3 -m pip install pytest ${{matrix.attrs || 'attrs'}}
tests/run-tests -v
- name: check docs
run: |
Expand Down

0 comments on commit 0607fe8

Please sign in to comment.