Skip to content

Commit

Permalink
Fix #28 -- Update Python and Django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloxnet authored and epicserve committed Dec 4, 2023
1 parent 8d61eee commit 3f8895b
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 8 deletions.
39 changes: 32 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.12'
- run: |
pip install flake8
export PYTHONPATH=`pwd`:$PYTHONPATH
Expand All @@ -22,35 +22,60 @@ jobs:
strategy:
matrix:
include:
- python-version: "3.7"
django-version: Django==3.2

- python-version: "3.8"
django-version: Django==3.2

- python-version: "3.8"
django-version: Django==4.1

- python-version: "3.8"
django-version: Django==4.2

- python-version: "3.9"
django-version: Django==3.2

- python-version: "3.9"
django-version: Django==4.1

- python-version: "3.9"
django-version: Django==4.2

- python-version: "3.10"
django-version: Django==3.2

- python-version: "3.10"
django-version: Django==4.1

- python-version: "3.10"
django-version: Django==4.2

- python-version: "3.10"
django-version: Django==5.0rc1

- python-version: "3.11"
django-version: Django==3.2

- python-version: "3.11"
django-version: Django==4.1

- python-version: "3.11"
django-version: Django==4.2

- python-version: "3.11"
django-version: Django==5.0rc1

- python-version: "3.12"
django-version: Django==4.2

- python-version: "3.12"
django-version: Django==5.0rc1

name: Run Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dist
*.egg-info
.tox
.python-version
__pycache__

# coverage
.coverage
Expand Down
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ Contributors
- Allan Mercado <mapes911@gmail.com>
- Jannis Leidel <jannis@leidel.info>
- Mjumbe Wawatu Ukweli <mjumbewu@gmail.com>
- Paolo Melchiorre <paolo@melchiorre.org>
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
CHANGELOG
=========

v3.5.0
------

- Add support for Django 4.2, 5.0
- Add support for Python 3.12
- Drop support for Python 3.7

v3.4.4
------

- Add support for Django 4.1
- Drop support for Django 2.2, 4.0
- Add support for Python 3.11
- Drop support for Python 3.6

v3.4.2
------

Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,18 @@
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)

0 comments on commit 3f8895b

Please sign in to comment.