Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dernerl opened this issue Jun 6, 2024 · 7 comments
Open

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

dernerl opened this issue Jun 6, 2024 · 7 comments
Labels
bug Something isn't working unable-to-replicate the reported bug cannot be reproduced

Comments

@dernerl
Copy link

dernerl commented Jun 6, 2024

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 #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):

  • Client: Azure DevOps Pipeline

Additional context
I came from this project: ztrhgf/DevOps_Pipelines#9

@dernerl dernerl added the bug Something isn't working label Jun 6, 2024
@almenscorner
Copy link
Owner

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
Copy link
Author

dernerl commented Jun 6, 2024

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
Copy link
Owner

almenscorner commented Jun 6, 2024

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

@dernerl
Copy link
Author

dernerl commented Jun 6, 2024

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

do you mean that? unfortunately the same
image

@almenscorner
Copy link
Owner

almenscorner commented Jun 6, 2024

pip3 install --no-cache-dir IntuneCD

@dernerl
Copy link
Author

dernerl commented Jun 6, 2024

sorry, stupid mistake. but unfortunately still not
image

@almenscorner
Copy link
Owner

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

@almenscorner almenscorner added the unable-to-replicate the reported bug cannot be reproduced label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unable-to-replicate the reported bug cannot be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants