From d68600545880dff355c28b72fcf1b8591aaf1824 Mon Sep 17 00:00:00 2001 From: Mark Pittaway Date: Wed, 12 Jun 2024 23:34:11 +1000 Subject: [PATCH] Remove support for Python 3.8 --- .github/workflows/nose-tests.yml | 10 +++++----- setup.cfg | 4 ++-- setup.py | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nose-tests.yml b/.github/workflows/nose-tests.yml index 0d69f18893..79b7b2c59c 100644 --- a/.github/workflows/nose-tests.yml +++ b/.github/workflows/nose-tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 @@ -27,7 +27,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 @@ -43,7 +43,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 @@ -64,7 +64,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 @@ -87,7 +87,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.10'] steps: - uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index bc5accf5d2..a72c0d170b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,10 +25,10 @@ exclude-dir = prod_api/tests/ [mypy] mypy_path = ./stubs -python_version = 3.8 +python_version = 3.10 warn_unused_configs = True allow_untyped_globals = True -exclude = env +exclude = env|src [mypy-nose.*] ignore_missing_imports = True diff --git a/setup.py b/setup.py index fec3727740..ed813c0512 100644 --- a/setup.py +++ b/setup.py @@ -89,7 +89,7 @@ setup( name="Superdesk-Core", - version="2.7.0rc5", + version="3.0.0.dev0", description="Superdesk Core library", long_description=LONG_DESCRIPTION, author="petr jasek", @@ -97,6 +97,7 @@ url="https://github.com/superdesk/superdesk-core", license="GPLv3", platforms=["any"], + python_requires=">=3.10", packages=find_packages(exclude=["tests*", "features*"]), package_data=package_data, include_package_data=True,