Bug 2488358 - python-azure-mgmt-core fails to build with Python 3.15: TypeError: Permissions.__init__() got an unexpected keyword argument 'keys'
Summary: python-azure-mgmt-core fails to build with Python 3.15: TypeError: Permission...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-azure-mgmt-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeremy Cline
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15 F45FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-06-12 14:19 UTC by Karolina Surma
Modified: 2026-06-24 17:46 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-24 17:46:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-06-12 14:19:59 UTC
python-azure-mgmt-core fails to build with Python 3.15.0b2.

________________ ERROR collecting tests/test_authentication.py _________________
tests/test_authentication.py:37: in <module>
    from devtools_testutils.fake_credentials import FakeTokenCredential
/usr/lib/python3.15/site-packages/devtools_testutils/__init__.py:17: in <module>
    from .keyvault_preparer import KeyVaultPreparer
/usr/lib/python3.15/site-packages/devtools_testutils/keyvault_preparer.py:39: in <module>
    DEFAULT_PERMISSIONS = Permissions(
/usr/lib/python3.15/site-packages/azure/mgmt/keyvault/models/_models.py:2791: in __init__
    super().__init__(*args, **kwargs)
/usr/lib/python3.15/site-packages/azure/mgmt/keyvault/_utils/model_base.py:607: in __init__
    raise TypeError(f"{class_name}.__init__() got an unexpected keyword argument '{non_attr_kwargs[0]}'")
E   TypeError: Permissions.__init__() got an unexpected keyword argument 'keys'

https://docs.python.org/3.15/whatsnew/3.15.html

For our attempts to build python-azure-mgmt-core with Python 3.15, see:
https://koji.fedoraproject.org/koji/search?terms=python-azure-mgmt-core&type=package&match=exact

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.


Note You need to log in before you can comment on or make changes to this bug.