Commit Graph

16538 Commits

Author SHA1 Message Date
Andrew Murray
4b308dc2bf
Merge pull request #7488 from bgilbert/jpeg-restart
Allow configuring JPEG restart marker interval on save
2023-11-14 23:42:50 +11:00
Andrew Murray
ad7fee5ed0 Use cibuildwheel 2023-11-14 23:23:46 +11:00
Hugo van Kemenade
902055fbfe
Merge pull request #7526 from akx/mount-ruffmore 2023-11-13 16:15:06 +02:00
Hugo van Kemenade
93d5f8b45b
Merge pull request #7549 from radarhere/imagefont_memory 2023-11-13 16:14:18 +02:00
Aarni Koskela
f47633a24a
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-13 09:28:01 +02:00
Hugo van Kemenade
12022fe54e
Merge pull request #7544 from hugovk/ci-sdist
Release automation: create sdist on CI
2023-11-13 08:34:04 +02:00
Andrew Murray
086ca274fa Decrement reference count for PyObject 2023-11-13 15:11:28 +11:00
Andrew Murray
25cc5afbb1
Merge pull request #7546 from hugovk/pytest-fail
Tests: Replace `assert False` with `pytest.fail()`
2023-11-13 09:58:17 +11:00
Andrew Murray
6ea08c25e3
Merge pull request #7542 from hugovk/add-fedora
Test Fedora 39
2023-11-13 09:12:56 +11:00
Hugo van Kemenade
5eea6ed633 Replace 'assert False' with pytest.fail() 2023-11-12 22:30:28 +02:00
Hugo van Kemenade
00430d0b30 Create sdist on CI 2023-11-12 20:45:19 +02:00
Hugo van Kemenade
cb485d7127 Test Fedora 39 2023-11-12 17:20:01 +02:00
Aarni Koskela
126bc44e9e Fix up most noqas
Update Tests/bench_cffi_access.py

Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
2023-11-12 13:47:52 +02:00
Hugo van Kemenade
556dd1e15c
Merge pull request #7535 from hugovk/add-3.13 2023-11-12 00:34:12 +02:00
Hugo van Kemenade
9b8c23e2dd
Merge pull request #7527 from akx/remove-commented-out-code 2023-11-11 14:32:15 +02:00
mergify[bot]
8a13bf8b93
Merge pull request #7530 from hugovk/infer-target-version
Black and Ruff infer `target-version` from `requires-python` in `pyproject.toml`
2023-11-11 08:06:31 +00:00
Andrew Murray
4b6201237b Merge branch 'main' into infer-target-version 2023-11-11 18:26:43 +11:00
Andrew Murray
aab5a2f7a5 Corrected syntax [ci skip] 2023-11-11 18:08:49 +11:00
Hugo van Kemenade
c3fb0de43f
Merge pull request #106 from radarhere/infer-target-version
Black infers target-version from requires-python in pyproject.toml
2023-11-11 08:48:13 +02:00
Andrew Murray
548eeea488 Black infers target-version from requires-python in pyproject.toml 2023-11-11 16:49:04 +11:00
Andrew Murray
0cf60657d2 Update CHANGES.rst [ci skip] 2023-11-11 16:23:46 +11:00
Andrew Murray
bf76320444
Merge pull request #7491 from bgilbert/jpeg-tables-only
Implement `streamtype=1` option for tables-only JPEG encoding
2023-11-11 16:06:34 +11:00
Andrew Murray
b23b8079e6
Merge pull request #7507 from stefan6419846/freetype2
DOC: Add missing sections to FREETYPE2.txt
2023-11-11 16:02:49 +11:00
Andrew Murray
1952790e3f
Merge pull request #7513 from radarhere/xz
Updated xz to 5.4.5
2023-11-11 15:47:48 +11:00
Hugo van Kemenade
9b88cf5ad9 #ifdef _UNISTD_H -> HAVE_UNISTD_H 2023-11-08 18:48:40 +02:00
Hugo van Kemenade
95eef25aca Fix for Python 3.13: explicitly include unistd.h 2023-11-08 17:52:43 +02:00
Hugo van Kemenade
dcc66597f0 Test Python 3.13 pre-release 2023-11-08 17:52:43 +02:00
Hugo van Kemenade
a7fe25df53
Merge pull request #7522 from radarhere/png_save_all 2023-11-07 11:35:24 +02:00
Hugo van Kemenade
576119ae9d Black and Ruff infer target-version from requires-python in pyproject.toml 2023-11-07 09:29:33 +02:00
Aarni Koskela
0c705692ea Remove old commented-out code 2023-11-06 21:21:07 +02:00
Hugo van Kemenade
c97d2e4c59
Merge pull request #7525 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-11-06 20:38:30 +02:00
pre-commit-ci[bot]
f8c36bfdc9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.1](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.1)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.6.8 → v0.8.1](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.8...v0.8.1)
- [github.com/tox-dev/pyproject-fmt: 1.2.0 → 1.4.1](https://github.com/tox-dev/pyproject-fmt/compare/1.2.0...1.4.1)
- [github.com/abravalheri/validate-pyproject: v0.14 → v0.15](https://github.com/abravalheri/validate-pyproject/compare/v0.14...v0.15)
2023-11-06 17:18:28 +00:00
Hugo van Kemenade
0660886c9a
Merge pull request #6966 from akx/ruff 2023-11-06 13:37:47 +02:00
Aarni Koskela
9e615b6ad3 Add noqas for UP031 2023-11-06 12:43:14 +02:00
Aarni Koskela
307d00b44d Apply ruff autofixes 2023-11-06 12:43:14 +02:00
Aarni Koskela
de6c4b09d7 Switch linting to ruff
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-06 12:43:14 +02:00
Aarni Koskela
80406a7c9b editorconfig: specify 2-space indent for TOML
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-06 12:42:44 +02:00
Hugo van Kemenade
4a7cf0551a
Merge pull request #7512 from hugovk/docs-link-exceptions
Docs: link exceptions to Python docs
2023-11-05 10:58:12 +02:00
Hugo van Kemenade
8fe20165d4
Merge pull request #105 from radarhere/docs-link-exceptions
Docs: link exceptions to Python docs
2023-11-05 07:47:01 +02:00
Andrew Murray
8cbd0b5fe0 Docs: link exceptions to Python docs 2023-11-05 12:18:38 +11:00
Andrew Murray
38be37c5f9
Merge branch 'main' into docs-link-exceptions 2023-11-03 22:29:33 +11:00
Andrew Murray
bee9c59716
Merge pull request #7520 from hugovk/CVE-2023-44271
Add CVE-2023-44271 to release notes
2023-11-03 22:28:22 +11:00
Andrew Murray
c29648ff53 If save_all PNG only has one frame, do not create animated image 2023-11-03 22:08:48 +11:00
Hugo van Kemenade
5339c1cf63 Add CVE-2023-44271 to ImageFont.MAX_STRING_LENGTH fix in release notes 2023-11-03 11:59:37 +02:00
Andrew Murray
1c2f2c79e1
Merge pull request #7509 from radarhere/olefile
Mention defusedxml and olefile in installation instructions
2023-11-03 19:16:16 +11:00
Andrew Murray
fa138155b2 Update CHANGES.rst [ci skip] 2023-11-03 19:01:22 +11:00
Andrew Murray
a5a6ca150c
Merge pull request #7493 from radarhere/frombytes
Fixed frombytes() for images with a zero dimension
2023-11-03 18:56:34 +11:00
Hugo van Kemenade
14c539e787
Merge pull request #7516 from radarhere/fedora
Removed Fedora 37
2023-11-02 09:22:07 +02:00
Andrew Murray
6b1e939027 Removed Fedora 37 2023-11-02 17:33:10 +11:00
Andrew Murray
d499f0016f
Mention defusedxml
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-02 08:21:35 +11:00