From 6c1d60377235707f76a2023b08d1628a3dfea4d2 Mon Sep 17 00:00:00 2001 From: Tom White Date: Tue, 17 Sep 2024 14:38:23 +0100 Subject: [PATCH] Drop Python 3.9 --- .github/workflows/array-api-tests.yml | 4 ++-- .github/workflows/beam-tests.yml | 2 +- .github/workflows/dask-tests.yml | 2 +- .github/workflows/jax-tests.yml | 2 +- .github/workflows/modal-tests.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/scale-tests.yml.disabled | 2 +- .github/workflows/slow-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- docs/contributing.md | 2 +- examples/dataflow/README.md | 2 +- pyproject.toml | 3 +-- 12 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/array-api-tests.yml b/.github/workflows/array-api-tests.yml index 8fd75eff..46f79f6c 100644 --- a/.github/workflows/array-api-tests.yml +++ b/.github/workflows/array-api-tests.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout Cubed @@ -126,4 +126,4 @@ jobs: EOF - pytest -v -rxXfEA --hypothesis-max-examples=2 --disable-data-dependent-shapes --disable-extension linalg --hypothesis-disable-deadline --cov=cubed.array_api --cov-report=term-missing + pytest -v -rxXfEA --hypothesis-max-examples=2 --disable-data-dependent-shapes --disable-extension linalg --hypothesis-disable-deadline diff --git a/.github/workflows/beam-tests.yml b/.github/workflows/beam-tests.yml index 463196b2..1017acdd 100644 --- a/.github/workflows/beam-tests.yml +++ b/.github/workflows/beam-tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/dask-tests.yml b/.github/workflows/dask-tests.yml index 586d6fb2..0abb7da4 100644 --- a/.github/workflows/dask-tests.yml +++ b/.github/workflows/dask-tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/jax-tests.yml b/.github/workflows/jax-tests.yml index c8e0aa9e..02fdac7b 100644 --- a/.github/workflows/jax-tests.yml +++ b/.github/workflows/jax-tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/modal-tests.yml b/.github/workflows/modal-tests.yml index 4d48629a..d989a1ce 100644 --- a/.github/workflows/modal-tests.yml +++ b/.github/workflows/modal-tests.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9253c21f..d012df41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: "3.9" + python-version: "3.10" - name: Install pypa/build run: >- python3 -m diff --git a/.github/workflows/scale-tests.yml.disabled b/.github/workflows/scale-tests.yml.disabled index 14a5596c..bfdf3cda 100644 --- a/.github/workflows/scale-tests.yml.disabled +++ b/.github/workflows/scale-tests.yml.disabled @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/slow-tests.yml b/.github/workflows/slow-tests.yml index f95761b1..f3d980cd 100644 --- a/.github/workflows/slow-tests.yml +++ b/.github/workflows/slow-tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.9"] + python-version: ["3.10"] steps: - name: Checkout source diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d962eafe..4c7674d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-12", "windows-latest"] - python-version: ["3.9"] + python-version: ["3.10"] PIP_FLAGS: [""] include: - os: "ubuntu-latest" diff --git a/docs/contributing.md b/docs/contributing.md index 477fdc46..9cc18990 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -7,7 +7,7 @@ Contributions to Cubed are very welcome. Please head over to [GitHub](https://gi Create an environment with ```shell -conda create --name cubed python=3.9 +conda create --name cubed python=3.10 conda activate cubed pip install -r requirements.txt pip install -e . diff --git a/examples/dataflow/README.md b/examples/dataflow/README.md index fbfd5e3f..36512d03 100644 --- a/examples/dataflow/README.md +++ b/examples/dataflow/README.md @@ -9,7 +9,7 @@ 1. Install a Python environment with the basic package requirements: ```shell -conda create --name cubed-dataflow-examples -y python=3.9 +conda create --name cubed-dataflow-examples -y python=3.10 conda activate cubed-dataflow-examples pip install -r requirements.txt ``` diff --git a/pyproject.toml b/pyproject.toml index 22527ede..87336f14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,12 +17,11 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "aiostream", "array-api-compat",