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 1927400

Summary: F35FailsToInstall: python3-netmiko
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-netmikoAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dtantsur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-11 19:56:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1927313    

Description Miro Hrončok 2021-02-10 16:35:08 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (python-netmiko) Fails To Install in Fedora 35:

can't install python3-netmiko:
  - nothing provides python3.9dist(ntc-templates) needed by python3-netmiko-3.3.3-1.fc35.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Dmitry Tantsur 2021-02-10 16:39:29 UTC
/me rolls eyes

Miro, can we make the automatic deriving of dependencies opt-in? I haven't seen anything positive from it yet, but already 2 false negatives..

Comment 2 Miro Hrončok 2021-02-10 16:45:17 UTC
Could you help me understand why  is this a false negative?

Comment 3 Dmitry Tantsur 2021-02-10 16:48:26 UTC
> Could you help me understand why  is this a false negative?

There are two ways to get the files from ntc-templates. The old one, the one we have, is through python3-textfsm. The new one (PyPI friendly) is through the new Python package ntc-templates. See the discussion on https://src.fedoraproject.org/rpms/python-netmiko/pull-request/4 for details.

I'm preparing a 3.3.3-2 build meanwhile.

Comment 4 Miro Hrončok 2021-02-10 16:57:33 UTC
Upstream declares this Python package needs ntc-templates. Either upstream is wrong (work with them) or the Fedora package does something to diverge from upstream (and the dependency needs to be patched out).

Documentation: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_automatically_generated_dependencies

As for your suggestion to make this opt-in: We use the generators for thousands of packages, and a handful of cases like this IMHO isn't a good reason to make them opt-in. You can always opt-out. If you disagree, feel free to open this as a topic for discussion on the Fedora's python-devel mailing list.

Comment 5 Miro Hrončok 2021-02-11 19:56:46 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 35.

Thanks for taking care of it!