Bug 2098674 - F37FailsToInstall: python3-azure-cli-core, python3-azure-cli-telemetry, python3-azure-cli-testsdk, azure-cli
Summary: F37FailsToInstall: python3-azure-cli-core, python3-azure-cli-telemetry, pytho...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: azure-cli
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Major Hayden 🤠
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.11 F37FailsToInstall 2098830 2098831 2098832 2098833 2098834 2098835 2098836 2098837 2098838 2098839 2098840 2098841 2098842 2098843 2098844 2098845
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:29 UTC by Miro Hrončok
Modified: 2022-06-23 22:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-23 22:21:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Azure azure-sdk-for-python issues 24928 0 None open [azure-core] Failing to import in Python 3.11.0b3 2022-06-21 18:28:04 UTC

Description Miro Hrončok 2022-06-20 09:29:18 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 (azure-cli) Fails To Install in Fedora 37:

can't install python3-azure-cli-core:
  - nothing provides python3.10dist(argcomplete) >= 1.8 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(humanfriendly) >= 10 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(knack) >= 0.9 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(msal) = 1.18~b1 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(msal-extensions) >= 1 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pkginfo) >= 1.5.0.1 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(psutil) >= 5.8 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pyjwt) >= 2.1 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pyopenssl) >= 17.1 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(requests) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(cryptography) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(jmespath) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(requests[socks]) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-core) < 2~~ with python3.10dist(azure-mgmt-core) >= 1.2) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(packaging) < 22~~ with python3.10dist(packaging) >= 20.9) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(msrestazure) >= 0.6.4 with python3.10dist(msrestazure) < 0.7) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(paramiko) < 3~~ with python3.10dist(paramiko) >= 2.0.8) needed by python3-azure-cli-core-2.37.0-4.fc37.noarch
  
can't install python3-azure-cli-telemetry:
  - nothing provides python(abi) = 3.10 needed by python3-azure-cli-telemetry-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(applicationinsights) < 0.12~~ with python3.10dist(applicationinsights) >= 0.11.1) needed by python3-azure-cli-telemetry-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(portalocker) < 3~~ with python3.10dist(portalocker) >= 1.6) needed by python3-azure-cli-telemetry-2.37.0-4.fc37.noarch
  
can't install python3-azure-cli-testsdk:
  - nothing provides python3.10dist(jmespath) needed by python3-azure-cli-testsdk-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pytest) needed by python3-azure-cli-testsdk-2.37.0-4.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by python3-azure-cli-testsdk-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(configargparse) >= 0.12 needed by python3-azure-cli-testsdk-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(vcrpy) >= 1.10.3 needed by python3-azure-cli-testsdk-2.37.0-4.fc37.noarch
  
can't install azure-cli:
  - nothing provides (python3.10dist(azure-cosmos) >= 3 with python3.10dist(azure-cosmos) < 4 with python3.10dist(azure-cosmos) >= 3.0.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-batch) >= 12 with python3.10dist(azure-batch) < 12.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-datalake-store) >= 0.0.49 with python3.10dist(azure-datalake-store) < 0.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-graphrbac) >= 0.60 with python3.10dist(azure-graphrbac) < 0.61) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-keyvault) >= 1.1 with python3.10dist(azure-keyvault) < 1.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-loganalytics) >= 0.1 with python3.10dist(azure-loganalytics) < 0.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-apimanagement) >= 3 with python3.10dist(azure-mgmt-apimanagement) < 3.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-applicationinsights) >= 1 with python3.10dist(azure-mgmt-applicationinsights) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-authorization) >= 0.61 with python3.10dist(azure-mgmt-authorization) < 0.62) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-batch) >= 16.1 with python3.10dist(azure-mgmt-batch) < 16.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-botservice) >= 0.3 with python3.10dist(azure-mgmt-botservice) < 0.4) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-compute) >= 27 with python3.10dist(azure-mgmt-compute) < 27.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-consumption) >= 2 with python3.10dist(azure-mgmt-consumption) < 3) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-containerservice) >= 19.1 with python3.10dist(azure-mgmt-containerservice) < 19.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-datalake-analytics) >= 0.2.1 with python3.10dist(azure-mgmt-datalake-analytics) < 0.3) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-datalake-store) >= 0.5 with python3.10dist(azure-mgmt-datalake-store) < 0.6) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-deploymentmanager) >= 0.2 with python3.10dist(azure-mgmt-deploymentmanager) < 0.3) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-devtestlabs) >= 4 with python3.10dist(azure-mgmt-devtestlabs) < 5) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-dns) >= 8 with python3.10dist(azure-mgmt-dns) < 8.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-hdinsight) >= 9 with python3.10dist(azure-mgmt-hdinsight) < 9.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-imagebuilder) >= 1 with python3.10dist(azure-mgmt-imagebuilder) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-iotcentral) >= 10~b1 with python3.10dist(azure-mgmt-iotcentral) < 10.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-kusto) >= 0.3 with python3.10dist(azure-mgmt-kusto) < 0.4) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-managedservices) >= 1 with python3.10dist(azure-mgmt-managedservices) < 2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-managementgroups) >= 1 with python3.10dist(azure-mgmt-managementgroups) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-media) >= 9 with python3.10dist(azure-mgmt-media) < 10) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-monitor) >= 3 with python3.10dist(azure-mgmt-monitor) < 3.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-msi) >= 6.0.1 with python3.10dist(azure-mgmt-msi) < 6.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-netapp) >= 7 with python3.10dist(azure-mgmt-netapp) < 7.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-network) >= 20 with python3.10dist(azure-mgmt-network) < 20.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-policyinsights) >= 1.1~b2 with python3.10dist(azure-mgmt-policyinsights) < 1.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-privatedns) >= 1 with python3.10dist(azure-mgmt-privatedns) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-recoveryservicesbackup) >= 5 with python3.10dist(azure-mgmt-recoveryservicesbackup) < 5.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-relay) >= 0.1 with python3.10dist(azure-mgmt-relay) < 0.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-search) >= 8 with python3.10dist(azure-mgmt-search) < 9) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-servicebus) >= 7.1 with python3.10dist(azure-mgmt-servicebus) < 7.2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-servicefabric) >= 1 with python3.10dist(azure-mgmt-servicefabric) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-servicefabricmanagedclusters) >= 1 with python3.10dist(azure-mgmt-servicefabricmanagedclusters) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-storage) >= 20 with python3.10dist(azure-mgmt-storage) < 20.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-mgmt-trafficmanager) >= 1 with python3.10dist(azure-mgmt-trafficmanager) < 1.1) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-multiapi-storage) >= 0.9 with python3.10dist(azure-multiapi-storage) < 0.10) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-storage-common) >= 1.4 with python3.10dist(azure-storage-common) < 2) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-synapse-accesscontrol) >= 0.5 with python3.10dist(azure-synapse-accesscontrol) < 0.6) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-synapse-artifacts) >= 0.12 with python3.10dist(azure-synapse-artifacts) < 0.13) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-synapse-managedprivateendpoints) >= 0.3 with python3.10dist(azure-synapse-managedprivateendpoints) < 0.4) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(azure-synapse-spark) >= 0.2 with python3.10dist(azure-synapse-spark) < 0.3) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(colorama) >= 0.4.4 with python3.10dist(colorama) < 0.5) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(antlr4-python3-runtime) >= 4.9.3 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-data-tables) = 12.4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-keyvault-administration) = 4~b3 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-advisor) = 9 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-batchai) = 7~b1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-billing) = 6 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-cdn) = 12 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-containerregistry) = 8.2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-cosmosdb) = 7~b2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-eventgrid) = 9 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-extendedlocation) = 1~b2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-iothub) = 2.2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-iothubprovisioningservices) = 1.1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-keyvault) = 9.3 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-loganalytics) = 13~b4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-marketplaceordering) = 1.1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-redhatopenshift) = 1.1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-resource) = 21.1~b1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-security) = 2~b1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-servicelinker) = 1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-signalr) = 1~b2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-sqlvirtualmachine) = 1~b2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(azure-mgmt-synapse) = 2.1~b2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(chardet) >= 3.0.4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(fabric) >= 2.4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(javaproperties) >= 0.5.1 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(jsondiff) >= 2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pygithub) >= 1.38 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(pynacl) >= 1.4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(scp) >= 0.13.2 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(semver) >= 2.13 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(sshtunnel) >= 0.1.4 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(websocket-client) >= 1.2.3 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(xmltodict) >= 0.12 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(distro) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(urllib3) needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides python3.10dist(six) >= 1.10 needed by azure-cli-2.37.0-4.fc37.noarch
  - nothing provides (python3.10dist(packaging) < 22~~ with python3.10dist(packaging) >= 20.9) needed by azure-cli-2.37.0-4.fc37.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-37-x86_64 --disablerepo='*' --enablerepo=local install python3-azure-cli-core python3-azure-cli-telemetry python3-azure-cli-testsdk azure-cli


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 Miro Hrončok 2022-06-20 10:03:46 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Major Hayden 🤠 2022-06-21 18:28:04 UTC
azure-core seems to be the root of the problem here. As soon as I try to import it, I get a traceback:

```
>>> import azure.core
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.11/site-packages/azure/core/__init__.py", line 30, in <module>
    from ._pipeline_client import PipelineClient
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/azure/core/_pipeline_client.py", line 30, in <module>
    from .pipeline import Pipeline
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/azure/core/pipeline/__init__.py", line 178, in <module>
    from ._base import Pipeline  # pylint: disable=wrong-import-position
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/azure/core/pipeline/_base.py", line 46, in <module>
    class _SansIOHTTPPolicyRunner(HTTPPolicy, Generic[HTTPRequestType, HTTPResponseType]):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen abc>", line 106, in __new__
  File "/usr/local/lib/python3.11/typing.py", line 1869, in __init_subclass__
    raise TypeError(f"Some type variables ({s_vars}) are"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Some type variables (~HTTPRequestType, ~HTTPResponseType) are not listed in Generic[~HTTPRequestType, ~HTTPResponseType]
```

I've opened an upstream bug: https://github.com/Azure/azure-sdk-for-python/issues/24928

Comment 3 Miro Hrončok 2022-06-23 22:21:04 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 37.

Thanks for taking care of it!


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