[Git][debian-gis-team/aggdraw][upstream] New upstream version 1.3.16
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Fri Jun 9 07:52:30 BST 2023
Antonio Valentino pushed to branch upstream at Debian GIS Project / aggdraw
Commits:
14322e8d by Antonio Valentino at 2023-06-09T06:29:41+00:00
New upstream version 1.3.16
- - - - -
4 changed files:
- .github/workflows/ci.yml
- CHANGELOG.md
- + pyproject.toml
- setup.py
Changes:
=====================================
.github/workflows/ci.yml
=====================================
@@ -42,7 +42,7 @@ jobs:
env:
CIBW_TEST_COMMAND: python {project}/selftest.py
CIBW_BEFORE_BUILD_LINUX: yum install -y freetype-devel
- CIBW_SKIP: pp* *-musllinux* cp36-*
+ CIBW_SKIP: "cp36-* pp* *-win32 *-manylinux_i686 *-musllinux*"
CIBW_TEST_REQUIRES: numpy pillow pytest
CIBW_ARCHS_LINUX: auto aarch64
# disable finding unintended freetype installations
@@ -67,7 +67,9 @@ jobs:
- uses: actions/setup-python at v2
- name: sdist
- run: python setup.py sdist
+ run: |
+ python -m pip install -U build pip
+ python -m build -s
- name: download
uses: actions/download-artifact at v2
=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,10 @@
# The aggdraw Library
+## Version 1.3.16
+
+- Build changes to support for Python 3.12
+- Drop 32-bit wheel builds
+
## Version 1.3.15
- Fix Python 3.10 compatibility
=====================================
pyproject.toml
=====================================
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["packaging", "setuptools"]
+build-backend = "setuptools.build_meta"
=====================================
setup.py
=====================================
@@ -16,15 +16,12 @@ import os
import sys
import subprocess
import platform
-from distutils.sysconfig import get_config_var
-from distutils.version import LooseVersion
+from sysconfig import get_config_var
-try:
- from setuptools import setup, Extension
-except ImportError:
- from distutils.core import setup, Extension
+from packaging.version import Version
+from setuptools import setup, Extension
-VERSION = "1.3.15"
+VERSION = "1.3.16"
SUMMARY = "High quality drawing interface for PIL."
@@ -48,9 +45,12 @@ def is_platform_mac():
# MACOSX_DEPLOYMENT_TARGET before calling setup.py
if is_platform_mac():
if 'MACOSX_DEPLOYMENT_TARGET' not in os.environ:
- current_system = LooseVersion(platform.mac_ver()[0])
- python_target = LooseVersion(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
- if python_target < '10.9' and current_system >= '10.9':
+ current_system = Version(platform.mac_ver()[0])
+ python_target = Version(get_config_var('MACOSX_DEPLOYMENT_TARGET'))
+ if (
+ python_target < Version('10.9') and
+ current_system >= Version('10.9')
+ ):
os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/14322e8d75a36b17f205a6236df0db539336d483
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/14322e8d75a36b17f205a6236df0db539336d483
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230609/37506ad8/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list