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
69 changes: 56 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,47 @@ 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

test_py314:
working_directory: ~/wagtail-autocomplete-repo
docker:
- image: cimg/python:3.14
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 py314
- run:
name: flake8
command: venv/bin/tox -e flake8
Expand All @@ -84,7 +125,9 @@ workflows:
version: 2
build:
jobs:
- test_py38
- test_py39
- test_py310
- test_py311
- test_py312
- test_py313
- test_py314
14 changes: 14 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
Changelog
=========

Unreleased
----------

Wagtail 7.2 Upgrade
* Add support for Wagtail 7.2 (testing only)
* Remove Support for Wagtail 6.4 and 7.1 (testing only)
* Add support for Python 3.14

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)

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

Expand Down
16 changes: 8 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,19 @@
'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',
'Programming Language :: Python :: 3.14',
'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
29 changes: 16 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,36 @@
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,70}
py{311,312,313}-dj{51,52}-wt{70,72}
py{314}-dj{52}-wt{72}

[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
py314: python3.14
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
wt70: wagtail>=7.0,<7.1
wt72: wagtail>=7.2,<7.3

[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
py314: python3.14
deps = flake8>3.9
commands = flake8 wagtailautocomplete
2 changes: 1 addition & 1 deletion wagtailautocomplete/static/wagtailautocomplete/dist.js

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions wagtailautocomplete/static/wagtailautocomplete/dist.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*! js-cookie v3.0.5 | MIT */

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.14.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.14.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/