Skip to content

Commit

Permalink
✨ [+feature] Added Python 3.13 support (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrownell authored Oct 17, 2024
2 parents 4ef3f23 + 1d72b45 commit 0e14ee9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/actions/build_and_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ 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: |
Expand All @@ -72,6 +66,12 @@ runs:
cd src/EndToEndTests
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version 3.12
- name: Bootstrap 3.13
shell: ${{ inputs.shell_name }}
run: |
cd src/EndToEndTests
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version 3.13
- name: Black
shell: ${{ inputs.shell_name }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ All changes to this repository are validated [GitHub runners](https://docs.githu

| Python Version | First Released | End of Support |
| --- | --- | --- |
| 3.13 | October 2024 | October 2029 |
| 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 |

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


Expand Down Expand Up @@ -1564,7 +1565,7 @@ def test_DeactivateWrongPythonVersion(self, tmp_path_factory, templates_path):
{root} has been activated.
ERROR: This environment was activated with "3.12".
ERROR: This environment was activated with "{PYTHON_VERSIONS[1]}".
""",
)

Expand Down

0 comments on commit 0e14ee9

Please sign in to comment.