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

Support for azure-mgmt-recoveryservicesbackup v4.0+ #1469

Merged

Conversation

jeremycline
Copy link
Contributor

@jeremycline jeremycline commented Feb 27, 2024

SUMMARY

In newer versions of the library, the models module got split between two sub-packages, passivestamp and activestamp. All models used are part of the activestamp module, so conditionally import from there if the newer version is installed.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

azure_rm_common

ADDITIONAL INFORMATION

I looked into this because I tried pip-installing the requirements-azure.txt file, which pins the azure-cli-core package to 2.34. I'm using Fedora and it ships with Python 3.12, which dropped distutils. I wanted to see if the new version of azure-cli-core stopped using distutils, so I updated everything and this was the only incompatibility I noticed.

The newer azure-cli-core doesn't help with the missing distutils, so for Python 3.12+ setuptools also needs to be installed (which now provides distutils).

In newer versions of the library, the models module got split between
two sub-packages, `passivestamp` and `activestamp`. All models used are
part of the `activestamp` module, so conditionally import from there if
the newer version is installed.
@Fred-sun Fred-sun added enhancement New feature or request medium_priority Medium priority ready_for_review The PR has been modified and can be reviewed and merged labels Feb 28, 2024
@xuzhang3 xuzhang3 merged commit c0a2cbc into ansible-collections:dev Feb 29, 2024
@jeremycline jeremycline deleted the support-backuppolicy-8.0 branch February 29, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium_priority Medium priority ready_for_review The PR has been modified and can be reviewed and merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants