Page MenuHomeSoftware Heritage

setup.py: Fix debian unstable package build
ClosedPublic

Authored by anlambert on Sep 15 2022, 5:38 PM.

Details

Summary

Since Python 3.10, support for PyArg_ParseTuple() # formats
requires PY_SSIZE_T_CLEAN macro to be defined.

See https://github.com/python/cpython/issues/85115

Diff Detail

Repository
rDLDCVS CVS Loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8491 (id=30580)

Rebasing onto 386a68f149...

Current branch diff-target is up to date.
Changes applied before test
commit 83fae9c7b386f9773de7b794be155fbcae2fcdbc
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Sep 15 17:37:11 2022 +0200

    setup.py: Fix debian unstable package build
    
    Since Python 3.10, support for PyArg_ParseTuple() # formats
    requires PY_SSIZE_T_CLEAN macro to be defined.

See https://jenkins.softwareheritage.org/job/DLDCVS/job/tests-on-diff/125/ for more details.

This revision is now accepted and ready to land.Sep 19 2022, 10:52 AM