public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Python 3.10.0rc1
@ 2021-08-03  9:15 Michał Górny
  2021-08-04 19:27 ` Sergei Trofimovich
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Górny @ 2021-08-03  9:15 UTC (permalink / raw
  To: gentoo-dev

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.

-- 
Best regards,
Michał Górny




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Python 3.10.0rc1
  2021-08-03  9:15 [gentoo-dev] Python 3.10.0rc1 Michał Górny
@ 2021-08-04 19:27 ` Sergei Trofimovich
  2021-08-04 19:30   ` Michał Górny
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Trofimovich @ 2021-08-04 19:27 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Python 3.10.0rc1
  2021-08-04 19:27 ` Sergei Trofimovich
@ 2021-08-04 19:30   ` Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-08-04 19:30 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2021-08-04 at 20:27 +0100, Sergei Trofimovich wrote:
> 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:

I suppose that's fine if it doesn't break depgraph.  For completeness,
the newer sphinx version is fixed for that.

-- 
Best regards,
Michał Górny




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-04 19:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-03  9:15 [gentoo-dev] Python 3.10.0rc1 Michał Górny
2021-08-04 19:27 ` Sergei Trofimovich
2021-08-04 19:30   ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox