From ae4e1de64bbf3c6d68d36b4e6d1efe411aac7f85 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Tue, 17 Oct 2023 11:17:54 +0200 Subject: [PATCH] Bump min python to 3.9 --- .github/workflows/ci.yml | 8 ++------ .github/workflows/release.yml | 2 -- pyproject.toml | 3 +-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d16974c..f7098e50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,6 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - - uses: actions/setup-python@v3 - with: - python-version: 3.8 - run: python -m pip install --upgrade pip - run: python -m pip install -r requirements/ci.txt - run: tox -e static @@ -37,9 +34,8 @@ jobs: - {python: '3.11', os: ubuntu-22.04, tox: py311-full} - {python: '3.10', os: ubuntu-22.04, tox: py310-full} - {python: '3.9', os: ubuntu-22.04, tox: py39-full} - - {python: '3.8', os: ubuntu-22.04, tox: py38-full} - - {python: '3.8', os: macos-12, tox: py38} - - {python: '3.8', os: windows-2022, tox: py38} + - {python: '3.9', os: macos-12, tox: py39} + - {python: '3.9', os: windows-2022, tox: py39} steps: - run: sudo apt install --yes docker-compose if: ${{ contains(matrix.variant.os, 'ubuntu') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15088cc9..e5efdf95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,6 @@ jobs: fetch-depth: 0 # history required so setuptools_scm can determine version - uses: actions/setup-python@v3 - with: - python-version: 3.8 - run: python -m pip install --upgrade pip - run: python -m pip install -r requirements/wheels.txt diff --git a/pyproject.toml b/pyproject.toml index 2211a698..6ace6fb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -27,7 +26,7 @@ classifiers = [ "Topic :: Scientific/Engineering", "Typing :: Typed", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "email-validator", "pydantic >= 1.9", diff --git a/tox.ini b/tox.ini index 66eb678f..d020758f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312}-full +envlist = py{39,310,311,312}-full isolated_build = true [testenv]