Closed alwaysharsha closed 1 month ago
@alwaysharsha Neither of these packages(packaging and portalocker) is required for our installation and is not defined in the requirment file. To avoid this problem, you can pre-install the packages you need to specify into your local environment. Thanks!
the recommended way to use this library (requirements-azure.txt) installs azure-cli-core==2.34.0 which has a lock on packaging<22.0. Other libraries I use require packaging>22.0. This needs to be updated to 2.46.0+ to remove that lock.
https://github.com/Azure/azure-cli/commit/97effd78072b03b6f7f49e651e4972616133519e
As another note, currently ansible-core==2.15.3
pulls packaging==23.1
.
Since installing ansible==8.2.0
pulls the listed ansible-core version, fresh installs of stable Ansible will also have problems related to this collection.
I would like to see this get fixed as I don't like downgrading ansible itself just to manage my Azure stack.
A security vulnerability was reported this week that is present in paramiko 2.12.0
today that is required by azure-cli-core==2.34.0
:
pipdeptree -r --packages paramiko
paramiko==2.12.0
└── azure-cli-core==2.34.0 [requires: paramiko>=2.0.8,<3.0.0]
The current version of azure-cli-core
, 2.55.0
, has a more updated requirement 'paramiko>=2.0.8,<4.0.0'
.
This may need to be updated as a priority.
The current version of
azure-cli-core
,2.55.0
, has a more updated requirement'paramiko>=2.0.8,<4.0.0'
.
Came here for this exact reason.
All related package has upgrade to latest! Thanks!
SUMMARY
Packages in the requirements.txt needs to be updated to match the compatible versions
ISSUE TYPE
COMPONENT NAME
requirements.txt we need to update the pin the version of packaging and also address the issue with portalocker. ERROR: azure-cli-telemetry 1.0.6 has requirement portalocker~=1.2, but you'll have portalocker 2.7.0 which is incompatible. ERROR: azure-cli-core 2.34.0 has requirement packaging<22.0,>=20.9, but you'll have packaging 23.1 which is incompatible.
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Docker file creation
EXPECTED RESULTS
All packages are installed without errors
ACTUAL RESULTS