Skip to content

Test in Python 3.6 #1

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

Merged
merged 3 commits into from
Apr 14, 2021
Merged

Test in Python 3.6 #1

merged 3 commits into from
Apr 14, 2021

Conversation

ajnelson-nist
Copy link
Member

The Python Software Foundation is supporting Python 3.6 until
2021-12-23.

CASE should test its tooling in Python 3.6 until that Python release
reaches end-of-life.

This patch is somewhat an XFAIL - I ran the unit tests in an Ubuntu
18.04 machine and found a feature used in a test is supported in
Python >= 3.7. A follow-on patch will correct that issue.

Signed-off-by: Alex Nelson alexander.nelson@nist.gov

The Python Software Foundation is supporting Python 3.6 until
2021-12-23.

CASE should test its tooling in Python 3.6 until that Python release
reaches end-of-life.

This patch is somewhat an XFAIL - I ran the unit tests in an Ubuntu
18.04 machine and found a feature used in a test is supported in
Python >= 3.7.  A follow-on patch will correct that issue.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
The prior patch worked in my local environment, but missed a nuance of
Python 3.8 being available in Github's runner, though 3.6 is the
action's configured version.  The Makefile PYTHON3 variable does a
newest-version-first search, so virtualenv wasn't found at runtime.

The name of the action's Python 3 command was found via the home page of
the setup-python action:
https://github.com/marketplace/actions/setup-python

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
Copy link

@asovern-mitre asovern-mitre left a comment

Choose a reason for hiding this comment

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

Additions look good for a 3.6 version.

@asovern-mitre asovern-mitre merged commit c69d0fc into develop Apr 14, 2021
@ajnelson-nist ajnelson-nist deleted the feature/test_in_python_3_6 branch April 22, 2021 20:30
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.

2 participants