Package: python-pyeclib / 1.6.0-8

Metadata

Package Version Patches format
python-pyeclib 1.6.0-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Use_Py_ssize_t_when_calling_PyArg_Parse.patch | (download)

src/c/pyeclib_c/pyeclib_c.c | 5 3 2 - 0 !
1 file changed, 3 insertions( ), 2 deletions(-)

 use py_ssize_t when calling pyarg_parse
 This has been available since Python 2.5, and our old int-based approach
 stopped working in Python 3.10. From https://bugs.python.org/issue36381:
 .
   Raise warning for # use without PY_SSIZE_T_CLEAN.
 .
   * 3.8: PendingDeprecationWarning
   * 3.9: DeprecationWarning
   * 3.10 (or 4.0): Remove PY_SSIZE_T_CLEAN and use Py_ssize_t always
 .
setuptools 60.patch | (download)

setup.py | 6 3 3 - 0 !
1 file changed, 3 insertions( ), 3 deletions(-)

 import setuptools before distutils
 setuptools 60 uses its own bundled version of distutils, by default. It
 injects this into sys.modules, at import time. So we need to make sure
 that it is imported, before anything else imports distutils, to ensure
 everything is using the same distutils version.
 .
 This change in setuptools is to prepare for Python 3.12, which will drop
 distutils.