Bug 2237537 - F40FailsToInstall: python3-yubikey-manager
Summary: F40FailsToInstall: python3-yubikey-manager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yubikey-manager
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gerald Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2240616 (view as bug list)
Depends On:
Blocks: F40FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-09-05 21:29 UTC by Fedora Fails To Install
Modified: 2023-10-07 14:25 UTC (History)
4 users (show)

Fixed In Version: yubikey-manager-5.2.0-2.20230821gitd1bf843.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-07 14:25:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Yubico yubikey-manager issues 570 0 None open ykman has a check which prevents use of python >= 23.4 - F40 will use 24.2 2023-09-05 23:53:50 UTC

Description Fedora Fails To Install 2023-09-05 21:29:54 UTC
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/

Your package (yubikey-manager) Fails To Install in Fedora 40:

can't install python3-yubikey-manager:
  - nothing provides (python3.12dist(keyring) < 24~~ with python3.12dist(keyring) >= 23.4) needed by python3-yubikey-manager-5.2.0-1.20230821gitd1bf843.fc40.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. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-40-x86_64 --config-opts mirrored=False install python3-yubikey-manager


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/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Ben Beasley 2023-09-06 11:41:21 UTC
See https://src.fedoraproject.org/rpms/python-keyring/pull-request/24. I should have double-checked for version upper bounds rather than taking the successful impact check in https://src.fedoraproject.org/rpms/python-keyring/pull-request/23 at face value.

yubikey-manager upstream still requires "^23.4", but the code doesn’t appear to use the keyring.backends.OS_X or keyring.util.properties modules, and the removal of these modules was the only breaking change in version 24, so it should be possible to loosen the dependency version.

I requested that the python-keyring build be untagged from Rawhide to buy us a little time to deal with the incompatible version bounds: https://pagure.io/releng/issue/11660

Comment 2 Gerald Cox 2023-09-06 14:20:32 UTC
(In reply to Ben Beasley from comment #1)
> See https://src.fedoraproject.org/rpms/python-keyring/pull-request/24. I
> should have double-checked for version upper bounds rather than taking the
> successful impact check in
> https://src.fedoraproject.org/rpms/python-keyring/pull-request/23 at face
> value.
> 
> yubikey-manager upstream still requires "^23.4", but the code doesn’t appear
> to use the keyring.backends.OS_X or keyring.util.properties modules, and the
> removal of these modules was the only breaking change in version 24, so it
> should be possible to loosen the dependency version.
> 
> I requested that the python-keyring build be untagged from Rawhide to buy us
> a little time to deal with the incompatible version bounds:
> https://pagure.io/releng/issue/11660

Thanks for the info.  I notified upstream yesterday (see bug above).

Comment 3 Fedora Fails To Install 2023-09-08 09:39:28 UTC
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/

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

Thanks for taking care of it!

Comment 4 Miro Hrončok 2023-09-25 14:52:20 UTC
Anyway, this is now happening for real.

Comment 5 Miro Hrončok 2023-09-25 14:52:29 UTC
*** Bug 2240616 has been marked as a duplicate of this bug. ***

Comment 6 Gerald Cox 2023-09-25 15:40:35 UTC
(In reply to Miro Hrončok from comment #4)
> Anyway, this is now happening for real.

Yes, I am aware.  If you look at the upstream tracking bug you will see where upstream
has resolved the issue and will be releasing a new version in the next week or so 
to address.  Since this only affects F40, I believe it is reasonable to wait this 
short amount of time to do the update.  If I'm mistaken and there is some urgency
that I'm missing, please advise and I'll immediately do the patch and then in another
week do another update.

Comment 7 Gerald Cox 2023-10-07 14:19:39 UTC
It has been 2 weeks and upstream still hasn't pushed the update, so I'm patching for rawhide.
Will apply the upstream update when available.

Comment 8 Fedora Update System 2023-10-07 14:23:32 UTC
FEDORA-2023-32ec0d6437 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-32ec0d6437

Comment 9 Fedora Update System 2023-10-07 14:25:11 UTC
FEDORA-2023-32ec0d6437 has been pushed to the Fedora 40 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.