almenscorner / IntuneCD

Tool to backup, update and document configurations in Intune
MIT License
277 stars 35 forks source link

[BUG] pip3 install IntuneCD installs not the latest version #204

Open dernerl opened 3 months ago

dernerl commented 3 months ago

Describe the bug pip3 install IntuneCD installs not the latest version but version 2.2.0 image image

To Reproduce if I use the ==version then this error occur image the latest version in the error message ist 2.3.0rc2 this issue also have my problem https://github.com/almenscorner/IntuneCD/issues/191 I will try these workarounds

Expected behavior if I use the 2.3.0rc2 Version, the installation is succesfull, but than I haver other errors which are fixed (presumably)

Run type (please complete the following information):

Additional context I came from this project: https://github.com/ztrhgf/DevOps_Pipelines/issues/9

almenscorner commented 3 months ago

I don't know why some Ubuntu Azure pipelines are not grabbing the latest version, it works if manually set but the latest one is not automatically grabbed. I think this is something that needs to be reported to MS. I have not been able to replicate this myself but I've seen others with the same issue

dernerl commented 3 months ago

And do you have any idea why an error message appears with install IntuneCD=2.3.3? Follow the error message

(from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.0b1, 1.4.0b2, 1.4.0, 1.4.1b1, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5b1, 1.4.5b2, 1.4.5, 1.4.6b1, 1.4.6, 1.4.7b1, 1.4.7, 1.4.8b1, 1.4.8, 1.4.9, 1.5.0, 1.5.1, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0b5, 2.0.0, 2.0.1, 2.0.2b1, 2.0.2, 2.0.3b1, 2.0.3b2, 2.0.3, 2.0.4b1, 2.0.4b2, 2.0.4b3, 2.0.4, 2.0.5b1, 2.0.5b2, 2.0.5, 2.0.6, 2.0.7, 2.0.8b1, 2.0.8, 2.0.9b1, 2.0.9b2, 2.0.9b3, 2.0.9b4, 2.1.0b1, 2.1.0, 2.1.1, 2.1.2b1, 2.1.2b2, 2.1.2b3, 2.1.2, 2.2.0b1, 2.2.0b2, 2.2.0b3, 2.2.0b4, 2.2.0b5, 2.2.0b6, 2.2.0b7, 2.2.0, 2.3.0b1, 2.3.0b2, 2.3.0b3, 2.3.0b4, 2.3.0b5, 2.3.0b6, 2.3.0b7, 2.3.0b8, 2.3.0rc1, 2.3.0rc2) ERROR: No matching distribution found for IntuneCD==2.3.3 only 2.3.0rc2 is supported to install

almenscorner commented 3 months ago

What happens if you run with --no-cache-dir in the pip install?

dernerl commented 3 months ago

What happens if you with --no-cache-dir in the pip install?

do you mean that? unfortunately the same image

almenscorner commented 3 months ago

pip3 install --no-cache-dir IntuneCD

dernerl commented 3 months ago

sorry, stupid mistake. but unfortunately still not image

almenscorner commented 3 months ago

If your pipeline is not using the latest Ubuntu even when set to latest try set the version manually to ubuntu-22.04