Bug 1770622 - Unnecessary dependency on the configparser package
Summary: Unnecessary dependency on the configparser package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mailmerge
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian (bex) Exelbierd
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1770621 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-11 00:58 UTC by Avram Lubkin
Modified: 2020-05-08 02:43 UTC (History)
1 user (show)

Fixed In Version: python-mailmerge-2.1.0-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-08 02:43:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Avram Lubkin 2019-11-11 00:58:45 UTC
Description of problem:

mailemerge has an unnecessary dependency on the configparser package.
This is being picked up by the dependency generator because upstream does not have a version dependency on the requirement.

Steps to Reproduce:
dnf repoquery --releasever=rawhide --disablerepo=* --enablerepo=fedora --requires python3-mailmerge --refresh | grep configparser

Please create a patch to remove configparser from install_requires in setup.py when building for Python 3.

Comment 1 Ben Cotton 2020-02-11 17:48:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Avram Lubkin 2020-04-18 18:24:56 UTC
*** Bug 1770621 has been marked as a duplicate of this bug. ***

Comment 3 Brian (bex) Exelbierd 2020-04-23 11:02:46 UTC
@Avram - I missed this when it first came in.  Sorry about that.  I hope to revisit this package this weekend and will work on this then.

Comment 4 Brian (bex) Exelbierd 2020-04-23 17:32:29 UTC
@Avram - I took a look today and advanced the package to the latest release.  Can you take a look at https://koji.fedoraproject.org/koji/taskinfo?taskID=43695796 and let me know if this meets the requirements to fix this bug?  It is still pulling in configparser but that appears to be valid based on my read.  Details/comments/opinions welcome.  (PRs too, if you're feeling it).

Based on your reply, I'll look to build this out for supported releases and get it into testing.

Thank you.

Comment 5 Avram Lubkin 2020-04-23 17:51:28 UTC
That's not going to work. There should be no dependency on configparser. The RPM is going away and it's already included in the standard library in Python.

It's really a bug upstream, but you'll have to create a patch for setup.py to get rid of the dependency, or turn off the dependency generator with %{?python_disable_dependency_generator}

Comment 6 Brian (bex) Exelbierd 2020-04-27 08:58:59 UTC
@Avram - I think I have finally understood you.  I am submitting a patch to mask off this dependency at python3.6+  -- does this work for you?

https://koji.fedoraproject.org/koji/taskinfo?taskID=43851456

Comment 7 Avram Lubkin 2020-04-27 13:43:50 UTC
I think technically it's 3.0+, but it looks like it works.

Comment 8 Fedora Update System 2020-04-29 07:45:26 UTC
FEDORA-2020-309a1a1444 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-309a1a1444

Comment 9 Fedora Update System 2020-04-30 04:13:04 UTC
FEDORA-2020-309a1a1444 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-309a1a1444`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-309a1a1444

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

Comment 10 Fedora Update System 2020-05-08 02:43:57 UTC
FEDORA-2020-309a1a1444 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.