pyvips-binary 8.16.0rc2__tar.gz → 8.17.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.
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyvips-binary
3
- Version: 8.16.0rc2
3
+ Version: 8.17.0
4
4
  Summary: Binary distribution of libvips and dependencies for use with pyvips
5
5
  Author-email: Kleis Auke Wolthuizen <info@kleisauke.nl>
6
- License: MIT
6
+ License: LGPL-3.0-or-later
7
7
  Project-URL: changelog, https://github.com/kleisauke/pyvips-binary/blob/main/CHANGELOG.md
8
8
  Project-URL: funding, https://opencollective.com/libvips
9
9
  Project-URL: homepage, https://github.com/kleisauke/pyvips-binary
@@ -15,7 +15,7 @@ Classifier: Intended Audience :: Developers
15
15
  Classifier: Intended Audience :: Science/Research
16
16
  Classifier: Topic :: Multimedia :: Graphics
17
17
  Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
18
- Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
19
19
  Classifier: Programming Language :: Python
20
20
  Classifier: Programming Language :: Python :: 3
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -25,11 +25,13 @@ Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
27
  Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
28
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
30
  Requires-Python: >=3.7
30
31
  Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
32
33
  Requires-Dist: cffi>=1.0.0
34
+ Dynamic: license-file
33
35
 
34
36
  # pyvips-binary
35
37
 
@@ -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",
@@ -12,13 +11,13 @@ build-backend = "setuptools.build_meta"
12
11
  [project]
13
12
  name = "pyvips-binary"
14
13
  # Must be kept in sync with `scripts/download-vips.py`
15
- version = "8.16.0-rc2"
14
+ version = "8.17.0"
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
- license = {text = "MIT"}
20
+ license = {text = "LGPL-3.0-or-later"}
22
21
  requires-python = ">=3.7"
23
22
  classifiers = [
24
23
  "Development Status :: 5 - Production/Stable",
@@ -27,7 +26,7 @@ classifiers = [
27
26
  "Intended Audience :: Science/Research",
28
27
  "Topic :: Multimedia :: Graphics",
29
28
  "Topic :: Multimedia :: Graphics :: Graphics Conversion",
30
- "License :: OSI Approved :: MIT License",
29
+ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
31
30
  "Programming Language :: Python",
32
31
  "Programming Language :: Python :: 3",
33
32
  "Programming Language :: Python :: 3 :: Only",
@@ -37,6 +36,7 @@ classifiers = [
37
36
  "Programming Language :: Python :: 3.10",
38
37
  "Programming Language :: Python :: 3.11",
39
38
  "Programming Language :: Python :: 3.12",
39
+ "Programming Language :: Python :: 3.13",
40
40
  "Programming Language :: Python :: Implementation :: CPython",
41
41
  ]
42
42
  dependencies = [
@@ -63,10 +63,14 @@ exclude = [
63
63
  [tool.cibuildwheel]
64
64
  # Only build CPython 3.7, because we have portable abi3 wheels
65
65
  # Apple Silicon is only available on 3.8 and later
66
+ # Windows ARM64 is only available on 3.9 and later
66
67
  build = [
67
68
  "cp37-*",
68
69
  "cp38-macosx_arm64",
70
+ "cp39-win_arm64",
69
71
  ]
72
+ # https://github.com/lovell/sharp-libvips/issues/59
73
+ skip = "cp37-musllinux_armv7l"
70
74
  build-frontend = "build"
71
75
  before-build = "bash {package}/scripts/cibw_before_build.sh"
72
76
  test-command = "python -c \"import _libvips; assert _libvips.lib.vips_version(0) == 8\""
@@ -76,10 +80,11 @@ environment-pass = ["RUNNER_OS"]
76
80
  PKG_CONFIG_PATH = "./tmp/lib/pkgconfig"
77
81
  LD_LIBRARY_PATH = "$(pwd)/tmp/lib"
78
82
  DYLD_LIBRARY_PATH = "$(pwd)/tmp/lib"
79
- MACOSX_DEPLOYMENT_TARGET = "10.13"
83
+ MACOSX_DEPLOYMENT_TARGET = "10.15"
80
84
 
81
85
  [tool.cibuildwheel.linux]
82
- archs = "x86_64 aarch64"
86
+ archs = "x86_64 aarch64 armv7l"
87
+ # https://github.com/pypa/cibuildwheel/pull/2330
83
88
  manylinux-x86_64-image = "manylinux_2_28"
84
89
  manylinux-aarch64-image = "manylinux_2_28"
85
90
 
@@ -97,7 +102,7 @@ archs = "x86_64 arm64"
97
102
  test-skip = "*-macosx_arm64"
98
103
 
99
104
  [tool.cibuildwheel.windows]
100
- archs = "AMD64 x86"
105
+ archs = "AMD64 x86 ARM64"
101
106
  # Use delvewheel on Windows
102
107
  before-all = "pip install delvewheel"
103
108
  repair-wheel-command = """\
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyvips-binary
3
- Version: 8.16.0rc2
3
+ Version: 8.17.0
4
4
  Summary: Binary distribution of libvips and dependencies for use with pyvips
5
5
  Author-email: Kleis Auke Wolthuizen <info@kleisauke.nl>
6
- License: MIT
6
+ License: LGPL-3.0-or-later
7
7
  Project-URL: changelog, https://github.com/kleisauke/pyvips-binary/blob/main/CHANGELOG.md
8
8
  Project-URL: funding, https://opencollective.com/libvips
9
9
  Project-URL: homepage, https://github.com/kleisauke/pyvips-binary
@@ -15,7 +15,7 @@ Classifier: Intended Audience :: Developers
15
15
  Classifier: Intended Audience :: Science/Research
16
16
  Classifier: Topic :: Multimedia :: Graphics
17
17
  Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
18
- Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
19
19
  Classifier: Programming Language :: Python
20
20
  Classifier: Programming Language :: Python :: 3
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -25,11 +25,13 @@ Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
27
  Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
28
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
30
  Requires-Python: >=3.7
30
31
  Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
32
33
  Requires-Dist: cffi>=1.0.0
34
+ Dynamic: license-file
33
35
 
34
36
  # pyvips-binary
35
37
 
@@ -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,5 @@ else:
30
18
 
31
19
  setup(
32
20
  cffi_modules=cffi_modules,
33
- cmdclass={'bdist_wheel': bdist_wheel_abi3},
21
+ options={'bdist_wheel': {'py_limited_api': f'cp{sys.version_info.major}{sys.version_info.minor}'}},
34
22
  )