pyvips-binary 8.16.1__tar.gz → 8.17.1__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.
- {pyvips_binary-8.16.1/pyvips_binary.egg-info → pyvips_binary-8.17.1}/PKG-INFO +4 -3
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/README.md +1 -1
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/pyproject.toml +25 -23
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1/pyvips_binary.egg-info}/PKG-INFO +4 -3
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/setup.py +2 -13
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/LICENSE +0 -0
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/pyvips_binary.egg-info/SOURCES.txt +0 -0
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/pyvips_binary.egg-info/dependency_links.txt +0 -0
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/pyvips_binary.egg-info/requires.txt +0 -0
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/pyvips_binary.egg-info/top_level.txt +0 -0
- {pyvips_binary-8.16.1 → pyvips_binary-8.17.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvips-binary
|
|
3
|
-
Version: 8.
|
|
3
|
+
Version: 8.17.1
|
|
4
4
|
Summary: Binary distribution of libvips and dependencies for use with pyvips
|
|
5
5
|
Author-email: Kleis Auke Wolthuizen <info@kleisauke.nl>
|
|
6
6
|
License: LGPL-3.0-or-later
|
|
@@ -31,10 +31,11 @@ Requires-Python: >=3.7
|
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
33
|
Requires-Dist: cffi>=1.0.0
|
|
34
|
+
Dynamic: license-file
|
|
34
35
|
|
|
35
36
|
# pyvips-binary
|
|
36
37
|
|
|
37
|
-
[](https://github.com/kleisauke/pyvips-binary/actions)
|
|
38
39
|
[](https://pypi.org/project/pyvips-binary/)
|
|
39
40
|
|
|
40
41
|
This binary package is an optional component of [pyvips](
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pyvips-binary
|
|
2
2
|
|
|
3
|
-
[](https://github.com/kleisauke/pyvips-binary/actions)
|
|
4
4
|
[](https://pypi.org/project/pyvips-binary/)
|
|
5
5
|
|
|
6
6
|
This binary package is an optional component of [pyvips](
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
requires = [
|
|
3
3
|
# First version of setuptools to support pyproject.toml configuration
|
|
4
4
|
"setuptools>=61.0.0",
|
|
5
|
-
"wheel",
|
|
6
5
|
# Must be kept in sync with `project.dependencies`
|
|
7
6
|
"cffi>=1.0.0",
|
|
8
7
|
"pkgconfig>=1.5",
|
|
@@ -11,14 +10,15 @@ build-backend = "setuptools.build_meta"
|
|
|
11
10
|
|
|
12
11
|
[project]
|
|
13
12
|
name = "pyvips-binary"
|
|
14
|
-
# Must be kept in sync with
|
|
15
|
-
version = "8.
|
|
13
|
+
# Must be kept in sync with scripts/download-vips.py
|
|
14
|
+
version = "8.17.1"
|
|
16
15
|
authors = [
|
|
17
16
|
{name = "Kleis Auke Wolthuizen", email = "info@kleisauke.nl"},
|
|
18
17
|
]
|
|
19
18
|
description = "Binary distribution of libvips and dependencies for use with pyvips"
|
|
20
19
|
readme = "README.md"
|
|
21
20
|
license = {text = "LGPL-3.0-or-later"}
|
|
21
|
+
# Must be kept in sync with setup.py
|
|
22
22
|
requires-python = ">=3.7"
|
|
23
23
|
classifiers = [
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
@@ -62,15 +62,10 @@ exclude = [
|
|
|
62
62
|
]
|
|
63
63
|
|
|
64
64
|
[tool.cibuildwheel]
|
|
65
|
-
#
|
|
66
|
-
|
|
67
|
-
build = [
|
|
68
|
-
"cp37-*",
|
|
69
|
-
"cp38-macosx_arm64",
|
|
70
|
-
]
|
|
65
|
+
# Our wheels are ABI3, so building with CPython 3.13 is safe
|
|
66
|
+
build = "cp313-*"
|
|
71
67
|
# https://github.com/lovell/sharp-libvips/issues/59
|
|
72
|
-
skip = "
|
|
73
|
-
build-frontend = "build"
|
|
68
|
+
skip = "cp313-musllinux_armv7l"
|
|
74
69
|
before-build = "bash {package}/scripts/cibw_before_build.sh"
|
|
75
70
|
test-command = "python -c \"import _libvips; assert _libvips.lib.vips_version(0) == 8\""
|
|
76
71
|
environment-pass = ["RUNNER_OS"]
|
|
@@ -83,27 +78,34 @@ MACOSX_DEPLOYMENT_TARGET = "10.15"
|
|
|
83
78
|
|
|
84
79
|
[tool.cibuildwheel.linux]
|
|
85
80
|
archs = "x86_64 aarch64 armv7l"
|
|
86
|
-
|
|
87
|
-
|
|
81
|
+
# Use abi3audit to catch issues with Limited API wheels
|
|
82
|
+
repair-wheel-command = [
|
|
83
|
+
"auditwheel repair -w {dest_dir} {wheel}",
|
|
84
|
+
"pipx run abi3audit --strict --report {wheel}",
|
|
85
|
+
]
|
|
88
86
|
|
|
89
87
|
[[tool.cibuildwheel.overrides]]
|
|
90
88
|
select = "*-musllinux*"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
auditwheel repair -w {dest_dir} {wheel}
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
repair-wheel-command = [
|
|
90
|
+
# Exclude a couple of system libraries from grafting into the resulting wheel
|
|
91
|
+
"auditwheel repair -w {dest_dir} {wheel} --exclude libc.so --exclude libstdc++.so.6 --exclude libgcc_s.so.1",
|
|
92
|
+
"pipx run abi3audit --strict --report {wheel}",
|
|
93
|
+
]
|
|
96
94
|
|
|
97
95
|
[tool.cibuildwheel.macos]
|
|
98
96
|
archs = "x86_64 arm64"
|
|
99
97
|
# https://github.com/pypa/cibuildwheel/pull/1169
|
|
100
98
|
test-skip = "*-macosx_arm64"
|
|
99
|
+
repair-wheel-command = [
|
|
100
|
+
"delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}",
|
|
101
|
+
"pipx run abi3audit --strict --report {wheel}",
|
|
102
|
+
]
|
|
101
103
|
|
|
102
104
|
[tool.cibuildwheel.windows]
|
|
103
|
-
archs = "AMD64 x86"
|
|
105
|
+
archs = "AMD64 x86 ARM64"
|
|
104
106
|
# Use delvewheel on Windows
|
|
105
107
|
before-all = "pip install delvewheel"
|
|
106
|
-
repair-wheel-command =
|
|
107
|
-
delvewheel repair -w {dest_dir} {wheel}
|
|
108
|
-
--
|
|
109
|
-
|
|
108
|
+
repair-wheel-command = [
|
|
109
|
+
"delvewheel repair -w {dest_dir} {wheel} --add-path ./tmp/lib --no-diagnostic",
|
|
110
|
+
"pipx run abi3audit --strict --report {wheel}",
|
|
111
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyvips-binary
|
|
3
|
-
Version: 8.
|
|
3
|
+
Version: 8.17.1
|
|
4
4
|
Summary: Binary distribution of libvips and dependencies for use with pyvips
|
|
5
5
|
Author-email: Kleis Auke Wolthuizen <info@kleisauke.nl>
|
|
6
6
|
License: LGPL-3.0-or-later
|
|
@@ -31,10 +31,11 @@ Requires-Python: >=3.7
|
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
33
|
Requires-Dist: cffi>=1.0.0
|
|
34
|
+
Dynamic: license-file
|
|
34
35
|
|
|
35
36
|
# pyvips-binary
|
|
36
37
|
|
|
37
|
-
[](https://github.com/kleisauke/pyvips-binary/actions)
|
|
38
39
|
[](https://pypi.org/project/pyvips-binary/)
|
|
39
40
|
|
|
40
41
|
This binary package is an optional component of [pyvips](
|
|
@@ -2,7 +2,6 @@ import sys
|
|
|
2
2
|
|
|
3
3
|
from os import path
|
|
4
4
|
from setuptools import setup
|
|
5
|
-
from wheel.bdist_wheel import bdist_wheel
|
|
6
5
|
|
|
7
6
|
base_dir = path.dirname(__file__)
|
|
8
7
|
src_dir = path.join(base_dir, 'pyvips', 'pyvips')
|
|
@@ -12,17 +11,6 @@ src_dir = path.join(base_dir, 'pyvips', 'pyvips')
|
|
|
12
11
|
sys.path.insert(0, src_dir)
|
|
13
12
|
|
|
14
13
|
|
|
15
|
-
class bdist_wheel_abi3(bdist_wheel):
|
|
16
|
-
def get_tag(self):
|
|
17
|
-
python, abi, plat = super().get_tag()
|
|
18
|
-
|
|
19
|
-
if python.startswith('cp'):
|
|
20
|
-
# on CPython, our wheels are abi3 and compatible back to 3.7
|
|
21
|
-
return 'cp37', 'abi3', plat
|
|
22
|
-
|
|
23
|
-
return python, abi, plat
|
|
24
|
-
|
|
25
|
-
|
|
26
14
|
if 'bdist_wheel' in sys.argv:
|
|
27
15
|
cffi_modules = ['pyvips/pyvips/pyvips_build.py:ffibuilder']
|
|
28
16
|
else:
|
|
@@ -30,5 +18,6 @@ else:
|
|
|
30
18
|
|
|
31
19
|
setup(
|
|
32
20
|
cffi_modules=cffi_modules,
|
|
33
|
-
|
|
21
|
+
# Must be kept in sync with `requires-python` in pyproject.toml
|
|
22
|
+
options={'bdist_wheel': {'py_limited_api': f'cp37'}},
|
|
34
23
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|