Bug 2291789
Summary: | F41FailsToInstall: python3-netmiko (does not work with Python 3.13 due to removed telnetlib) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | python-netmiko | Assignee: | Dmitry Tantsur <dtantsur> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | awilliam, dtantsur, mhroncok |
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: | 2024-07-09 12:47:24 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: | 2291946 | ||
Bug Blocks: | 2260877, 2244836 |
Description
Fedora Fails To Install
2024-06-12 11:26:00 UTC
This is because Python 3.13 landed. netmiko was not built as part of it. This appears to be because it buildrequires python3-textfsm, which requires "python3.13dist(future)", which doesn't exist, because future failed to build for 3.13 due to the 2to3 and uu libraries being removed in 3.13: https://bugzilla.redhat.com/show_bug.cgi?id=2291946 (textfsm) https://bugzilla.redhat.com/show_bug.cgi?id=2250662 (future) OK, I fixed textfsm not to require future, so we should be able to rebuild netmiko now. Unfortunately, we now run into a much more fundamental issue: netmiko heavily uses telnetlib, which is removed in Python 3.13 - https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals . The upstream issue - https://github.com/ktbyers/netmiko/issues/3177 - is open and no fixes are posted; one suggestion is to just vendor telnetlib.py (https://github.com/ktbyers/netmiko/issues/3177#issuecomment-1726629323 ). Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Status update: the issue has been addressed upstream. I'm waiting for a release - the maintainer is working on it (hitting some roadblocks with a dependency). Blocked on python-cffi now. A new version with 3.13 fixes is available as RC1, the corresponding bug is WONTFIX: https://bugzilla.redhat.com/show_bug.cgi?id=2283074. > Blocked on python-cffi now.
Blocked how?
I think I'm going to hack around the dependency on 1.17rc1, so no longer blocked (and in fact, should be fixed in 4.4.0-1 now). |