From ade73f7aaa9629bcc765419b4417ffb6b2b71942 Mon Sep 17 00:00:00 2001 From: Pan Pastos Date: Thu, 15 Aug 2024 03:38:59 -0700 Subject: [PATCH] Drop python 2.7 and 3.6 support --- .github/workflows/ci.yml | 2 -- setup.py | 2 -- tox.ini | 4 +++- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 083c884..4a4d690 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,6 @@ jobs: fail-fast: false matrix: python: - - py27 - - py36 - py37 httplib: - default diff --git a/setup.py b/setup.py index 6c46ede..ec4749e 100755 --- a/setup.py +++ b/setup.py @@ -26,8 +26,6 @@ 'Topic :: Software Development :: Libraries :: Python Modules', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], package_data={ diff --git a/tox.ini b/tox.ini index 7e5545e..b351d32 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {py27,py36,py37}-{default,fido}, {py27,py36,py37}-fido-requests2dot17, mypy, pre-commit +envlist = {py37}-{default,fido}, {py37}-fido-requests2dot17, mypy, pre-commit [testenv] deps = @@ -37,6 +37,8 @@ deps = Twisted<21 # since we run in py 2.7 compatible mode, swagger-spec-validator>=3.0.0 causes syntax errors swagger-spec-validator<3.0.0 + # so does yelp-bytes > 0.4.0 + yelp-bytes==0.4.0 -rrequirements-dev.txt .[fido] mypy==0.790