Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14628
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Julian Gilbey <julian@d-and-j.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Python 3.11, bytecode and new internals |
| Date | Mon, 21 Nov 2022 08:30:01 +0100 |
| Message-ID | <Fu9pD-5fnn-3@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Nov 21 07:29:36 2022 |
| Old-Return-Path | <julian@d-and-j.net> |
| X-Amavis-Spam-Status | No, score=-7.2 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] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Greylist | delayed 1240 seconds by postgrey-1.36 at bendel; Mon, 21 Nov 2022 07:29:19 UTC |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20487 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/Y3sj9J0AYpYZoV0u@d-and-j.net |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 21 Nov 2022 07:08:36 +0000 |
| X-Original-Message-ID | <Y3sj9J0AYpYZoV0u@d-and-j.net> |
| Xref | csiph.com linux.debian.maint.python:14628 |
Show key headers only | View raw
I've been having a somewhat interesting time with the python3.11-add transition. Python 3.11 has made some significant changes to its bytecode representation, and also changed some of it's internal data structures related to frames quite significantly. In my corner of the Python world, several important packages use this information, including Spyder, IPython and Jupyter (which all (recursively) depend on python3-parso and/or python3-bytecode), but these low-level packages are not really ready for 3.11 yet (parso claims "basic support for Python 3.11 and 3.12", so it's unlikely it will actually yet work with 3.11, though I haven't tested this, and bytecode makes no claims to yet be ready for 3.11). Several packages have tests which now fail on 3.11, preventing migration to testing (spyder-kernels is one). In pydevd (which does not yet support 3.11, because it depends on python3-bytecode), I've just disabled all the failing tests and put a note in README.Debian, but this is not a great solution. I could add X-Python3-Version: << 3.11 to debian/control, but that is surely not that desirable either. I'm just flagging this up here, with a question about how we should proceed. Certainly we are not ready to make Python 3.11 the default Python version!! Best wishes, Julian
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Python 3.11, bytecode and new internals Julian Gilbey <julian@d-and-j.net> - 2022-11-21 08:30 +0100
Re: Python 3.11, bytecode and new internals Louis-Philippe Véronneau <pollo@debian.org> - 2022-11-21 18:10 +0100
Re: Python 3.11, bytecode and new internals Scott Kitterman <debian@kitterman.com> - 2022-11-21 18:30 +0100
Re: Python 3.11, bytecode and new internals Scott Kitterman <debian@kitterman.com> - 2022-11-22 15:20 +0100
Re: Python 3.11, bytecode and new internals Sandro Tosi <morph@debian.org> - 2022-11-21 18:40 +0100
Re: Python 3.11, bytecode and new internals Thomas Goirand <zigo@debian.org> - 2022-11-22 09:30 +0100
Re: Python 3.11, bytecode and new internals Julian Gilbey <julian@d-and-j.net> - 2022-11-22 11:00 +0100
Re: Python 3.11, bytecode and new internals Thomas Goirand <zigo@debian.org> - 2022-11-22 17:10 +0100
Re: Python 3.11, bytecode and new internals Julian Gilbey <julian@d-and-j.net> - 2022-11-22 18:00 +0100
Re: Python 3.11, bytecode and new internals Thomas Goirand <zigo@debian.org> - 2022-11-23 00:30 +0100
Re: Python 3.11, bytecode and new internals Julian Gilbey <julian@d-and-j.net> - 2022-11-23 08:40 +0100
csiph-web