From b96e79721e4b70bcefe91c69895aa9645df5ebf3 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Fri, 12 Apr 2024 14:35:09 +0200 Subject: [PATCH] MAINT: Remove support for Python 3.7 --- .gitlab-ci.yml | 11 ++--------- CHANGELOG.md | 2 ++ setup.py | 2 +- tox.ini | 2 +- 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2d07166..1c11ebfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -62,11 +62,11 @@ mypy: allow_failure: true # run unit tests -unittest_py3.7: +unittest_py3.8: tags: [ docker ] stage: test needs: [ ] - image: python:3.7 + image: python:3.8 script: &python_test_script # Python docker has problems with tox and pip so use plain pytest here - touch ~/.pylinkahead.ini @@ -74,13 +74,6 @@ unittest_py3.7: - pip install . - python -m pytest unittests -unittest_py3.8: - tags: [ docker ] - stage: test - needs: [ ] - image: python:3.8 - script: *python_test_script - # This needs to be changed once Python 3.9 isn't the standard Python in Debian # anymore. unittest_py3.9: diff --git a/CHANGELOG.md b/CHANGELOG.md index 39663cc7..c8697bfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### +* Support for Python 3.7 + ### Fixed ### * [#104](https://gitlab.com/linkahead/linkahead-pylib/-/issues/104) Selecting diff --git a/setup.py b/setup.py index 27f305c2..ee2a5fb6 100755 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ def setup_package(): "Topic :: Scientific/Engineering :: Information Analysis", ], packages=find_packages('src'), - python_requires='>=3.7', + python_requires='>=3.8', package_dir={'': 'src'}, install_requires=['lxml>=4.6.3', "requests[socks]>=2.26", diff --git a/tox.ini b/tox.ini index b87f6e81..bbaaa1fc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py37, py38, py39, py310, py311, py312, py313 +envlist=py38, py39, py310, py311, py312, py313 skip_missing_interpreters = true [testenv] -- GitLab