Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15351

Re: cython 3.x (for Python 3.12)

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Julian Gilbey <julian@d-and-j.net>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: cython 3.x (for Python 3.12)
Date Mon, 11 Dec 2023 20:00:02 +0100
Message-ID <HJTFw-cTrx-1@gated-at.bofh.it> (permalink)
References <HE3Hz-8dHD-3@gated-at.bofh.it> <HJyrn-cGqF-7@gated-at.bofh.it> <HJyKJ-cGwP-1@gated-at.bofh.it> <HJyKJ-cGwP-5@gated-at.bofh.it> <HJIAp-cMER-1@gated-at.bofh.it> <HJQoh-cRBs-1@gated-at.bofh.it> <HJQxX-cREm-5@gated-at.bofh.it>
X-Original-To Matthias Klose <doko@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Dec 11 18:56:23 2023
Old-Return-Path <julian@d-and-j.net>
X-Amavis-Spam-Status No, score=-7.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21294
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZXdbOXZT9mBPDPCh@d-and-j.net
Approved robomod@news.nic.it
Lines 36
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 18:55:53 +0000
X-Original-Message-ID <ZXdbOXZT9mBPDPCh@d-and-j.net>
X-Original-References <20231125162346.o53k5t6yikivxvxl@satie.tumbleweed.org.za> <ZXYbuDwCK8NfPTWf@d-and-j.net> <ZXYfy6JSN6VfbJI-@durkon.wrar.name> <ZXYgeTj4PJN183Bw@durkon.wrar.name> <49d81279-ae51-4769-b244-452feaa789f2@debian.org> <ZXcokYGliB7F3c2w@d-and-j.net> <cf02d337-a319-4b7e-b5ff-d4f470d2628b@debian.org>
Xref csiph.com linux.debian.maint.python:15351 linux.debian.bugs.dist:1178177

Cross-posted to 2 groups.

Show key headers only | View raw


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?

Best wishes,

   Julian

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

cython 3.x (for Python 3.12) Stefano Rivera <stefanor@debian.org> - 2023-11-25 17:30 +0100
  Re: cython 3.x (for Python 3.12) Stefano Rivera <stefanor@debian.org> - 2023-11-25 17:50 +0100
  Re: cython 3.x (for Python 3.12) julien.puydt@gmail.com - 2023-11-26 21:30 +0100
  Re: cython 3.x (for Python 3.12) julien.puydt@gmail.com - 2023-11-30 08:30 +0100
    Re: cython 3.x (for Python 3.12) julien.puydt@gmail.com - 2023-12-12 09:20 +0100
  Re: cython 3.x (for Python 3.12) Julian Gilbey <julian@d-and-j.net> - 2023-11-30 22:20 +0100
  Re: cython 3.x (for Python 3.12) Julian Gilbey <jdg@debian.org> - 2023-12-10 21:20 +0100
    Re: cython 3.x (for Python 3.12) Andrey Rakhmatullin <wrar@wrar.name> - 2023-12-10 21:40 +0100
      Re: cython 3.x (for Python 3.12) Andrey Rakhmatullin <wrar@wrar.name> - 2023-12-10 21:40 +0100
        Re: cython 3.x (for Python 3.12) Matthias Klose <doko@debian.org> - 2023-12-11 08:10 +0100
          Re: cython 3.x (for Python 3.12) Matthias Klose <doko@debian.org> - 2023-12-11 09:50 +0100
          Re: cython 3.x (for Python 3.12) Julian Gilbey <julian@d-and-j.net> - 2023-12-11 11:30 +0100
          Re: cython 3.x (for Python 3.12) Matthias Klose <doko@debian.org> - 2023-12-11 16:40 +0100
            Re: cython 3.x (for Python 3.12) Julian Gilbey <julian@d-and-j.net> - 2023-12-11 20:00 +0100
              Re: cython 3.x (for Python 3.12) Matthias Klose <doko@debian.org> - 2023-12-11 20:10 +0100
  Re: cython 3.x (for Python 3.12) Julian Gilbey <julian@d-and-j.net> - 2023-12-12 20:00 +0100

csiph-web