Skip to content
Closed
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
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- docs
- examples
- lint
- typecheck

env:
TOXENV: ${{ matrix.tox-environment }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
- "pypy-3.10"
- "pypy-3.11"

Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ testall:
# DOC: Run tests for the currently installed version
# Remove cgi warning when dropping support for Django 3.2.
test:
mypy --ignore-missing-imports tests/test_typing.py
python \
-b \
-X dev \
Expand All @@ -78,6 +77,9 @@ lint:
$(ISORT) --check-only --diff $(EXAMPLES_DIR) $(PACKAGE) $(SETUP_PY) $(TESTS_DIR)
check-manifest

typecheck:
mypy --ignore-missing-imports tests/test_typing.py

coverage:
$(COVERAGE) erase
$(COVERAGE) run --branch -m unittest
Expand Down
11 changes: 10 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ ChangeLog
3.3.4 (unreleased)
------------------

- Add support for Django 5.2
*New:*

- Add support for Django 5.2
- Add support for Django 6.0
- Add support for Python 3.14

*Removed:*

- Remove support for Django 5.1
- Remove support for Python 3.9


3.3.3 (2025-02-03)
Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,27 @@ classifiers =
Development Status :: 5 - Production/Stable
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Framework :: Django :: 5.2
Framework :: Django :: 6.0
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
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
Programming Language :: Python :: 3.14
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Testing
Topic :: Software Development :: Libraries :: Python Modules

[options]
packages = factory
python_requires = >=3.8
python_requires = >=3.10
install_requires =
Faker>=0.7.0

Expand Down
29 changes: 18 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,36 @@ envlist =
docs
examples
linkcheck
py{39,310,311,312,313,py39,py310,py311}
py{39,310,311,312,313}-django42-mongo-alchemy
py{py310,py311}-django42-mongo-alchemy
py{310,311,312,313}-django51-mongo-alchemy
pypy310-django51-mongo-alchemy
py310-djangomain-mongo-alchemy
typecheck
py{310,311,312,313,314,py310,py311}
py{310,311,312,py310,py311}-django42-mongo-alchemy
py{310,311,312,313,314,py310,py311}-django52-mongo-alchemy
py{312,313,314}-django60-mongo-alchemy
py{312,313,314}-djangomain-mongo-alchemy

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
pypy-3.10: pypy310
pypy-3.11: pypy311

[testenv]
deps =
mypy
alchemy: SQLAlchemy
mongo: mongoengine
mongo: mongomock
# mongomock imports pkg_resources, provided by setuptools.
mongo: setuptools>=66.1.1
django{42,51,52,main}: Pillow
py{310,311,312,313,314}: Pillow
django42: Django>=4.2,<5.0
django51: Django>=5.1,<5.2
django52: Django>=5.2,<6
djangomain: Django>5.1,<6.0
django60: Django>=6.0,<6.1
# This deliberately includes pre-releases, see `pip_pre` section below.
djangomain: Django>6.0,<7.0

setenv =
py: DJANGO_SETTINGS_MODULE=tests.djapp.settings
Expand Down Expand Up @@ -72,3 +72,10 @@ extras = dev

whitelist_externals = make
commands = make lint

[testenv:typecheck]
deps =
mypy

whitelist_externals = make
commands = make typecheck