Skip to content

Commit

Permalink
Merge pull request #363 from rollbar/wj-twisted-ci
Browse files Browse the repository at this point in the history
Update CI dependencies for Twisted framework
  • Loading branch information
pawelsz-rb authored Jan 25, 2021
2 parents 8d116a3 + 94a1e42 commit fdd64d9
Showing 1 changed file with 58 additions and 11 deletions.
69 changes: 58 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
- FLASK_VERSION=0.11.1
- FLASK_VERSION=0.12.4
- FLASK_VERSION=1.0.2
- TWISTED_VERSION=15.5.0
- TWISTED_VERSION=16.1.0
- TWISTED_VERSION=16.2.0
- TWISTED_VERSION=16.3.0
- TWISTED_VERSION=16.4.0
- TWISTED_VERSION=16.5.0
- TWISTED_VERSION=16.6.0
- TWISTED_VERSION=17.1.0
- TWISTED_VERSION=15.5.0 treq==15.1.0
- TWISTED_VERSION=16.1.0 treq==16.12.0
- TWISTED_VERSION=16.2.0 treq==16.12.0
- TWISTED_VERSION=16.3.0 treq==16.12.0
- TWISTED_VERSION=16.4.0 treq==17.8.0
- TWISTED_VERSION=16.5.0 treq==17.8.0
- TWISTED_VERSION=16.6.0 treq==17.8.0
- TWISTED_VERSION=17.1.0 treq==20.4.1
- DJANGO_VERSION=1.11.20
- DJANGO_VERSION=2.0.13
- DJANGO_VERSION=2.1.7
Expand All @@ -48,6 +48,44 @@ jobs:
framework: DJANGO_VERSION=2.1.15
- python-version: 3.7
framework: DJANGO_VERSION=2.1.15

# twisted/treq setup.py allows:
# Twisted < 18.7.0 on python < 3.7
# Twisted >= 18.7.0 on python >= 3.7
# So we put twisted < 18.x in the matrix
# and disallow python 3.7 and 3.8 here.
- python-version: 3.7
framework: TWISTED_VERSION=15.5.0 treq==15.1.0
- python-version: 3.7
framework: TWISTED_VERSION=16.1.0 treq==16.12.0
- python-version: 3.7
framework: TWISTED_VERSION=16.2.0 treq==16.12.0
- python-version: 3.7
framework: TWISTED_VERSION=16.3.0 treq==16.12.0
- python-version: 3.7
framework: TWISTED_VERSION=16.4.0 treq==17.8.0
- python-version: 3.7
framework: TWISTED_VERSION=16.5.0 treq==17.8.0
- python-version: 3.7
framework: TWISTED_VERSION=16.6.0 treq==17.8.0
- python-version: 3.7
framework: TWISTED_VERSION=17.1.0 treq==20.4.1
- python-version: 3.8
framework: TWISTED_VERSION=15.5.0 treq==15.1.0
- python-version: 3.8
framework: TWISTED_VERSION=16.1.0 treq==16.12.0
- python-version: 3.8
framework: TWISTED_VERSION=16.2.0 treq==16.12.0
- python-version: 3.8
framework: TWISTED_VERSION=16.3.0 treq==16.12.0
- python-version: 3.8
framework: TWISTED_VERSION=16.4.0 treq==17.8.0
- python-version: 3.8
framework: TWISTED_VERSION=16.5.0 treq==17.8.0
- python-version: 3.8
framework: TWISTED_VERSION=16.6.0 treq==17.8.0
- python-version: 3.8
framework: TWISTED_VERSION=17.1.0 treq==20.4.1
include:
- python-version: 2.7
framework: FLASK_VERSION=0.9
Expand Down Expand Up @@ -77,9 +115,18 @@ jobs:
framework: DJANGO_VERSION=1.9.13
- python-version: 3.5
framework: DJANGO_VERSION=1.10.8
- python-version: 3.7
framework: TWISTED_VERSION=18.9.0 treq==20.4.1
- python-version: 3.7
framework: TWISTED_VERSION=19.10.0 treq==20.4.1
- python-version: 3.7
framework: TWISTED_VERSION=20.3.0 treq==20.4.1
- python-version: 3.8
framework: TWISTED_VERSION=20.3.0

framework: TWISTED_VERSION=18.9.0 treq==20.4.1
- python-version: 3.8
framework: TWISTED_VERSION=19.10.0 treq==20.4.1
- python-version: 3.8
framework: TWISTED_VERSION=20.3.0 treq==20.4.1
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -106,7 +153,7 @@ jobs:

- name: Install Twisted
if: ${{ contains(matrix.framework, 'TWISTED_VERSION') }}
run: pip install Twisted==$TWISTED_VERSION treq==20.4.1
run: pip install Twisted==$TWISTED_VERSION idna==2.10

- name: Install Django
if: ${{ contains(matrix.framework, 'DJANGO_VERSION') }}
Expand Down

0 comments on commit fdd64d9

Please sign in to comment.