From 6965c93fb7a8f4720b5a1cca9db287ad03ed7d35 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Wed, 27 Nov 2024 22:33:25 +0100 Subject: [PATCH] Drop support for Python 3.7 and 3.8 Python 3.7 reached end-of-life on 27/06/2023, and Python 3.8 on 07/10/2024. See https://devguide.python.org/versions/. --- .github/workflows/test_and_publish.yml | 6 ++---- pyproject.toml | 4 +--- tox.ini | 2 -- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index dcd38d4..8873745 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -12,11 +12,9 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] python-version: - - '3.7' - - '3.8' - '3.9' - '3.10' - - 'pypy-3.8' + - 'pypy-3.9' steps: - name: Check out code @@ -39,7 +37,7 @@ jobs: name: Test documentation runs-on: ubuntu-latest env: - PYTHON_VERSION: 3.8 + PYTHON_VERSION: '3.x' steps: - name: Check out code uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 3cf6f6c..33aa291 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,13 +19,11 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "License :: OSI Approved :: MIT License", ] -requires-python = ">=3.7, <4" +requires-python = ">=3.9, <4" dependencies = [ "Faker >= 4.1,< 20.0", ] diff --git a/tox.ini b/tox.ini index 446e9f8..5120320 100644 --- a/tox.ini +++ b/tox.ini @@ -9,8 +9,6 @@ isolated_build = true skip_missing_interpreters = true envlist = - py37 - py38 py39 py310 format