Skip to content

Allow using jmespath 1.x - #544

Merged
yndu13 merged 2 commits into
aliyun:masterfrom
aronnebrivio:jmespath-update
Aug 18, 2026
Merged

Allow using jmespath 1.x#544
yndu13 merged 2 commits into
aliyun:masterfrom
aronnebrivio:jmespath-update

Conversation

@aronnebrivio

Copy link
Copy Markdown
Contributor

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: jmespath/jmespath.py#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.

@CLAassistant

CLAassistant commented Feb 28, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@mtraynham

Copy link
Copy Markdown

@sdk-team can this be merged and released? This has been sitting here for almost a year.

Related:

@yndu13
yndu13 merged commit dfb2a76 into aliyun:master Aug 18, 2026
1 of 10 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.

5 participants