Skip to content

Commit b80b30d

Browse files
authored
Merge branch 'main' into png_iccp
2 parents 383ac4f + bebf038 commit b80b30d

23 files changed

Lines changed: 121 additions & 45 deletions

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ init:
66
# Uncomment previous line to get RDP access during the build.
77

88
environment:
9+
COVERAGE_CORE: sysmon
910
EXECUTABLE: python.exe
1011
TEST_OPTIONS:
1112
DEPLOY: YES

.github/workflows/test-cygwin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ concurrency:
2626
group: ${{ github.workflow }}-${{ github.ref }}
2727
cancel-in-progress: true
2828

29+
env:
30+
COVERAGE_CORE: sysmon
31+
2932
jobs:
3033
build:
3134
runs-on: windows-latest

.github/workflows/test-mingw.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ concurrency:
2626
group: ${{ github.workflow }}-${{ github.ref }}
2727
cancel-in-progress: true
2828

29+
env:
30+
COVERAGE_CORE: sysmon
31+
2932
jobs:
3033
build:
3134
runs-on: windows-latest

.github/workflows/test-windows.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ concurrency:
2626
group: ${{ github.workflow }}-${{ github.ref }}
2727
cancel-in-progress: true
2828

29+
env:
30+
COVERAGE_CORE: sysmon
31+
2932
jobs:
3033
build:
3134
runs-on: windows-latest
@@ -66,8 +69,16 @@ jobs:
6669
- name: Print build system information
6770
run: python3 .github/workflows/system-info.py
6871

69-
- name: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml olefile pyroma
70-
run: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml olefile pyroma
72+
- name: Install Python dependencies
73+
run: >
74+
python3 -m pip install
75+
coverage>=7.4.2
76+
defusedxml
77+
olefile
78+
pyroma
79+
pytest
80+
pytest-cov
81+
pytest-timeout
7182
7283
- name: Install dependencies
7384
id: install

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
env:
30+
COVERAGE_CORE: sysmon
3031
FORCE_COLOR: 1
3132

3233
jobs:

.github/workflows/wheels-dependencies.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FREETYPE_VERSION=2.13.2
1919
HARFBUZZ_VERSION=8.3.0
2020
LIBPNG_VERSION=1.6.40
2121
JPEGTURBO_VERSION=3.0.1
22-
OPENJPEG_VERSION=2.5.0
22+
OPENJPEG_VERSION=2.5.2
2323
XZ_VERSION=5.4.5
2424
TIFF_VERSION=4.6.0
2525
LCMS2_VERSION=2.16
@@ -40,7 +40,7 @@ BROTLI_VERSION=1.1.0
4040

4141
if [[ -n "$IS_MACOS" ]] && [[ "$CIBW_ARCHS" == "x86_64" ]]; then
4242
function build_openjpeg {
43-
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz openjpeg-2.5.0.tar.gz)
43+
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION}.tar.gz openjpeg-${OPENJPEG_VERSION}.tar.gz)
4444
(cd $out_dir \
4545
&& cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
4646
&& make install)
@@ -93,6 +93,9 @@ function build {
9393
done
9494
fi
9595
build_openjpeg
96+
if [ -f /usr/local/lib64/libopenjp2.so ]; then
97+
cp /usr/local/lib64/libopenjp2.so /usr/local/lib
98+
fi
9699

97100
ORIGINAL_CFLAGS=$CFLAGS
98101
CFLAGS="$CFLAGS -O3 -DNDEBUG"

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Changelog (Pillow)
55
10.3.0 (unreleased)
66
-------------------
77

8+
- Release GIL while calling ``WebPAnimDecoderGetNext`` #7782
9+
[evanmiller, radarhere]
10+
11+
- Fixed reading FLI/FLC images with a prefix chunk #7804
12+
[twolife]
13+
814
- Update wl-paste handling and return None for some errors in grabclipboard() on Linux #7745
915
[nik012003, radarhere]
1016

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ As of 2019, Pillow development is
8282
<a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img
8383
alt="Join the chat at https://gitter.im/python-pillow/Pillow"
8484
src="https://badges.gitter.im/python-pillow/Pillow.svg"></a>
85-
<a href="https://twitter.com/PythonPillow"><img
86-
alt="Follow on https://twitter.com/PythonPillow"
87-
src="https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg"></a>
8885
<a href="https://fosstodon.org/@pillow"><img
8986
alt="Follow on https://fosstodon.org/@pillow"
9087
src="https://img.shields.io/badge/publish-on%20Mastodon-595aff.svg"

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Released as needed privately to individual vendors for critical security-related
8686

8787
## Publicize Release
8888

89-
* [ ] Announce release availability via [Twitter](https://twitter.com/pythonpillow) and [Mastodon](https://fosstodon.org/@pillow) e.g. https://twitter.com/PythonPillow/status/1013789184354603010
89+
* [ ] Announce release availability via [Mastodon](https://fosstodon.org/@pillow) e.g. https://fosstodon.org/@pillow/110639450470725321
9090

9191
## Documentation
9292

Tests/images/2422.flc

14.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)