Skip to content

Commit

Permalink
Update Python versions in the CI workflow. (#590)
Browse files Browse the repository at this point in the history
* Update Python versions in the ci workflow.

* Bump `actions/setup-python` to v4.

* Pin kombu on Python 3.12. Workaround for celery/kombu#1600

* Decouple "-dev" suffix from version list.

* Update release matrix strategy.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

* Comment out 3.12 until it's fixed.

---------

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
4 people committed May 2, 2023
1 parent 77abdb0 commit b0fdea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"] # see #590 for "3.12"

steps:
- uses: actions/checkout@v3
Expand All @@ -26,6 +26,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: python3 -m pip install -U -r dev-requirements.txt
- run: pytest --cov=. --cov-report=xml
- uses: codecov/codecov-action@v3
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Expand Up @@ -7,3 +7,6 @@ redis==4.5.4
celery==5.2.7
sentry-sdk==1.21.1
click==8.1.3

# workaround for celery/kombu#1600
kombu==5.3.0b2; python_version>="3.12"

0 comments on commit b0fdea6

Please sign in to comment.