Hugo van Kemenade
1bf32ae892
Fix test ( #8996 )
2025-06-04 09:06:09 +02: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
Andrew Murray
eb0256acc0
Fixed test
2025-06-03 22:44:26 +10:00
Andrew Murray
fa7413904b
Updated ruff ID
2025-06-03 14:13:22 +10: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
Eric Soroos
b931402046
add pybind11 elsewhere so mypy can find it
2025-05-31 15:14:17 +02:00
wiredfool
2059e06005
Add parallel compile from pybind11
2025-05-31 14:46:07 +02: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
62da23bf83
Removed polygon from DRAW struct
2025-05-29 18:27:22 +10:00
Andrew Murray
fcac6e7896
Removed hasAlpha argument
2025-05-29 18:27:17 +10:00
Andrew Murray
2ee2a1496d
Simplified code
2025-05-29 18:26:09 +10:00
Andrew Murray
5000c83bcc
Use multi-phase initialization
2025-05-28 23:50:18 +10: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
Andrew Murray
bcc6e42bf8
Fixed saving MPO with more than one appended image
2025-05-27 21:08:58 +10:00
Andrew Murray
0eef5e20ef
Merge pull request #29 from wiredfool/tiff_mmap
...
Mark the image read-only in the C layer if it's created from a read only buffer
2025-05-27 09:12:43 +10:00
wiredfool
eff667a861
Mark the image read-only in the C layer if it's created from a read only buffer
2025-05-26 08:15:13 +10: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
041acf1344
Clear core image if memory mapping was used for last load
2025-05-25 15:00:47 +10: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