Skip to content

Commit

Permalink
Remove Python 3.9 and add Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Sep 16, 2024
1 parent 96d09c5 commit 57ce72b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Checkout source
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
python-version: "3.9"
python-version: "3.12"

- name: Run import tests
shell: bash -l {0}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2

- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.12

- name: Install pypa/build
run: python -m pip install build wheel
Expand Down
2 changes: 1 addition & 1 deletion ci/environment-3.9.yml → ci/environment-3.12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- defaults
- conda-forge
dependencies:
- python=3.9
- python=3.12
- nomkl
- pip
# Dask
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/test_imports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -o errexit


test_import () {
echo "Create environment: python=3.9 $1"
echo "Create environment: python=3.12 $1"
# Create an empty environment
conda create -q -y -n test-imports -c conda-forge python=3.9
conda create -q -y -n test-imports -c conda-forge python=3.12
conda activate test-imports
pip install -e .[$1]
echo "python -c '$2'"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
[console_scripts]
dask-ecs=dask_cloudprovider.cli.ecs:go
""",
python_requires=">=3.9",
python_requires=">=3.10",
)

0 comments on commit 57ce72b

Please sign in to comment.