[Git][debian-gis-team/aggdraw][upstream] New upstream version 1.3.15

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Fri Jul 1 19:06:28 BST 2022



Antonio Valentino pushed to branch upstream at Debian GIS Project / aggdraw


Commits:
0632414c by Antonio Valentino at 2022-07-01T17:55:09+00:00
New upstream version 1.3.15
- - - - -


4 changed files:

- .github/workflows/ci.yml
- CHANGELOG.md
- aggdraw.cxx
- setup.py


Changes:

=====================================
.github/workflows/ci.yml
=====================================
@@ -42,9 +42,11 @@ jobs:
         env:
           CIBW_TEST_COMMAND: python {project}/selftest.py
           CIBW_BEFORE_BUILD_LINUX: yum install -y freetype-devel
-          CIBW_SKIP: pp* *-musllinux*
+          CIBW_SKIP: pp* *-musllinux* cp36-*
           CIBW_TEST_REQUIRES: numpy pillow pytest
           CIBW_ARCHS_LINUX: auto aarch64
+          # disable finding unintended freetype installations
+          CIBW_ENVIRONMENT_WINDOWS: "AGGDRAW_FREETYPE_ROOT=''"
         run: |
           python -m pip install cibuildwheel
           cibuildwheel --output-dir wheelhouse


=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,10 @@
 # The aggdraw Library
 
+## Version 1.3.15
+
+- Fix Python 3.10 compatibility
+- Remove explicit support for Python <3.7
+
 ## Version 1.3.14
 
 - Rebuild for missing Windows wheels


=====================================
aggdraw.cxx
=====================================
@@ -58,6 +58,8 @@
 #define M_PI 3.1415926535897931
 #endif
 
+#define PY_SSIZE_T_CLEAN 1
+
 #include "Python.h"
 #if PY_MAJOR_VERSION >= 3
 #define IS_PY3K
@@ -1552,7 +1554,8 @@ const char *draw_frombytes_doc = "Copies data from a string buffer to the drawin
 static PyObject*
 draw_frombytes(DrawObject* self, PyObject* args)
 {
-    char* data = NULL; int data_size;
+    char* data = NULL;
+    Py_ssize_t data_size;
     if (!PyArg_ParseTuple(args, "s#:frombytes", &data, &data_size))
         return NULL;
 


=====================================
setup.py
=====================================
@@ -24,7 +24,7 @@ try:
 except ImportError:
     from distutils.core import setup, Extension
 
-VERSION = "1.3.14"
+VERSION = "1.3.15"
 
 SUMMARY = "High quality drawing interface for PIL."
 
@@ -169,6 +169,6 @@ setup(
                   library_dirs=library_dirs, libraries=libraries
                   )
         ],
-    python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
+    python_requires='>=3.7',
     tests_require=['pillow', 'pytest'],
     )



View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/0632414cbc58b2168151a61c1a139fef0dcd6d8b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/commit/0632414cbc58b2168151a61c1a139fef0dcd6d8b
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/20220701/654df07c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list