From b6a17d4f5ad8a0e291a93dbb29d3b2c431248508 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Tue, 5 Mar 2024 15:08:56 +0100 Subject: [PATCH] raise python lower bound to 3.8 --- .github/workflows/run-tests.yml | 2 +- README.md | 2 +- setup.py | 7 ++++--- tox.ini | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 84691bb..7fc4844 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.8] + python-version: [3.8, 3.10] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index bfe0c15..b16e89a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ to the syntax [here](https://github.com/Animosity/CraftIRC/wiki/Complete-idiot's Requirements ------------ -* Python 3.6+ +* Python 3.8+ * PyYAML * ruamel.yaml (optional) diff --git a/setup.py b/setup.py index 38ea1e5..838c944 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ packages=find_packages(), include_package_data=True, install_requires=['pyyaml'], - python_requires='>=3.6', + python_requires='>=3.8', entry_points={ 'console_scripts': ['yamale=yamale.command_line:main'], }, @@ -29,9 +29,10 @@ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - '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', + 'Programming Language :: Python :: 3.12', ] ) diff --git a/tox.ini b/tox.ini index b8461b2..f7917e3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -envlist = py36,py38 +envlist = py38, py310 [gh-actions] python = - 3.6: py36 3.8: py38 + 3.10: py310 [testenv] commands = py.test --cov yamale --cov-report term-missing yamale