Skip to content

Commit

Permalink
Update python versions to be inline with current release schedule (#17)
Browse files Browse the repository at this point in the history
* Update python versions to be inline with current release schedule

* update ci
  • Loading branch information
MarcoGlauser authored Oct 9, 2024
1 parent e747444 commit eb07b6a
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 95 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -33,10 +33,10 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: Install pypa/build
run: python -m pip install poetry
- name: Build a binary wheel and a source tarball
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# History

## Unreleased

- Remove python 3.8 support
- Add python 3.13 support

## 0.6.0 (2024-09-10)

- Add Django 5.1 compatibility
Expand Down
142 changes: 58 additions & 84 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = 'README.md'
repository = 'https://github.com/MarcoGlauser/contentful-webhook-receiver'

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
python = ">=3.9,<3.14"
Django = ">=4.2,<5.2"
djangorestframework = "^3.0.0"

Expand Down
11 changes: 4 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[tox]
isolated_build = true
envlist =
py{38,39,310,311}-django{42}
py{39,310,311,312}-django{42}
py{310,311,312}-django{50}
py{310,311,312}-django{51}
py{310,311,312,313}-django{51}

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
allowlist_externals =
Expand All @@ -26,11 +25,9 @@ deps =
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2


basepython =
py313: python3.13
py312: python3.12
py311: python3.11
py310: python3.10
py39: python3.9
py38: python3.8
py37: python3.7

0 comments on commit eb07b6a

Please sign in to comment.