Bug 1808663 - python-typing-extensions fails to build with Python 3.9: test_typing_extensions_defers_when_possible fails - <class 'typing_extensions.Annotated'> is not <class 'typing.Annotated'>
Summary: python-typing-extensions fails to build with Python 3.9: test_typing_extensio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-typing-extensions
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonny Heggheim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-02-29 09:56 UTC by Miro Hrončok
Modified: 2020-05-18 06:52 UTC (History)
5 users (show)

Fixed In Version: python-typing-extensions-3.7.4.2-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-25 02:20:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-02-29 09:56:39 UTC
python-typing-extensions fails to build with Python 3.9.0a4.

+ /usr/bin/python3 src_py3/test_typing_extensions.py
<string>:26: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
.F..............................................................................s.....s..........s....................
======================================================================
FAIL: test_typing_extensions_defers_when_possible (__main__.AllTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/typing_extensions-3.7.4/src_py3/test_typing_extensions.py", line 1790, in test_typing_extensions_defers_when_possible
    self.assertIs(
AssertionError: <class 'typing_extensions.Annotated'> is not <class 'typing.Annotated'>
----------------------------------------------------------------------
Ran 118 tests in 0.072s
FAILED (failures=1, skipped=3)


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01257427-python-typing-extensions/

For all our attempts to build python-typing-extensions with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-typing-extensions/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Jonny Heggheim 2020-04-10 21:58:02 UTC
Something you want to look at Fabian?

Comment 2 Fedora Update System 2020-04-11 07:39:05 UTC
FEDORA-2020-362e97e46b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-362e97e46b

Comment 3 Fedora Update System 2020-04-11 18:51:53 UTC
FEDORA-2020-362e97e46b has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-362e97e46b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-362e97e46b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-04-25 02:20:40 UTC
FEDORA-2020-362e97e46b has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.