Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1583196 - dnf FTBFS on Python 3.7
Summary: dnf FTBFS on Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-05-28 12:47 UTC by Miro Hrončok
Modified: 2018-10-09 05:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 08:57:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from copr (160.21 KB, text/plain)
2018-05-28 12:47 UTC, Miro Hrončok
no flags Details
root.log from copr (76.84 KB, text/plain)
2018-05-28 13:11 UTC, Miro Hrončok
no flags Details
tree.py for creating tree (5.15 KB, text/plain)
2018-10-09 05:55 UTC, anupam poddar
no flags Details

Description Miro Hrončok 2018-05-28 12:47:50 UTC
Created attachment 1443326 [details]
build.log from copr

dnf fails tests on Python 3.7.

Notable problem is:

AttributeError: module 'os' has no attribute 'errno'

I've done some checks and youc an just import errno directly, not from os, to check xxx == errno.EEXIST.


Version-Release number: 2.7.5-15.fc29


Logs attached.

Comment 1 Miro Hrončok 2018-05-28 13:07:19 UTC
As a cross reference: https://bugs.python.org/issue33666

Comment 2 Miro Hrončok 2018-05-28 13:11:04 UTC
Created attachment 1443330 [details]
root.log from copr

Comment 3 Miro Hrončok 2018-05-28 13:12:13 UTC
This has been fixed upstream in https://github.com/rpm-software-management/dnf/pull/1030

Comment 4 Martin Hatina 2018-05-29 08:57:39 UTC
Fixed in dnf-2.7.5-16.fc29

Comment 5 anupam poddar 2018-10-09 05:55:13 UTC
Created attachment 1491868 [details]
tree.py for creating tree


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