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

Add python version check #8504

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

yuhaoth
Copy link
Contributor

@yuhaoth yuhaoth commented Nov 9, 2023

Description

We have requested python 3.6 at https://mbed-tls.readthedocs.io/en/latest/getting_started/building/ . So we must disable CI test for older python

PR checklist

We have requested python 3.6 at
https://mbed-tls.readthedocs.io/en/latest/getting_started/building/

But the CI scripts still check python with 3.5

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
@yuhaoth yuhaoth added needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review component-test Test framework and CI scripts labels Nov 9, 2023
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't do this yet.

support_check_python_files () {
python3 - <<EOF
import sys
if sys.version_info.major >= 3 and sys.version_info.minor >= 6:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still have Python 3.5 on our CI. Until we upgrade, we need our Python scripts to work with Python 3.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-test Test framework and CI scripts DO-NOT-MERGE needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants