From fa4f7b83ecd199e53a8c034b1307e3297d28e1ae Mon Sep 17 00:00:00 2001 From: profitroll Date: Sun, 19 Nov 2023 23:47:41 +0100 Subject: [PATCH] Drop support for Python 3.7 (due to EOL) --- .gitea/workflows/tests.yml | 2 +- README.md | 2 +- pyproject.toml | 3 +-- tox.ini | 5 +++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 4f511c3..7c680f2 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: container: catthehacker/ubuntu:act-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 6654d17..979f8e2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Small module that makes your journey with RMV REST API somehow easier. Based ful ## Requirements * RMV API key (Get it [here](https://opendata.rmv.de/site/start.html)) -* Python3 (Tested versions are 3.7.9 and 3.9.13) +* Python 3.8+ * git (Only for installation from source) ## Installation diff --git a/pyproject.toml b/pyproject.toml index 4445954..40287a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -66,4 +65,4 @@ extension-pkg-whitelist = ["ujson"] py-version = 3.8 [tool.coverage.run] -source = ["libbot"] +source = ["pyrmv"] diff --git a/tox.ini b/tox.ini index 85167c2..e4c6404 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,10 @@ [tox] minversion = 3.8.0 -envlist = py37, py38, py39, py310, py311 +envlist = py38, py39, py310, py311 isolated_build = true [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 @@ -14,6 +13,8 @@ python = [testenv] setenv = PYTHONPATH = {toxinidir} +passenv = + RMV_TOKEN deps = -r{toxinidir}/requirements/_.txt -r{toxinidir}/requirements/dev.txt