From: Sergei Trofimovich <slyfox@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Python 3.10.0rc1
Date: Wed, 4 Aug 2021 20:27:45 +0100 [thread overview]
Message-ID: <20210804202745.56a6d473@zn3> (raw)
In-Reply-To: <980422f427276031ffcb0c3271d578d5fa3c293d.camel@gentoo.org>
On Tue, 03 Aug 2021 11:15:13 +0200
Michał Górny <mgorny@gentoo.org> wrote:
> Hi, everyone.
>
> Just a quick note: I've pushed Python 3.10.0rc1 today. It has many last
> minute changes that can break packages that were ported to previous
> 3.10.0 betas before.
>
> For practical reasons, we're going to support only >=3.10.0_rc1 going
> forward. If your package fails with >=3.10.0_rc1, feel free to apply
> fixes without caring for backwards compatibility with betas. If you see
> failures with 3.10.0_beta4, please try upgrading to _rc1 first.
>
> Notably, the newest releases of dev-python/django and dev-python/sphinx
> that I've pushed today were updated for _rc1 and will have failures with
> _beta4.
Should we drop PYTHON_COMPAT=python3_10 for known to break package versions?
For example latest stable dev-python/sphinx-4.0.3 did not like today's ~arch
python:
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.10/sphinx-build", line 33, in <module>
sys.exit(load_entry_point('Sphinx==4.0.3', 'console_scripts', 'sphinx-build')())
File "/usr/lib/python-exec/python3.10/sphinx-build", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/sphinx/cmd/build.py", line 25, in <module>
from sphinx.application import Sphinx
File "/usr/lib/python3.10/site-packages/sphinx/application.py", line 31, in <module>
from sphinx.config import Config
File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 21, in <module>
from sphinx.util import logging
File "/usr/lib/python3.10/site-packages/sphinx/util/__init__.py", line 41, in <module>
from sphinx.util.typing import PathMatcher
File "/usr/lib/python3.10/site-packages/sphinx/util/typing.py", line 37, in <module>
from types import Union as types_Union
ImportError: cannot import name 'Union' from 'types' (/usr/lib/python3.10/types.py)
--
Sergei
next prev parent reply other threads:[~2021-08-04 19:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-03 9:15 [gentoo-dev] Python 3.10.0rc1 Michał Górny
2021-08-04 19:27 ` Sergei Trofimovich [this message]
2021-08-04 19:30 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210804202745.56a6d473@zn3 \
--to=slyfox@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox