From 107bcc5423e6a0519a919f4c732538cbbf4ea417 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 9 Jun 2026 14:38:07 +0200 Subject: [PATCH] update the required python version - drop Python2 classifier - specify python 3.10 as mininmum python version - update github action config file to use python 3.10 and 3.14 Signed-off-by: Andreas Lauser Approved-by: Michael Hahn --- .github/workflows/pythonpackage.yml | 6 +++--- setup.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 51f9cf9..bd6a462 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.8, 3.13] + python-version: ['3.10', '3.14'] steps: - uses: actions/checkout@v4 @@ -29,10 +29,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python 3.13 + - name: Set up Python 3.14 uses: actions/setup-python@v5 with: - python-version: 3.13 + python-version: 3.14 - name: Install pypa/build run: | python -m pip install build --user diff --git a/setup.py b/setup.py index 12d1d19..e7ed7a5 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from setuptools import setup from setuptools import find_packages @@ -20,10 +20,10 @@ def find_version(): license='MIT', classifiers=[ 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ], keywords=['parser', 'parsing'], url='https://github.com/eerimoq/textparser', py_modules=['textparser'], + python_requires='>=3.10', test_suite="tests")