From 1e1ffdc85ab07220ab9b17230d724e3cb9b0c256 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Fri, 17 Jan 2025 15:10:14 +0000 Subject: [PATCH] Update Python versions (#638) --- .github/workflows/ci-cd.yml | 19 ++++++++++--------- README.rst | 3 --- setup.cfg | 4 ++-- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 0185e4b..c661d28 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 cache: 'pip' cache-dependency-path: '**/requirements*.txt' - name: Pre-Commit hooks @@ -51,19 +51,20 @@ jobs: name: Test strategy: matrix: - pyver: - - 3.12 - - 3.11 - - >- - 3.10 - - 3.9 - - 3.8 + pyver: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu, macos, windows] + experimental: [false] include: - pyver: pypy-3.9 os: ubuntu + experimental: false + - os: ubuntu + pyver: "3.14" + experimental: true + fail-fast: true runs-on: ${{ matrix.os }}-latest timeout-minutes: 15 + continue-on-error: ${{ matrix.experimental }} steps: - name: Checkout uses: actions/checkout@v4 @@ -122,7 +123,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.13 - name: Install dependencies run: python -m pip install -U pip wheel setuptools build twine diff --git a/README.rst b/README.rst index 2dc8276..0732f0b 100644 --- a/README.rst +++ b/README.rst @@ -92,9 +92,6 @@ The library supports explicit invalidation for specific function call by The method returns `True` if corresponding arguments set was cached already, `False` otherwise. - -Python 3.8+ is required - Thanks ------ diff --git a/setup.cfg b/setup.cfg index 23bf1a1..b7babe0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,11 +23,11 @@ classifiers = Programming Language :: Python 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 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Development Status :: 5 - Production/Stable @@ -39,7 +39,7 @@ keywords = lru_cache [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find: install_requires =