Skip to content

Commit

Permalink
Merge pull request #3 from anx-mfischer/main
Browse files Browse the repository at this point in the history
SIANXKE-402: update python and django versions
  • Loading branch information
nezhar authored Nov 5, 2024
2 parents 311b2aa + 1dcfca9 commit 39249f3
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 22 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,28 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
django-version:
- "3.2"
- "4.0"
- "4.2"
- "5.0"
- "5.1"
drf-version:
- "3.12"
- "3.13"
- "3.14"
- "3.15"
exclude:
- python-version: "3.7"
django-version: "4.0"
- drf-version: "3.12"
django-version: "4.0"
- python-version: '3.9'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.1'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down Expand Up @@ -73,4 +77,4 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class MyViewSet(viewsets.ModelViewSet):

If your project uses an older verison of Django or Django Rest Framework, you can choose an older version of this project.

| This Project | Python Version | Django Version | Django Rest Framework |
|--------------|---------------------|----------------|-----------------------|
| 1.0.* | 3.7, 3.8, 3.9, 3.10 | 3.2, 4.0 | 3.12, 3.13 |
| This Project | Python Version | Django Version | Django Rest Framework |
|--------------|-----------------------------|----------------|------------------------|
| 1.1.* | 3.9, 3.10, 3.11, 3.12. 3.13 | 4.2, 5.0, 5.1 | 3.12, 3.13, 3.14, 3.15 |
| 1.0.* | 3.7, 3.8, 3.9, 3.10 | 3.2, 4.0 | 3.12, 3.13 |
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# TestApp dependencies

django>=3.2,<4
djangorestframework>=3.13,<4
django-filter>=21.1,<22
django-ipware>=4.0.2,<4.1
django>=4.2,<5.2
djangorestframework>=3.15,<4
django-filter>=24.3,<25
django-ipware>=7.0.1,<7.1
13 changes: 8 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,25 @@
author='Alexandra Bruckner',
author_email='[email protected]',
install_requires=[
'django>=3.2',
'djangorestframework>=3.12',
'django>=4.2',
'djangorestframework>=3.15',
'django-ipware>=4.0.2',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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',
'Programming Language :: Python :: 3.13',
],
)

0 comments on commit 39249f3

Please sign in to comment.