pyvips-binary 8.16.1__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,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pyvips-binary
3
- Version: 8.16.1
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
6
  License: LGPL-3.0-or-later
@@ -31,6 +31,7 @@ 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
 
@@ -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,7 +11,7 @@ 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.1"
14
+ version = "8.17.0"
16
15
  authors = [
17
16
  {name = "Kleis Auke Wolthuizen", email = "info@kleisauke.nl"},
18
17
  ]
@@ -64,9 +63,11 @@ exclude = [
64
63
  [tool.cibuildwheel]
65
64
  # Only build CPython 3.7, because we have portable abi3 wheels
66
65
  # Apple Silicon is only available on 3.8 and later
66
+ # Windows ARM64 is only available on 3.9 and later
67
67
  build = [
68
68
  "cp37-*",
69
69
  "cp38-macosx_arm64",
70
+ "cp39-win_arm64",
70
71
  ]
71
72
  # https://github.com/lovell/sharp-libvips/issues/59
72
73
  skip = "cp37-musllinux_armv7l"
@@ -83,6 +84,7 @@ MACOSX_DEPLOYMENT_TARGET = "10.15"
83
84
 
84
85
  [tool.cibuildwheel.linux]
85
86
  archs = "x86_64 aarch64 armv7l"
87
+ # https://github.com/pypa/cibuildwheel/pull/2330
86
88
  manylinux-x86_64-image = "manylinux_2_28"
87
89
  manylinux-aarch64-image = "manylinux_2_28"
88
90
 
@@ -100,7 +102,7 @@ archs = "x86_64 arm64"
100
102
  test-skip = "*-macosx_arm64"
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
108
  repair-wheel-command = """\
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pyvips-binary
3
- Version: 8.16.1
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
6
  License: LGPL-3.0-or-later
@@ -31,6 +31,7 @@ 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
 
@@ -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
  )
File without changes
File without changes
File without changes