From f13a598ffac6d2bdb684abba34edf8312fec3b8f Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 6 Oct 2023 21:51:51 +0200 Subject: [PATCH] Drop Python 3.8 support --- .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/publish-to-test-pypi.yml | 4 ++-- .github/workflows/pythonpackage.yml | 6 +++--- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- pyproject.toml | 2 +- setup.cfg | 3 +-- tox.ini | 4 ++-- 8 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index a6d2b95a..5bca555b 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4.7.1 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 417d3f1f..af8e74d5 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -16,10 +16,10 @@ jobs: with: ref: development fetch-depth: 0 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4.7.1 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index ff25969b..2fa373a4 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -16,7 +16,7 @@ jobs: strategy: max-parallel: 1 matrix: - python-version: [3.10.8] + python-version: [3.9] steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.10.8] + python-version: [3.9] steps: - uses: actions/checkout@v4 @@ -63,7 +63,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.8, 3.9, 3.10.8] + python-version: [3.9, 3.10.14, 3.11.4] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4a3db2e..14ba04dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: rev: v3.14.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] exclude: "external_src/int-tools" - repo: https://github.com/asottile/add-trailing-comma diff --git a/README.md b/README.md index 14a9ddf0..cfa02fdc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ pyatmo [![PyPi](https://img.shields.io/pypi/v/pyatmo.svg)](https://pypi.python.org/pypi/pyatmo) [![license](https://img.shields.io/pypi/l/pyatmo.svg)](https://github.com/jabesq/pyatmo/blob/master/LICENSE.txt) -> **Warning:** +> **Warning:** > Due to personal reasons, I am currently unable to dedicate sufficient time to effectively manage this repository. Consequently, no attention will be given to existing or forthcoming issues until further notice. **However**, I want to assure you that I will continue to merge any pull requests that are submitted, provided they successfully pass the continuous integration tests and do not exhibit any glaring issues. > > I apologize for any inconvenience this may cause, and I sincerely hope to have the capacity to allocate more time to this repository in the near future. Your understanding is greatly appreciated. @@ -72,4 +72,4 @@ Another way to run the tests is by using `tox`. This runs the tests against the or by specifying a python version - tox -e py38 + tox -e py39 diff --git a/pyproject.toml b/pyproject.toml index df66b448..5ecd4104 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["wheel", "setuptools", "attrs>=17.1"] build-backend = "setuptools.build_meta" [tool.pytest.ini_options] -minversion = "6.0" +minversion = "7.0" asyncio_mode = "auto" [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg index d643327e..7e0bb9bd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ classifiers = License :: OSI Approved :: MIT License Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 @@ -28,7 +27,7 @@ install_requires = oauthlib~=3.1 requests~=2.24 requests-oauthlib~=1.3 -python_requires = >=3.8 +python_requires = >=3.9 include_package_data = True package_dir = =src setup_requires = diff --git a/tox.ini b/tox.ini index 3b23687b..55fe03e1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,13 @@ [tox] -envlist = py38,py39,py310 +envlist = py39,py310,py311 isolated_build = True skip_missing_interpreters = True [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [testenv] deps =