pyoxipng-ng 10.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,213 @@
1
+ # This file is autogenerated by maturin v1.15.0
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ${{ matrix.platform.runner }}
24
+ strategy:
25
+ matrix:
26
+ platform:
27
+ - runner: ubuntu-24.04
28
+ target: x86_64
29
+ manylinux: 2_28
30
+ - runner: ubuntu-24.04
31
+ target: x86
32
+ manylinux: 2_28
33
+ - runner: ubuntu-24.04
34
+ target: aarch64
35
+ manylinux: 2_28
36
+ steps:
37
+ - uses: actions/checkout@v6
38
+ - uses: actions/setup-python@v6
39
+ with:
40
+ python-version: "3.9"
41
+ - name: Build wheels
42
+ uses: PyO3/maturin-action@v1
43
+ with:
44
+ target: ${{ matrix.platform.target }}
45
+ args: --release --out dist
46
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
47
+ manylinux: ${{ matrix.platform.manylinux || 'auto' }}
48
+ - name: Build free-threaded wheels
49
+ uses: PyO3/maturin-action@v1
50
+ with:
51
+ target: ${{ matrix.platform.target }}
52
+ args: --release --out dist -i python3.14t
53
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
54
+ manylinux: ${{ matrix.platform.manylinux || 'auto' }}
55
+ - name: Upload wheels
56
+ uses: actions/upload-artifact@v6
57
+ with:
58
+ name: wheels-linux-${{ matrix.platform.target }}
59
+ path: dist
60
+
61
+ musllinux:
62
+ runs-on: ${{ matrix.platform.runner }}
63
+ strategy:
64
+ matrix:
65
+ platform:
66
+ - runner: ubuntu-24.04
67
+ target: x86_64
68
+ - runner: ubuntu-24.04
69
+ target: x86
70
+ - runner: ubuntu-24.04
71
+ target: aarch64
72
+ steps:
73
+ - uses: actions/checkout@v6
74
+ - uses: actions/setup-python@v6
75
+ with:
76
+ python-version: "3.9"
77
+ - name: Build wheels
78
+ uses: PyO3/maturin-action@v1
79
+ with:
80
+ target: ${{ matrix.platform.target }}
81
+ args: --release --out dist
82
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
83
+ manylinux: musllinux_1_2
84
+ - name: Build free-threaded wheels
85
+ uses: PyO3/maturin-action@v1
86
+ with:
87
+ target: ${{ matrix.platform.target }}
88
+ args: --release --out dist -i python3.14t
89
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
90
+ manylinux: musllinux_1_2
91
+ - name: Upload wheels
92
+ uses: actions/upload-artifact@v6
93
+ with:
94
+ name: wheels-musllinux-${{ matrix.platform.target }}
95
+ path: dist
96
+
97
+ windows:
98
+ runs-on: ${{ matrix.platform.runner }}
99
+ strategy:
100
+ matrix:
101
+ platform:
102
+ - runner: windows-latest
103
+ target: x64
104
+ python_arch: x64
105
+ - runner: windows-latest
106
+ target: x86
107
+ python_arch: x86
108
+ - runner: windows-11-arm
109
+ target: aarch64
110
+ python_arch: arm64
111
+ steps:
112
+ - uses: actions/checkout@v6
113
+ - uses: actions/setup-python@v6
114
+ with:
115
+ python-version: "3.13"
116
+ architecture: ${{ matrix.platform.python_arch }}
117
+ - name: Build wheels
118
+ uses: PyO3/maturin-action@v1
119
+ with:
120
+ target: ${{ matrix.platform.target }}
121
+ args: --release --out dist
122
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
123
+ - uses: actions/setup-python@v6
124
+ with:
125
+ python-version: "3.14t"
126
+ architecture: ${{ matrix.platform.python_arch }}
127
+ - name: Build free-threaded wheels
128
+ uses: PyO3/maturin-action@v1
129
+ with:
130
+ target: ${{ matrix.platform.target }}
131
+ args: --release --out dist -i python3.14t
132
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
133
+ - name: Upload wheels
134
+ uses: actions/upload-artifact@v6
135
+ with:
136
+ name: wheels-windows-${{ matrix.platform.target }}
137
+ path: dist
138
+
139
+ macos:
140
+ runs-on: ${{ matrix.platform.runner }}
141
+ strategy:
142
+ matrix:
143
+ platform:
144
+ - runner: macos-15-intel
145
+ target: x86_64
146
+ - runner: macos-latest
147
+ target: aarch64
148
+ steps:
149
+ - uses: actions/checkout@v6
150
+ - uses: actions/setup-python@v6
151
+ with:
152
+ python-version: "3.9"
153
+ - name: Build wheels
154
+ uses: PyO3/maturin-action@v1
155
+ with:
156
+ target: ${{ matrix.platform.target }}
157
+ args: --release --out dist
158
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
159
+ - uses: actions/setup-python@v6
160
+ with:
161
+ python-version: "3.14t"
162
+ - name: Build free-threaded wheels
163
+ uses: PyO3/maturin-action@v1
164
+ with:
165
+ target: ${{ matrix.platform.target }}
166
+ args: --release --out dist -i python3.14t
167
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
168
+ - name: Upload wheels
169
+ uses: actions/upload-artifact@v6
170
+ with:
171
+ name: wheels-macos-${{ matrix.platform.target }}
172
+ path: dist
173
+
174
+ sdist:
175
+ runs-on: ubuntu-latest
176
+ steps:
177
+ - uses: actions/checkout@v6
178
+ - name: Build sdist
179
+ uses: PyO3/maturin-action@v1
180
+ with:
181
+ command: sdist
182
+ args: --out dist
183
+ - name: Upload sdist
184
+ uses: actions/upload-artifact@v6
185
+ with:
186
+ name: wheels-sdist
187
+ path: dist
188
+
189
+ release:
190
+ name: Release
191
+ runs-on: ubuntu-latest
192
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
193
+ needs: [linux, musllinux, windows, macos, sdist]
194
+ environment: release
195
+ permissions:
196
+ # Use to sign the release artifacts
197
+ id-token: write
198
+ # Used to upload release artifacts
199
+ contents: write
200
+ # Used to generate artifact attestation
201
+ attestations: write
202
+ steps:
203
+ - uses: actions/download-artifact@v7
204
+ - name: Generate artifact attestation
205
+ uses: actions/attest@v4
206
+ with:
207
+ subject-path: 'wheels-*/*'
208
+ - name: Install uv
209
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
210
+ uses: astral-sh/setup-uv@v7
211
+ - name: Publish to PyPI
212
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
213
+ run: uv publish --trusted-publishing always 'wheels-*/*'
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version
@@ -0,0 +1,70 @@
1
+ # Changelog
2
+
3
+ ## 9.1.1
4
+
5
+ - Updated to latest oxipng 9.1.5
6
+ - Drop Python 3.8 support
7
+
8
+ ## 9.1.0
9
+
10
+ - Deprecated: options such as `filter` that that previously supported `set`
11
+ types now expect `Sequence` types such as `list` or `tuple`. Support for `set`
12
+ will be removed in v10.
13
+ - Dropped build support for old operating systems that reached end-of-life
14
+ - Disable x86, armv7, s390x, ppc64le manylinux pip builds (breaking due to deflate dependency)
15
+ - Update to oxipng 9.1
16
+ - Update build toolchain
17
+ - Refactor internals
18
+
19
+ ## 9.0.1
20
+
21
+ - Support for Python 3.13
22
+ - Upgrade pip dependencies
23
+ - Fixed: Correct fast_evaluation argument in wrapper
24
+
25
+ ## 9.0.0
26
+
27
+ - Update to oxipng 9
28
+ - BREAKING: Removed `backup` option
29
+ - BREAKING: Removed `check` option
30
+ - BREAKING: Removed `pretend` option
31
+ - BREAKING: Removed `preserve_attrs` option
32
+ - BREAKING: Replaced `oxipng.Headers` with `oxipng.StripChunks`
33
+ - Added: `RawImage` class for optimizing raw RGBA data
34
+ - Added: `scale_16` option
35
+ - Fixed: correct `fast_evaluation` option implementation
36
+
37
+ ## 8.0.1
38
+
39
+ - Python 3.12 wheels
40
+ - Drop Python 3.7 support
41
+
42
+ ## 8.0.0
43
+
44
+ - Update to oxipng 8
45
+ - BREAKING: `interlace` option now expects `oxipng.Interlace` enum
46
+ - BREAKING: replace `alphas` option with `optimize_alpha` boolean
47
+ - Added: `check` option
48
+
49
+ ## 7.0.0
50
+
51
+ - Upgrade to oxipng 7
52
+ - BREAKING: `filter` option now expects set of `oxipng.RowFilter` enum
53
+ - BREAKING: `deflate` option now expects instance of `oxipng.Deflaters`
54
+ - Added: `fast_evaluation` option
55
+
56
+ ## 6.0.0
57
+
58
+ - Add missing alphas, strip and deflate options
59
+
60
+ ## 5.0.0
61
+
62
+ - Sync version with oxipng major releases
63
+
64
+ ## 0.2.0
65
+
66
+ - Update project metadata
67
+
68
+ ## 0.1.0
69
+
70
+ - Initial release