Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python,linux.debian.bugs.dist Subject: Re: cython 3.x (for Python 3.12) Date: Mon, 11 Dec 2023 20:10:01 +0100 Message-ID: References: X-Original-To: Julian Gilbey X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 11 19:07:20 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.708 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -2.7 Old-X-Envelope-From: doko@debian.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/21295 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/a361cf4e-7ce0-4dd0-b145-565becc3886b@debian.org Approved: robomod@news.nic.it Lines: 37 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org, 1056531@bugs.debian.org X-Original-Date: Mon, 11 Dec 2023 20:06:41 +0100 X-Original-Message-ID: X-Original-References: <20231125162346.o53k5t6yikivxvxl@satie.tumbleweed.org.za> <49d81279-ae51-4769-b244-452feaa789f2@debian.org> Xref: csiph.com linux.debian.maint.python:15352 linux.debian.bugs.dist:1178184 On 11.12.23 19:55, Julian Gilbey wrote: > On Mon, Dec 11, 2023 at 04:34:17PM +0100, Matthias Klose wrote: >> On 11.12.23 16:19, Julian Gilbey wrote: >>> On Mon, Dec 11, 2023 at 08:09:31AM +0100, Matthias Klose wrote: >>>> [...] >>>> You could package a non-conflicting cython-legacy, however that would >>>> require more changes, also how to build it. >>> >>> Hi Matthias, >>> >>> Unfortunately, at least some of cython3-legacy doesn't currently work >>> with Python 3.12, and is the primary cause of (at least) #1056531. >>> cython3 provides the pyximport module, and that uses the imp module >>> which has been removed from Python 3.12. >>> >>> Two possible ways forward on this particular bug: >>> >>> - Disable all of the cython tests for this package for the time being, >>> until cython 3.x migrates to testing - this is simple and effective. >>> >>> - Patch cython3-legacy to use importlib rather than imp. This is >>> probably a good thing to do anyway. (It may also be good to do this >>> with cython3 version 0.x currently in testing/unstable until cython >>> 3.x is able to be uploaded to unstable.) Then have my package's >>> autopkgtest depend on cython3-legacy (unless cython3 0.x is also >>> patched). >> >> I won't working on this. Have you tried to depend on the python3-zombie-imp >> instead? > > Excellent - I didn't know about that. Are you OK for me to upload > versions of cython and cython-legacy which depend on this to fix the > Python 3.12 breakage? not for cython, which won't need that soonish for 3.0.x. and if you have to update the b-d to cython3-legacy, why not add the zombie-imp dependency as well manually for the few packages that need it?