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

✨ [+feature] Added support for python 3.8 - 3.10 #15

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/actions/build_and_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@ inputs:
runs:
using: composite
steps:
- name: Bootstrap 3.8
shell: ${{ inputs.shell_name }}
run: |-
cd src/EndToEndTests
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version 3.8

- name: Bootstrap 3.9
shell: ${{ inputs.shell_name }}
run: |-
cd src/EndToEndTests
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version 3.9

- name: Bootstrap 3.10
shell: ${{ inputs.shell_name }}
run: |-
cd src/EndToEndTests
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version 3.10

- name: Bootstrap 3.11
shell: ${{ inputs.shell_name }}
run: |-
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ This repository includes tools and scripts that install python locally in as con

![deactivate screenshot](./Screenshots/Deactivate.png)

### Testing

All changes to this repository are validated [GitHub runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) across the [MacOS](https://www.apple.com/macos), [Ubuntu](https://ubuntu.com/), and [Windows](https://www.microsoft.com/en-us/windows) operating systems using the [Python versions](https://www.python.org/downloads/):

| Version | First Released | End of Support |
| --- | --- | --- |
| 3.12 | October 2023 | October 2028 |
| 3.11 | October 2022 | October 2027 |
| 3.10 | October 2021 | October 2026 |
| 3.9 | October 2020 | October 2025 |
| 3.8 | October 2019 | October 2024 |

## Using a PythonBootstrapper Repository

To begin using a git repository leveraging PythonBootstrapper functionality, run the scripts defined here in the following sections.
Expand Down
5 changes: 4 additions & 1 deletion src/EndToEndTests/EndToEndTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
INVALID_COMMAND = "this is an invalid command"
PYTHON_VERSIONS = [
None, # Use default version
"3.11",
"3.12",
"3.11",
"3.10",
"3.9",
"3.8",
]

# ----------------------------------------------------------------------
Expand Down