aliyun-openapi-python-sdk
aliyun-openapi-python-sdk copied to clipboard
Allow using jmespath 1.x
Relax the aliyun-python-sdk-core requirements to support jmespath 1.x and Python 3.11.
With the changes in the random package in Python 3.11, the random.sample function now requires a sequence as its first argument. This issue has been addressed in jmespath with this PR: https://github.com/jmespath/jmespath.py/pull/217.
The usage of jmespath in this SDK is straightforward and does not necessitate a 0.x version. Therefore, we can relax the constraint to allow 1.x versions as well to ensure broader SDK support for new Python versions.