Bug 1627071 - dire warnings from dnf after python3-dnf-plugin-tracer installed
Summary: dire warnings from dnf after python3-dnf-plugin-tracer installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools
Version: 29
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-10 11:39 UTC by Paul Sand
Modified: 2018-09-29 22:01 UTC (History)
13 users (show)

Fixed In Version: python-html5lib-1.0.1-2.fc30, python-setuptools-40.4.3-1.fc30 python-setuptools-40.4.3-1.fc29
Clone Of:
Environment:
Last Closed: 2018-09-29 22:01:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Sand 2018-09-10 11:39:19 UTC
Description of problem:

After installing python3-dnf-plugin-tracer-3.0.1-1.fc29.noarch RPM, dnf consistently warns about use of deprecated features:

/usr/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py:943: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  collections.MutableMapping.register(ParseResults)

/usr/lib/python3.7/site-packages/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping


Version-Release number of selected component (if applicable):


How reproducible:

Install python3-dnf-plugin-tracer.noarch and run any dnf command.

Steps to Reproduce:
1. dnf install python3-dnf-plugin-tracer.noarch
2. dnf list available > /dev/null
3.

Actual results:

Warnings as shown above.

Expected results:

No warnings.

Additional info:

The files mentioned in the warnings are from "python3-setuptools-39.2.0-7.fc29.noarch" and "python3-html5lib-1.0.1-1.fc29.noarch"

Comment 1 Marek Blaha 2018-09-17 13:42:40 UTC
These two packages (python3-setuptools, python3-html5lib) are indirect dependencies of python3-dnf-plugin-tracer (via python3-tracer). And these packages are the right place, where these deprecation warnings should be fixed.

Comment 2 Miro Hrončok 2018-09-24 13:09:36 UTC
html5lib: https://github.com/html5lib/html5lib-python/pull/403

Comment 3 Miro Hrončok 2018-09-24 13:14:05 UTC
html5lib in Fedora: https://src.fedoraproject.org/rpms/python-html5lib/pull-request/3

Comment 4 Miro Hrončok 2018-09-24 13:17:06 UTC
pyparsing upstream: https://github.com/pyparsing/pyparsing/pull/16
setuptools upstream: https://github.com/pypa/setuptools/commit/2862b90422c63afc8864952878594e4194c517d9

This is fixed in setuptools 40.4.3. Update is all that needed.

Comment 5 Miro Hrončok 2018-09-24 13:21:45 UTC
Will update setuptools.

Comment 7 Fedora Update System 2018-09-24 13:42:08 UTC
python-html5lib-1.0.1-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f989993007

Comment 8 Fedora Update System 2018-09-24 16:41:48 UTC
python-setuptools-40.4.3-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e51e4ce94a

Comment 9 Fedora Update System 2018-09-27 02:09:04 UTC
python-html5lib-1.0.1-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f989993007

Comment 10 Fedora Update System 2018-09-27 02:09:36 UTC
python-setuptools-40.4.3-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e51e4ce94a

Comment 11 Fedora Update System 2018-09-29 22:01:26 UTC
python-html5lib-1.0.1-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-09-29 22:01:41 UTC
python-setuptools-40.4.3-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, 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.