Commit Graph

19559 Commits

Author SHA1 Message Date
Andrew Murray
7713df961d Removed ImageCms._set 2025-06-16 18:41:00 +10:00
Andrew Murray
f76f64a187 Renamed parameter 2025-06-16 18:40:36 +10:00
Luke Granger-Brown
54421b5f56 Check that ImageCmsProfile.__getattr__ raises AttributeError 2025-06-03 20:20:49 +01:00
Andrew Murray
f66be01bf6 Added tests 2025-06-03 20:20:49 +01:00
Luke Granger-Brown
ab75ef6629 Add typing information to ImageCmsProfile, and deprecate product_name/product_info
The _set method is no longer necessary, since we no longer compute any
attributes from the profile. In most cases, we only set the profile, and
in only one branch do we set the filename to anything non-None.

product_name/product_info were set to None at some point during what
appears to be a batch of changes for Python 3 compatibility
(ce041fd199), and never set back. Given
this, let's deprecate these and schedule them for removal in Pillow 13.
2025-06-03 20:20:49 +01:00
pre-commit-ci[bot]
070e1eba62
[pre-commit.ci] pre-commit autoupdate (#8993) 2025-06-03 14:08:24 +10:00
Andrew Murray
95603e9717
Use ImageFile.MAXBLOCK in tobytes() (#8906) 2025-06-02 20:14:11 +10:00
Andrew Murray
892fd2c2af
Removed unreachable code (#8918) 2025-06-01 15:41:48 +10:00
Hugo van Kemenade
d730e60078
Update Ubuntu CI targets (#8988) 2025-05-31 10:52:59 +02:00
Hugo van Kemenade
598066d9e1
Stop testing deprecated Windows Server 2019 runner image (#8989) 2025-05-31 07:12:50 +02:00
Andrew Murray
9327e425ba Stop testing deprecated Windows Server 2019 2025-05-31 12:02:16 +10:00
Andrew Murray
bc4138f169 ubuntu-latest now uses Ubuntu 24.04 2025-05-31 11:48:49 +10:00
仓鼠
3944db288a
Update MinGW package names (#8987) 2025-05-31 11:10:45 +10:00
wiredfool
256f6ea1c1
Valgrind Memory Leak Checking (#8954) 2025-05-30 14:28:40 +01:00
wiredfool
f34b4a1806
Add parallel test target, using pytest-xdist (#8972) 2025-05-30 13:28:09 +01:00
wiredfool
0ba69613c9
Add support for flat uint8 arrow arrays for multi channel images (#8908) 2025-05-30 13:11:09 +01:00
wiredfool
22d6265063
Updated docstring (#8943) 2025-05-30 13:06:47 +01:00
wiredfool
e16f387bdf
Mention that tobytes() with the raw encoder uses Pack.c (#8878) 2025-05-30 13:01:19 +01:00
wiredfool
506691729a
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:40:35 +01:00
wiredfool
399b6c1045
Update Makefile
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:40:07 +01:00
wiredfool
98cf15e9e4
Update depends/docker-test-valgrind-memory.sh
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:35:13 +01:00
wiredfool
6a60b2e6dd Remove Tests/ path arg, this is already configured 2025-05-30 10:27:11 +01:00
Andrew Murray
5b854b2332 Merge branch 'main' into valgrind-leakcheck 2025-05-28 08:27:57 +10:00
Andrew Murray
5a04b9581b
Run slow tests on valgrind, but without timeout (#8975) 2025-05-28 08:20:35 +10:00
Hugo van Kemenade
06e618c470
Removed CMAKE_POLICY_VERSION_MINIMUM=3.5 for libavif (#8973) 2025-05-27 17:18:20 +03:00
Hugo van Kemenade
90f115cd33
Reduced number of bytes read in WMF header (#8964) 2025-05-27 17:17:15 +03:00
Hugo van Kemenade
086e05f42f
Do not build against libavif < 1 (#8969) 2025-05-25 23:29:21 +03:00
Hugo van Kemenade
bce93319a9
Updated libpng to 1.6.48 (#8940) 2025-05-25 14:14:56 +03:00
Andrew Murray
6096f335c1
Merge branch 'main' into valgrind-leakcheck 2025-05-24 15:41:48 +10:00
Andrew Murray
bcf1f85b30
Merge branch 'main' into parallel-test 2025-05-24 12:03:59 +10:00
Andrew Murray
57b77bde96 Removed CMAKE_POLICY_VERSION_MINIMUM=3.5 2025-05-24 11:55:18 +10:00
Andrew Murray
a4f477565a
Merge branch 'main' into fix_arrow_8907 2025-05-24 10:34:05 +10:00
Andrew Murray
5c2cabfa6c
Merge branch 'main' into avif 2025-05-24 10:30:29 +10:00
Andrew Murray
4eb89f8e5b Reduced number of bytes read for header 2025-05-24 10:24:42 +10:00
Andrew Murray
e018dc99fa Updated libpng to 1.6.48 2025-05-24 08:51:51 +10:00
Hugo van Kemenade
7e4d8e2f55
Updated Ghostscript to 10.5.1 (#8939) 2025-05-23 19:17:35 +03:00
Hugo van Kemenade
038ca7f3cc
Updated harfbuzz to 11.2.1 (#8937) 2025-05-23 19:17:23 +03:00
Hugo van Kemenade
97aa25ac6b
Updated libavif to 1.3.0 (#8949) 2025-05-23 19:17:07 +03:00
Eric Soroos
4d0678ca33 Add parallel test target, using pytest-xdist 2025-05-23 16:35:57 +02:00
pre-commit-ci[bot]
c63db77db3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-23 13:37:05 +00:00
Eric Soroos
60a1a20536 add timeouts to two more tests 2025-05-23 15:35:23 +02:00
wiredfool
edfc2caf62 Merge radarhere/fix_arrow_8907
* edit of elt typ
2025-05-23 11:04:55 +01:00
Andrew Murray
6807bd3d70 Added type hints 2025-05-23 11:04:08 +01:00
wiredfool
9526d949b0
Update Tests/test_pyarrow.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-23 10:58:28 +01:00
wiredfool
2603a249df
Update depends/docker-test-valgrind-memory.sh
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-23 10:57:03 +01:00
Andrew Murray
7824d2f8c6 Update rust when building libavif 2025-05-23 08:48:38 +10:00
Andrew Murray
45d1c4162b Do not build against libavif < 1 2025-05-22 15:55:43 +10:00
pre-commit-ci[bot]
c35082b619 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-17 08:48:02 +00:00
Eric Soroos
20b49a332b Remove timeout as the specific reason,
pytest-timeout doesn't raise a timeout error.
2025-05-17 10:45:43 +02:00
Eric Soroos
ff50e30d3e Fix memory leak in text_layout_raqm on 0 length string 2025-05-16 12:47:22 +02:00