Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Extra Fields for Django Rest Framework

Latest Changes
==============
- **Unreleased**
- `Python 3.7` is no longer supported.
- `Python 3.12` is now supported.
- `Django 5.1` and `5.2` are now supported.
- **v3.7.0**
- `psycopg` (psycopg 3) is now supported and it's used automatically instead of `psycopg2` if available.
- **v3.6.0**
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Pillow >= 6.2.1
pytest-django
pytest-cov
pytz
flake8
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author='hipo',
author_email='[email protected]',
url='https://github.com/Hipo/drf-extra-fields',
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=requirements,
classifiers=[
'Environment :: Web Environment',
Expand All @@ -37,11 +37,11 @@
'License :: OSI Approved :: BSD License',
'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',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[tox]
envlist =
flake8,
py{37,38,39,310}-drf3-django{22,32}-psycopg2
py{38,39,310}-drf3-django{22,32}-psycopg2
py{38,39,310}-drf3-django40-psycopg2
py{38,39,310,311}-drf3-django{41,42}-psycopg2
py{38,39,310,311}-drf3-django42-psycopg3
py{38,39,310,311,312}-drf3-django42-psycopg3
py{310,311,312}-drf3-django{51,52}-psycopg3

[testenv]
deps =
Expand All @@ -21,6 +22,8 @@ deps =
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django51: Django>=5.1,<5.2
django52: Django>=5.2,<5.3
drf3: djangorestframework>=3
psycopg2: psycopg2-binary
psycopg3: psycopg[binary]
Expand Down
Loading