Skip to content
Open
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
48 changes: 35 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
version: 2
jobs:
test_py38:

test_py39:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.8
- image: cimg/python:3.9
steps:
- checkout
- run:
Expand All @@ -15,15 +16,15 @@ jobs:
pip install ".[test]"
- run:
name: tests
command: venv/bin/tox -f py38
command: venv/bin/tox -f py39
- run:
name: flake8
command: venv/bin/tox -e flake8

test_py39:
test_py310:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.9
- image: cimg/python:3.10
steps:
- checkout
- run:
Expand All @@ -35,15 +36,15 @@ jobs:
pip install ".[test]"
- run:
name: tests
command: venv/bin/tox -f py39
command: venv/bin/tox -f py310
- run:
name: flake8
command: venv/bin/tox -e flake8

test_py310:
test_py311:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.10
- image: cimg/python:3.11
steps:
- checkout
- run:
Expand All @@ -55,15 +56,15 @@ jobs:
pip install ".[test]"
- run:
name: tests
command: venv/bin/tox -f py310
command: venv/bin/tox -f py311
- run:
name: flake8
command: venv/bin/tox -e flake8

test_py311:
test_py312:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.11
- image: cimg/python:3.12
steps:
- checkout
- run:
Expand All @@ -75,7 +76,27 @@ jobs:
pip install ".[test]"
- run:
name: tests
command: venv/bin/tox -f py311
command: venv/bin/tox -f py312
- run:
name: flake8
command: venv/bin/tox -e flake8

test_py313:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.13
steps:
- checkout
- run:
name: install dependencies
command: |
python -m venv venv
. venv/bin/activate
pip install -U pip
pip install ".[test]"
- run:
name: tests
command: venv/bin/tox -f py313
- run:
name: flake8
command: venv/bin/tox -e flake8
Expand All @@ -84,7 +105,8 @@ workflows:
version: 2
build:
jobs:
- test_py38
- test_py39
- test_py310
- test_py311
- test_py312
- test_py313
16 changes: 16 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
Changelog
=========

Unreleased
----------
Wagtail 7.0 Upgrade
* Add support for Django 5.2 (testing only)
* Add support for Wagtail 7.0 (testing only)
* Remove support for Django 5.0 (testing only)
* Remove support for Wagtail 5.2 to 6.2 (testing only)

Wagtail 6.4 Upgrade
* Add support for Django 5.0 & 5.1 (testing only)
* Add support for Wagtail 6.0 to 6.4 (testing only)
* Add support for Python 3.13 (testing only)
* Remove support for Django 3.2
* Remove support for Wagtail less than 5.2
* Remove support for Python 3.8

0.12 Release
----------

Expand Down
15 changes: 7 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
license='BSD-3-Clause',

install_requires=[
'wagtail>=4.1',
'wagtail>=6.3',
],

extras_require={
Expand All @@ -50,19 +50,18 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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',
'Framework :: Django',
'Framework :: Django :: 3',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.1',
'Framework :: Django :: 5.2',
'Framework :: Wagtail',
'Framework :: Wagtail :: 4',
'Framework :: Wagtail :: 5',
'Framework :: Wagtail :: 6',
'Framework :: Wagtail :: 7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
Expand Down
26 changes: 13 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
skipsdist = True
usedevelop = True
envlist =
py{38,39,310}-dj{32,41}-wt{41,51,52}
py311-dj41-wt{41,51,52}
py311-dj42-wt{51,52}
py{39,310,311,312}-dj{42}-wt{63,64,70}
py{310,311,312,313}-dj{51,52}-wt{63,64,70}

[testenv]
install_command = pip install -e ".[test]" -U {opts} {packages}
commands = py.test
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
deps =
dj32: django>=3.2,<4.0
dj41: django>=4.1,<4.2
dj42: django>=4.2,<4.3
wt41: wagtail>=4.1,<4.2
wt42: wagtail>=4.2,<5.0
wt50: wagtail>=5.0,<5.1
wt51: wagtail>=5.1,<5.2
wt52: wagtail>=5.2,<5.3
dj51: django>=5.1,<5.2
dj52: django>=5.2,<5.3

wt63: wagtail>=6.3,<6.4
wt64: wagtail>=6.4,<6.5
wt70: wagtail>=7.0,<7.1

[testenv:flake8]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
deps = flake8>3.7
py312: python3.12
py313: python3.13
deps = flake8>3.9
commands = flake8 wagtailautocomplete