Bug 1223435 - Leap 15.5: Get "nothing provides 'python3-packaging >= 20.9' needed by the to be installed azure-cli-core-2.36.0-150200.9.3.2.noarch" error messsage during updates
Summary: Leap 15.5: Get "nothing provides 'python3-packaging >= 20.9' needed by the to...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Cloud:Tools (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-26 16:00 UTC by Karen Van der Veer
Modified: 2024-07-08 12:30 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Error from the UI (33.47 KB, image/png)
2024-04-26 16:00 UTC, Karen Van der Veer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Van der Veer 2024-04-26 16:00:29 UTC
Created attachment 874524 [details]
Error from the UI

When I run the update from KDE UI in the system tray, I get the following error: 

nothing provides 'python3-packaging >= 20.9' needed by the to be installed azure-cli-core-2.36.0-150200.9.3.2.noarch 

I've poked around, and tried a recommendation to install the azure-cli from CloudTools. 

I've got the 2.17.1 version of the azure-cli.

When I ran the install, I got:
Reading installed packages...
There is an update candidate for 'azure-cli' from vendor 'obs://build.opensuse.org/Cloud', while the current vendor is 'SUSE LLC <https://www.suse.com/>'. Use 'zypper install azure-cli-2.59.0-144.4.noarch' to install this candidate.
Resolving package dependencies...

Problem: 1: nothing provides 'python3-packaging >= 20.9' needed by the to be installed azure-cli-2.36.0-150200.9.3.2.noarch
 Solution 1: do not install azure-cli-2.36.0-150200.9.3.2.noarch
 Solution 2: break azure-cli-2.36.0-150200.9.3.2.noarch by ignoring some of its dependencies

I just canceled out. But I did try to install the 2.59.0 version, and essentially got the same thing.
Comment 1 Robert Schweikert 2024-04-26 17:58:46 UTC
We are a couple of weeks away from getting the Python 3.11 build for the Azure toolchain, cli and SDK.

Not going to chase any issues with the Python 3.6 build at this point.

Going to close this bug as we already know the dependencies are consistent in the fixes that have already been submitted to SLE 15 and will make their way to openSUSE Leap.
Comment 2 John Paul Adrian Glaubitz 2024-04-26 18:27:49 UTC
Hi Karen,

(In reply to Karen Van der Veer from comment #0)
> When I run the update from KDE UI in the system tray, I get the following
> error: 
> 
> nothing provides 'python3-packaging >= 20.9' needed by the to be installed
> azure-cli-core-2.36.0-150200.9.3.2.noarch 

as previously suspected, this must be an issue in openSUSE and not with the Azure packages that I submitted to SLE-15-SP2.

I just used an old SLE-15-SP5 instance and verified that both `azure-cli` and `python3-azure-sdk` install fine on SLE-15-SP5.

Since openSUSE Leap 15.5 automatically inherits packages from SLE, I suspect an issue with the channel files. Chances are therefore that an even the update to the Python3.11-based SDK might not be installable in openSUSE Leap 15.5.

I will try to reach out to whoever is currently responsible for getting SLE updates into openSUSE Leap.
Comment 3 Marcus Meissner 2024-04-27 07:51:48 UTC
the leap 15.5 channels have also to be adjusted for your mega updates. 

it might have been overlooked a biit.
Comment 4 Marcus Meissner 2024-04-27 07:54:50 UTC
ah its before the mega update.

python311-packaging would be exported already, so it will fix itself once its released.
Comment 5 John Paul Adrian Glaubitz 2024-04-27 09:17:54 UTC
Would be great if this could be fixed before the 3.11-based packages are released since currently users cannot update the SDK and CLI packages on openSUSE 15.5.
Comment 6 John Paul Adrian Glaubitz 2024-05-28 06:20:06 UTC
FWIW, installing azure-cli is still not possible at the moment on openSUSE Leap 15.5 since the packages are still not imported from SLE. Even the Python3.11-based packages.

I assume that channel files need to be adjusted?
Comment 7 Karen Van der Veer 2024-06-23 14:13:22 UTC
I still can't get away from the "nothing provides" UI message. I was hopeful today because the update said it was an update for azure-cli-core, which has been the problem. But it's still trying to install the old versions. What would y'all recommend? Going with 15 sp6? Waiting a bit more?
Comment 8 Maintenance Automation 2024-07-08 12:30:05 UTC
SUSE-RU-2024:2319-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1223435
Maintenance Incident: [SUSE:Maintenance:34468](https://smelt.suse.de/incident/34468/)
Sources used:
openSUSE Leap 15.6 (src):
 python-distro-1.9.0-150600.3.2.1, python-sshtunnel-0.4.0-150600.3.2.1, python-xmltodict-0.13.0-150600.3.2.1
Public Cloud Module 15-SP6 (src):
 python-distro-1.9.0-150600.3.2.1, python-sshtunnel-0.4.0-150600.3.2.1, python-xmltodict-0.13.0-150600.3.2.1
Python 3 Module 15-SP6 (src):
 python-distro-1.9.0-150600.3.2.1, python-sshtunnel-0.4.0-150600.3.2.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.