From 3fb0576411701b57899cf9c812e32046ddc2adf9 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 20 Aug 2021 11:36:15 +0100 Subject: Drop support for Python 3.6. It's in security fix only mode (till EOY) and doesn't support module-level __getattr__ yet, which presents enough of a minor nuisance to drop it. Users should stick to older jsonschema versions (which should be properly marked.) --- .github/workflows/ci.yml | 12 ------------ setup.cfg | 7 +++---- tox.ini | 2 +- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3446f25..580f247 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,18 +29,6 @@ jobs: toxenv: pypy3-format_nongpl-build - name: pypy-3.7 toxenv: pypy3-format_nongpl-tests - - name: 3.6 - toxenv: py36-noextra-build - - name: 3.6 - toxenv: py36-noextra-tests - - name: 3.6 - toxenv: py36-format-build - - name: 3.6 - toxenv: py36-format-tests - - name: 3.6 - toxenv: py36-format_nongpl-build - - name: 3.6 - toxenv: py36-format_nongpl-tests - name: 3.7 toxenv: py37-noextra-build - name: 3.7 diff --git a/setup.cfg b/setup.cfg index b8f6659..d5c1f24 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,13 +15,12 @@ classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy -python_requires = ">=3.6" +python_requires = ">=3.7" [options] packages = find: @@ -39,7 +38,7 @@ format = strict-rfc3339 webcolors uri_template - isoduration;python_version>'3.6' + isoduration format_nongpl = fqdn idna @@ -48,7 +47,7 @@ format_nongpl = rfc3986-validator>0.1.0 rfc3339-validator uri_template - isoduration;python_version>'3.6' + isoduration [options.entry_points] console_scripts = diff --git a/tox.ini b/tox.ini index 71c7633..811a5a9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{36,37,38,39,py3}-{noextra,format,format_nongpl}-{build,tests}, + py{37,38,39,py3}-{noextra,format,format_nongpl}-{build,tests}, readme safety secrets -- cgit v1.2.1