From 41ed2b62d497f055f805f8f7fa364eb23c3eac57 Mon Sep 17 00:00:00 2001 From: scito Date: Sat, 15 Mar 2025 09:07:14 +0100 Subject: [PATCH] build: drop support for Python 3.8 and require Python 3.9 or higher --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- pyproject.toml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1945820..bc780b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: # 3.x is used to run code coverage - python-version: ["3.x", "3.13", "3.12", "3.11", "3.10", "3.9", "3.8"] + python-version: ["3.x", "3.13", "3.12", "3.11", "3.10", "3.9"] platform: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm, macos-13] # exclude: diff --git a/README.md b/README.md index 3e4b5bb..5805758 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ![coverage](https://img.shields.io/badge/coverage-95%25-brightgreen) [![License](https://img.shields.io/github/license/scito/extract_otp_secrets)](https://github.com/scito/extract_otp_secrets/blob/master/LICENSE) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/scito/extract_otp_secrets?sort=semver)](https://github.com/scito/extract_otp_secrets/releases/latest) -![python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue) +![python versions](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue) [![Docker image](https://img.shields.io/badge/docker-image-blue)](https://hub.docker.com/repository/docker/scit0/extract_otp_secrets/general) [![Linux](https://img.shields.io/badge/os-linux-yellow)](https://github.com/scito/extract_otp_secrets/releases/latest) [![Windows](https://img.shields.io/badge/os-windows-yellow)](https://github.com/scito/extract_otp_secrets/releases/latest) @@ -380,7 +380,7 @@ python extract_otp_secrets.py = < example_export.png * macOS * Windows * Uses UTF-8 on all platforms -* Supports Python >= 3.8 +* Supports Python >= 3.9 * Installation of shared system libraries is optional (🆕 since v2.3) * Provides a debug mode (-d) for analyzing import problems * Written in modern Python using type hints and following best practices diff --git a/pyproject.toml b/pyproject.toml index f239168..7364948 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,6 @@ classifiers = [ "Topic :: Utilities", "Topic :: Security", "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -55,7 +54,7 @@ license = {text = "GNU General Public License v3 (GPLv3)"} readme = "README.md" authors = [{name = "scito", email = "info@scito.ch"}] maintainers = [{name = "scito", email = "info@scito.ch"}] -requires-python = ">=3.8, <4" +requires-python = ">=3.9, <4" scripts = {extract_otp_secrets = "extract_otp_secrets:sys_main"} urls = {Project-URL = "https://github.com/scito/extract_otp_secrets", Bug-Reports = "https://github.com/scito/extract_otp_secrets/issues", Source = "https://github.com/scito/extract_otp_secrets"}