Skip to content

Commit

Permalink
Drop support for Python 3.8, add support for Python 3.13 (#383)
Browse files Browse the repository at this point in the history
This PR makes the following changes:
* Drop support for Python 3.8, which is
[EOL](https://devguide.python.org/versions/).
* Add CI build for Python 3.13.
* Refresh dependencies.

I tested this PR by launching and destroying a cluster.

Fixes #380.
  • Loading branch information
nchammas authored Dec 13, 2024
1 parent 3cce613 commit 7056d20
Show file tree
Hide file tree
Showing 11 changed files with 132 additions and 125 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flintrock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
python-version:
# Update the artifact upload steps below if modifying
# this list of Python versions.
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand All @@ -36,13 +36,13 @@ jobs:
- run: python -m build
- uses: actions/upload-artifact@v3
# Use the latest supported Python to build a standalone package.
if: ${{ matrix.python-version == '3.12' }}
if: ${{ matrix.python-version == '3.13' }}
with:
name: Flintrock Standalone - ${{ matrix.os }}
path: dist/Flintrock-*-standalone-*.zip
- uses: actions/upload-artifact@v3
# Use the oldest supported Python to build a wheel.
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.python-version == '3.8' }}
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.python-version == '3.9' }}
with:
name: Flintrock Wheel
path: dist/Flintrock-*.whl
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

[Unreleased]: https://github.com/nchammas/flintrock/compare/v2.1.0...master

Nothing notable yet.
### Changed

* [#383]: Dropped support for Python 3.8 and added CI build for Python 3.13.

[#383]: https://github.com/nchammas/flintrock/pull/383

## [2.1.0] - 2023-11-26

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ There are a few things you should do before diving in to write a new feature or

### Changing dependencies

If you are changing anything about Flintrock's dependencies, be sure to update the compiled requirements using [pip-tools] and the lowest version of Python that Flintrock supports (Python 3.8):
If you are changing anything about Flintrock's dependencies, be sure to update the compiled requirements using [pip-tools] and the lowest version of Python that Flintrock supports (Python 3.9):

[pip-tools]: https://github.com/jazzband/pip-tools

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Before using Flintrock, take a quick look at the
notice and [license](https://github.com/nchammas/flintrock/blob/master/LICENSE)
and make sure you're OK with their terms.

**Flintrock requires Python 3.8 or newer**, unless you are using one
**Flintrock requires Python 3.9 or newer**, unless you are using one
of our **standalone packages**. Flintrock has been thoroughly tested
only on OS X, but it should run on all POSIX systems.
A motivated contributor should be able to add
Expand Down
64 changes: 32 additions & 32 deletions requirements/developer.pip
Original file line number Diff line number Diff line change
@@ -1,102 +1,102 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --output-file=requirements/developer.pip requirements/developer.in
#
-e file:.#egg=Flintrock
# via -r requirements/user.pip
bcrypt==4.1.2
# via -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
bcrypt==4.2.1
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# paramiko
boto3==1.29.4
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# flintrock
botocore==1.32.4
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# boto3
# flintrock
# s3transfer
cffi==1.16.0
cffi==1.17.1
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# cryptography
# pynacl
click==8.1.7
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# flintrock
coverage[toml]==7.4.3
coverage[toml]==7.6.9
# via
# coverage
# pytest-cov
cryptography==42.0.5
cryptography==44.0.0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# paramiko
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
flake8==6.1.0
# via -r requirements/developer.in
iniconfig==2.0.0
# via pytest
jmespath==1.0.1
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# boto3
# botocore
mccabe==0.7.0
# via flake8
packaging==23.2
packaging==24.2
# via pytest
paramiko==3.4.0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# flintrock
pluggy==1.4.0
pluggy==1.5.0
# via pytest
pycodestyle==2.11.1
# via flake8
pycparser==2.21
pycparser==2.22
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# cffi
pyflakes==3.1.0
# via flake8
pynacl==1.5.0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# paramiko
pytest==8.0.1
pytest==8.3.4
# via
# -r requirements/developer.in
# pytest-cov
pytest-cov==4.1.0
pytest-cov==6.0.0
# via -r requirements/developer.in
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# botocore
pyyaml==6.0.1
pyyaml==6.0.2
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# flintrock
s3transfer==0.7.0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# boto3
six==1.16.0
six==1.17.0
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# python-dateutil
tomli==2.0.1
tomli==2.2.1
# via
# coverage
# pytest
urllib3==1.26.18
urllib3==1.26.20
# via
# -r requirements/user.pip
# -r /Users/nicholaschammas/Projects/nchammas/flintrock/requirements/user.pip
# botocore
2 changes: 1 addition & 1 deletion requirements/maintainer.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r developer.pip
wheel >= 0.31.0
twine == 4.0.2
PyInstaller == 6.2.0
PyInstaller == 6.11.1
build >= 1.0.3, < 2.0.0
Loading

0 comments on commit 7056d20

Please sign in to comment.