0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 19:20:56 +01:00
Commit Graph

325 Commits

Author SHA1 Message Date
Thibaud Colas
d7ccda33f6
Update sphinx-wagtail-theme and search implementation (#12521) 2024-11-01 09:35:43 +00:00
Storm B. Heg
d404d37ba5 Extend Pillow version range to allow v11 (#12475) 2024-10-28 18:23:31 +00:00
Matt Westcott
27b972d30f Add support for Python 3.13 2024-10-11 16:10:07 +10:00
Matt Westcott
665b9a073e Update django-taggit dependency to allow 6.1.x
Fixes #12372
2024-09-30 17:34:18 +01:00
Matt Westcott
72b965cd94 Formalise support for Django 5.1 2024-08-12 11:26:44 +01:00
Matt Westcott
c7a42c4b34 Update django-taggit dependency to allow 6.0.x (#12220) 2024-08-08 16:19:41 +01:00
Sage Abdullah
dfe9638e7d Replace pytz.common_timezones with zoneinfo.available_timezones
and remove pytz dependency
2024-07-29 18:31:30 +01:00
Matt Westcott
f7fa20e600 Upgrade Sphinx to 7.3; use newer syntax for no-index directive and --fail-on-warning switch 2024-07-23 10:13:03 +01:00
Matt Westcott
a8a29201c9 Drop support for Python 3.8 2024-07-23 10:12:45 +01:00
Matt Westcott
f82f6fd2b7 Downgrade minimum version of Sphinx for Python 3.8 compatibility
In 5a8c33f34a the minimum version was set to 7.3 to allow use of the long-form `--fail-on-warning` option, but this is not compatible with Python 3.8. Revert this to the original `-W` option and set 7.0 as the minimum version.
2024-07-19 12:01:18 +01:00
Nathanaël Jourdane
5a8c33f34a doc: fix pdf export (#12076) 2024-07-19 01:27:07 +01:00
Matt Westcott
b595c06b31 Bump minimum version of django-taggit to 5.0 2024-06-10 12:33:37 +01:00
Sebastian Muthwill
e86e1caa28 bump django-filter to support 24.2 version (#11837) 2024-04-12 19:43:29 +01:00
Sage Abdullah
7a5a178022 Bump minimum version of djangorestframework to 3.15.1
We only support Django 4.2 and 5.0. DRF v3.14.0 was released on
22-09-2022, while Django 4.2 was released on 03-04-2023. This means
Django 4.2 and 5.0 support were officially introduced in DRF 3.15.0.

While our tests used to indicate our use of an older version of DRF
didn't cause any issues when installed with a newer version of Django,
we should bump this anyway. This prevents people from installing a
cached version of DRF that we "claim" to be compatible with Wagtail,
but in reality DRF itself doesn't officially support our minimum Django
version. In such cases, the installation can still proceed as DRF does
not impose an upper bound on Django.

This also fixes an issue where our tests would fail when installed with
DRF < 3.15.0 as the PermissionDenied error messages became more
specific.
2024-03-27 17:54:50 +10:00
Sage Abdullah
26c60a2238 Bump sphinx-wagtail-theme to 6.3.0 2024-03-05 07:47:11 +10:00
Jake Howard
a204baddc0 Add support for ico files 2024-02-05 15:23:08 +00:00
Jake Howard
e1e3c8efde Update tests & html whitelist to always use html.parser & remove html5lib
- It's faster, built in, and saves the complexities of swappable backends and needing to test all combinations.
- Remove additional dependency on `html5lib`
- See https://beautiful-soup-4.readthedocs.io/en/latest/index.html#installing-a-parser
2024-02-01 07:50:59 +10:00
LB Johnston
af1a736c06 Update Sphinx Wagtail Theme to v6.2.0
- Fixes favicon and Python compatibility issues
2024-01-30 23:23:43 +10:00
Neeraj P Yetheendran
d0f5c4fa7e Upgrade myst_parser to 2.0.0 2024-01-21 10:09:21 +10:00
Matt Westcott
11937a602c Bump dependencies to django-taggit>=4.0, django-modelcluster>=6.2.1 2024-01-08 13:48:59 +01:00
Matt Westcott
361c89ba9b
Upgrade sphinxcontrib-spelling to 7.x (#11407)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-01-02 13:48:04 +00:00
Sylvain Fankhauser
b62d043f70 Relax django-taggit dependency to allow 5.0 (#11363) 2024-01-02 05:32:27 +00:00
Matt Westcott
f4bcffa9fe Bump telepath to 0.3.1
This ensures that people upgrading to Django 5.0 will have a compatible version. Now that Python <3.8 and Django <3.2 are EOL, there's no reason for anyone to be running an older version.
2023-12-13 06:26:36 +10:00
Tibor Leupold
10c1e12285 Replace template components with standalone laces library (#11292)
Fixes #11105
2023-12-11 14:35:36 +00:00
Sage Abdullah
868e155c74
Relax Django upper bound in install_requires to the next major version (6.0)
This allows the more "adventurous" to update their requirements so they
can install the next latest Django version (5.1 and 5.2) even if we
haven't officially supported it. As long as we're on top of Django's
updates, this should be OK for the duration of this Wagtail release's
active support period.

However, do not update the default project template's requirements yet,
since we don't want new projects to be installed with Django versions we
haven't officially supported.
2023-12-07 11:34:10 +00: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
Dan Braghiș
e8b845f525 Relax the Willow upper version boundary
To allow getting new features easier/faster
2023-11-23 07:09:03 +10:00
John-Scott Atlakson
9a2177dc19
Upgrade ruff and replace black with ruff format 2023-11-17 15:21:55 +00:00
Sylvain Fankhauser
de70673bee Allow using draftjs_exporter 5.0 (#11024)
Fixes #10723
2023-11-08 12:58:17 +00:00
Sage Abdullah
eefb3010b4
Remove upper bound on django-pattern-library in testing dependencies 2023-11-07 10:38:48 +00:00
Matt Westcott
814c6b3865 Bump djhtml to 3.0.6 (#11158)
Notably, this changes the behaviour of multi-line HTML tags so that attributes are aligned (https://github.com/rtts/djhtml#new-multi-line-html-elements). The pre-commit hook was already set to use djhtml 3.0.6, which meant that it was making changes that conflicted with the formatting rules enforced by the Makefile and CI.
2023-10-31 10:11:02 +00:00
scott
8d68dafb0b update beautifulsoup pin (#11096) 2023-10-20 16:10:07 +01:00
Panagiotis H.M. Issaris
3340854d1a Add a link to the issue tracker on the PyPI project page (#11004) 2023-10-06 10:30:10 +01:00
Panagiotis H.M. Issaris
949c7870a7 Add a link to the change log on the PyPI project page 2023-10-06 11:00:27 +02:00
Matt Westcott
d9e6ba07b7 Version bump django-filter to 23.3 for preliminary Django 5.0 compatibility 2023-10-05 11:38:45 +01:00
Matt Westcott
93064ee74c Bump django-modelcluster to 6.1; no need to test Django 5.x against git main 2023-10-05 11:38:45 +01:00
Matt Westcott
23075cc2c7 Version bump boto3 for Python 3.12 compatibility
Relax the upper version bound to <2, because we're unlikely to stay on top of keeping the version listed in testing_extras up to date, and if boto makes breaking changes that violate semver, that's going to affect end-users so we really want to know about it sooner rather than later.
2023-10-05 11:35:22 +01:00
Matt Westcott
689c7dcbd8 Update linter versions in package.json, setup.py and pre-commit hooks 2023-09-21 17:25:08 +01:00
Jake Howard
84d744303d Bump Willow to ensure it supports SVG mimes 2023-09-14 06:20:34 +10:00
Sage Abdullah
00d329906f
Add tblib to testing dependencies
Needed to get better tracebacks when running tests in parallel.
2023-08-02 14:45:53 +01:00
LB Johnston
412b71ac1c Update Sphinx Wagtail Theme to v6.1.1 2023-07-20 07:50:33 +10:00
Matt Westcott
06df4a66e1 Skip Elasticsearch backend tests unless the appropriate version of elasticsearch-py is available
These tests seem to have been written with the intent of testing query construction independently of actually running the queries; to do this, they mock the relevant bits of elasticsearch-py so that no actual server needs to be running. However, this is a bit of a bodge job - it still instantiates the Elasticsearch object when initialising the backend, so *some* version of elasticsearch-py must be installed to run Wagtail's test suite; and furthermore, that installed version must be able to handle EVERY backend's variant of the `Elasticsearch(...)` constructor, regardless of whether it was written for a completely different version.

This breaks down with Elasticsearch 8, which makes backward-incompatible changes to the constructor. Since the CI suite as a whole will test each backend with its corresponding correct version of elasticsearch-py at some point, it's redundant (and a waste of CPU cycles) to repeat those tests in environments with a different ES version (or none at all).
2023-07-17 16:18:37 +01:00
salty-ivy
f840886b5d Add AVIF support
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
Yuekui
1ea8a0e360 Increase Pillow dependency range to include 10.x
- Drop support for Pillow versions below `9.1.0`
- Fixes #10631
2023-07-06 17:09:28 +10:00
Yuekui
a9ced69b2a Move django-filter version upper bound to 24 2023-07-06 16:52:11 +10:00
zerolab
61f0f4d362 Upgrade ruff version (#10556)
Address "Unnecessary list comprehension" issues
2023-06-19 17:49:17 +01:00
Matt Westcott
9fe13dfe9f Narrow down 'noqa' directives on imports to specify F401 / F403
This prevents them from masking unrelated linting errors such as isort order.
2023-06-13 10:36:21 +01:00
Matt Westcott
728d70e4f9 Allow django-taggit 4.x 2023-05-12 17:49:06 +01:00
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00