From 2ce71e9ded5e9bb87ce96519ce59db942f4f9670 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 17 Jul 2023 17:56:37 +0200 Subject: [PATCH] feat: drop support for python 3.7 (#242) --- .github/workflows/test.yml | 2 +- .gitlab-ci.yml | 2 +- .pre-commit-config.yaml | 2 +- setup.py | 3 +-- tox.ini | 3 +-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19a1cd2..92d72cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] name: Python ${{ matrix.python-version }} steps: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f2fa23..8fcc375 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ test: parallel: matrix: - - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + - python_version: ["3.8", "3.9", "3.10", "3.11"] image: python:${python_version}-alpine before_script: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3caa94b..d769cd9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: rev: v3.9.0 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/pycqa/isort rev: 5.12.0 diff --git a/setup.py b/setup.py index d0cdbf5..2dd0531 100644 --- a/setup.py +++ b/setup.py @@ -29,13 +29,12 @@ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ], - python_requires=">=3.7", + python_requires=">=3.8", install_requires=[ "python-dateutil>=2.7.5", "requests>=2.20", diff --git a/tox.ini b/tox.ini index e8b91b0..3470ad1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, py310, py311 +envlist = py38, py39, py310, py311 [testenv] passenv = FAKE_API_ENDPOINT @@ -10,7 +10,6 @@ commands = [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310