From fe24eaa1120ee7eabaf48a81129fe4cd04ec407b Mon Sep 17 00:00:00 2001 From: gstarovo Date: Wed, 29 May 2024 16:57:06 +0200 Subject: [PATCH 1/2] dropping support for python3.5 Problem with ssl certificate verification. Tried to set up a PIP_CERT env with downloaded certificate for python3.5, did not solve the problem. --- .github/workflows/ci.yml | 3 --- setup.py | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6581b6fea..2bc3703b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,6 @@ jobs: - name: py2.7 os: ubuntu-20.04 python-version: 2.7 - - name: py3.5 - os: ubuntu-20.04 - python-version: 3.5 - name: py3.6 os: ubuntu-20.04 python-version: 3.6 diff --git a/setup.py b/setup.py index 6cd9a6071..4077388d2 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ 'package1': ['LICENSE', 'README.md']}, install_requires=['ecdsa>=0.18.0b1'], obsoletes=["tlslite"], - python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", + python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -35,7 +35,6 @@ 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', From 25d7c879cc3fc94816fd5372b881e2cefc1a8336 Mon Sep 17 00:00:00 2001 From: gstarovo Date: Wed, 29 May 2024 17:33:17 +0200 Subject: [PATCH 2/2] ci.yml update for python2.6 coveralls --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bc3703b3..28d3fabfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -430,7 +430,13 @@ jobs: COVERALLS_FLAG_NAME: ${{ matrix.name }} COVERALLS_PARALLEL: true COVERALLS_SERVICE_NAME: github - run: coveralls + PY_VERSION: ${{ matrix.python-version }} + run: | + if [[ $PY_VERSION == "2.6" ]]; then + COVERALLS_SKIP_SSL_VERIFY=1 coveralls + else + coveralls + fi - name: Publish coverage to Codeclimate if: ${{ contains(matrix.opt-deps, 'codeclimate') }} env: