Bug 1772058 - pyudev fails to build on Python 3.9 due to collections import error
Summary: pyudev fails to build on Python 3.9 due to collections import error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pyudev
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1792793 1793485
TreeView+ depends on / blocked
 
Reported: 2019-11-13 14:35 UTC by Jiri Konecny
Modified: 2020-02-06 00:27 UTC (History)
6 users (show)

Fixed In Version: python-pyudev-0.22.0-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 00:27:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Konecny 2019-11-13 14:35:35 UTC
Description of problem:

When running Anaconda this deprecation warning is printed:

```
WARNING:py.warnings:/usr/lib/python3.8/site-packages/pyudev/device/_device.py:35: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections..abc' is deprecated since Python 3.3, and in 3.9 it will stop working

from collections import Container
```

The most problematic part is that Python is planning to remove this feature in 3.9 and we have 3.8 in Rawhide.

Release schedule for 3.9:

3.9.0 candidate 1: Monday, 2020-08-10
3.9.0 candidate 2: Monday, 2020-09-14
3.9.0 final: Monday, 2020-10-05

https://www.python.org/dev/peps/pep-0596/


Version-Release number of selected component (if applicable):
python3-pyudev-0.21.0-13.fc32.noarch

Comment 1 mulhern 2020-01-24 16:22:57 UTC
I'm going to close this because it's obsolete. pyudev now fails to build at all on rawhide.

Comment 2 mulhern 2020-01-24 16:23:50 UTC
Whoops, the bz interface did it's thing. I'm updating the title to reflect the current state of affairs.

Comment 3 mulhern 2020-01-24 16:34:23 UTC
Upstream issue: https://github.com/pyudev/pyudev/issues/396.

Comment 4 mulhern 2020-01-27 16:08:58 UTC
The reality is that pyudev is building just fine on rawhide still, because the Python version on rawhide is still 3.8. It isn't building fine on the copr builds which are the preliminary step to stage 3.9 into rawhide, so changing the title again to be more accurate and specify the real problem.

Comment 5 mulhern 2020-01-27 16:10:32 UTC
reallylongword: the new build is up on PyPi. Are you able to take it from here?

Comment 6 David Shea 2020-02-06 00:27:47 UTC
New package built for rawhide


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