Skip to content

For packages with dependency on a specific version use specific version instead of version range#1937

Merged
anamnavi merged 1 commit intomasterfrom
fix-query-url
Feb 5, 2026
Merged

For packages with dependency on a specific version use specific version instead of version range#1937
anamnavi merged 1 commit intomasterfrom
fix-query-url

Conversation

@anamnavi
Copy link
Member

@anamnavi anamnavi commented Feb 5, 2026

PR Summary

For packages with a dependency with a specific version, PSResourceGet currently creates a version range with minVersion and maxVersion being the exact value. This is causing an issue for some dependency versions, for example Az.ContainerRegistryVersion version 5.0.1 which is a dependency of the latest Az module. This PR updates the code to create a specific version instead of version range for the OData query for those scenarios.

PR Context

Resolves #1933

PR Checklist

@anamnavi
Copy link
Member Author

anamnavi commented Feb 5, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi anamnavi merged commit 10f06cd into master Feb 5, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Az module results in 500 error with Save-PsResource

2 participants