0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
Commit Graph

163 Commits

Author SHA1 Message Date
Matt Westcott
27b972d30f Add support for Python 3.13 2024-10-11 16:10:07 +10:00
Matt Westcott
72b965cd94 Formalise support for Django 5.1 2024-08-12 11:26:44 +01:00
Matt Westcott
a8a29201c9 Drop support for Python 3.8 2024-07-23 10:12:45 +01:00
zerolab
1be7fd5781
Formalise Django 5.0 support and drop Django < 4.2 support
Ref: https://docs.djangoproject.com/en/stable/releases/5.0/#third-party-library-support-for-older-version-of-django
2023-12-07 11:34:10 +00:00
Matt Westcott
605c9cf1a6 Drop support for Elasticsearch 5 and 6 2023-11-01 14:57:15 +00:00
Matt Westcott
bf0601bb42 Test against Django 5.0.x stable branch instead of 4.2.x 2023-10-05 11:38:45 +01:00
Matt Westcott
9c3032083b Test against Python 3.12 2023-10-05 11:35:22 +01:00
Matt Westcott
e364747bfa Install elasticsearch-py v8 for testing against Elasticsearch 8 2023-07-17 16:18:37 +01:00
Matt Westcott
5e1b12ce32 Add Elasticsearch 8 to test matrix (but keep using the v7 python library, as a baseline test) 2023-07-17 16:18:37 +01:00
zerolab
adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00
Matt Westcott
18e57574cb Formalise support for Django 4.2 2023-04-03 17:14:29 +02:00
Matt Westcott
4f36562de7 Update Github actions to test against Django stable/4.2.x 2023-01-25 16:24:23 +00:00
Matt Westcott
7705b080a0 Add formal support for Python 3.11 2022-10-26 11:01:14 +01:00
Matt Westcott
d4837edef9 Formalise support for Django 4.1 2022-08-04 13:52:33 +02:00
Matt Westcott
a0de60b1ea
Test against Django stable/4.1.x branch (#8774)
* Test against Django stable/4.1.x branch

* Use postgres 12 for stable/4.1.x
2022-06-29 10:18:41 +01:00
Matt Westcott
6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Matt Westcott
d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott
cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
Matt Westcott
b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
Matt Westcott
85c97fe87f Drop support for Django 2.2 2021-04-30 10:33:41 +01:00
Jaap Roes
f6a35c719a Test on Django 3.2, stable and main branch 2021-04-26 13:12:56 +01:00
David Beitey
67235accfc Improve database settings and docs for tests (#6585)
This change makes several improvements:

* Use in-memory SQLite database for test migrations

  The default database is SQLite but its NAME (which SQLite uses as the
  filename) was `wagtail`, which isn't valid since
  the wagtail codebase already has a `wagtail/` directory.  Trying to
  run migration creation commands
  (https://docs.wagtail.io/en/latest/contributing/developing.html#running-migrations-for-the-test-app-models)
  produced an error:

  django.db.utils.OperationalError: unable to open database file

  because of this conflict.

  This change uses an in-memory database as the default database for
  tests. If DATABASE_NAME were set to a real file name, then
  running the migration command with SQLite creates an empty db with
  this filename on running `django-admin`.

  Other non-SQLite engines continue to use the original `wagtail` name,
  meaning that the `test_wagtail` database gets created just as before.

* Modifies the default values for database USER, PASSWORD, HOST etc to
  being an empty string rather than None, to match Django's
  [defaults](https://docs.djangoproject.com/en/stable/ref/settings/#host).
  This helps avoid any potential issues when Django and database engines
  are expecting this being a string.

* Adds documentation to `developing.rst` regarding installation of
  required database modules and available environment variables for database
  connection customisation

* Normalises the DATABASE_PASSWORD tests environment variable to match
  the name in Django's database settings object
2020-12-09 15:28:44 +00:00
Matt Westcott
6e1e36256a Remove elasticsearch 2 support 2020-11-05 12:04:12 +00:00
Matt Westcott
9bec60624c Version bump mysqlclient for Django 3.1 compatibility 2020-11-02 18:40:58 +00:00
Matt Westcott
5bcfcdd315 Formalise support for Python 3.9 2020-11-02 17:29:58 +00:00
Dan Braghis
5c05fc7d8e Bump isort requirement for testing and update configuration 2020-10-16 18:56:39 +01:00
Karl Hobley
f2dfff8061 Flake8 all other Python files 2020-10-05 14:27:50 +01:00
Matt Westcott
c3475c8fdf Add USE_TZ=False test run to Travis 2020-08-26 17:02:36 +01:00
Matt Westcott
0f637a22de Add emailuser test run to Travis 2020-08-26 17:02:36 +01:00
Matt Westcott
ec8e830b78 Test against Django 3.1 final and django-rest-framework 3.11.1 2020-08-06 11:25:47 +01:00
Matt Westcott
884b055289 Update tox/travis config to test against Django 3.1 stable branch 2020-07-31 15:41:47 +01:00
Matt Westcott
4df455ea9f
Remove support for Django 2.1 (#5840) 2020-02-18 13:55:53 +00:00
Matt Westcott
c31d426910 Update tox/travis test matrix for Django 3.0 final 2019-12-17 12:43:46 +00:00
Matt Westcott
94bb595d0c Add Django stable/3.0.x to CI matrix (#5685) 2019-11-06 18:13:14 +00:00
Matt Westcott
3e98563340
Drop support for Django 2.0 (#5684) 2019-11-06 17:05:04 +00:00
Sergey Fedoseev
eab9198f4c Move flake8 config to setup.cfg 2019-10-23 18:09:07 +02:00
pySilver
0149eff66a Implements ES7 support (#5611)
* Implements ES7 support

* Linter fix

* Adds docs

* isort fix

* Fixes typo
2019-10-10 11:00:14 +01:00
Matt Westcott
000c4990b4 Test Django master against django-modelcluster master 2019-09-25 20:35:03 +01:00
Jonathan Liuti
2de92f045c Upgrade minimum 6.x release for Elasticsearch to 6.4.0
Fix doc and test on ES6 python client compat

This commit changes the statement that version < 6.3.1 of the
elasticsearch python client should be used to instead state
that 6.4.0 is fine.

It also update the tests to reflect the statement.

Initially the `update_all_types` argument has been used to work
around an issue described in:
https://github.com/wagtail/wagtail/issues/2968

This argument was removed in elasticsearch-py 6.3.1 and making
use of it was raising an error.

With 6.4.0 nothing is raising anymore.
2019-08-18 15:37:11 +10:00
Matt Westcott
6358d84fa9 Test against Python 3.8 dev build 2019-08-06 14:25:00 +01:00
Matt Westcott
a304f0f9f8 Remove support for Python 3.4 2019-04-10 17:39:53 +01:00
Matt Westcott
a3283dd7fb Formalise support for Django 2.2 2019-04-01 19:59:04 +01:00
Andy Babic
234ee703ed Test against django's stable/2.2 branch 2019-02-26 19:31:53 +00:00
Benjamin Bach
5b0f2e1a54 First positional argument for tox as test module/case path 2018-10-30 12:16:45 +00:00
Matt Westcott
33e290b82d Fix linting failures for flake8 3.6 2018-10-25 18:03:29 +01:00
Matt Westcott
83f8988058 Add python3.7 to tox/travis config 2018-10-17 18:23:35 +01:00
Matt Westcott
f56318a67b Remove Django 1.11 from CI 2018-10-17 15:30:36 +01:00
Matt Westcott
1938159083 Specify file-based sqlite db in tox 2018-08-21 17:17:03 +01:00
Matt Westcott
035353dc3d fixup! test against Django master 2018-08-14 15:43:28 +01:00