From 4c6ef1f18fff89b40bca3b420c00040e4023885a Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Thu, 14 Nov 2019 12:36:50 +0100 Subject: [PATCH 1/2] Drop Python 3.6 support, remove unecessary dependencies Closes #184 --- requirements.txt | 1 - setup.cfg | 3 +-- setup.py | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index d3380807..00000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -dataclasses; python_version < '3.7' diff --git a/setup.cfg b/setup.cfg index aeb046b4..9bfd07dc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,13 +15,12 @@ classifiers = Topic :: Software Development :: Libraries Topic :: Scientific/Engineering :: Mathematics Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 [options] packages = ppb_vector -python_requires = >= 3.6 +python_requires = >= 3.7 zip_safe = True [aliases] diff --git a/setup.py b/setup.py index 257640f6..89bc288d 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ def requirements(section=None): # See setup.cfg for the actual configuration. setup( # setup needs to be able to import the library, for attr: to work - setup_requires=requirements() + ['pytest-runner'], - install_requires=requirements(), + setup_requires=['pytest-runner'], tests_require=requirements('tests'), ) From aef9d6204e4816517c6993ef59bcc138cdd559e5 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Thu, 14 Nov 2019 12:59:56 +0100 Subject: [PATCH 2/2] CI: Drop Python 3.6 --- .cirrus.yml | 5 ----- bors.toml | 4 ---- 2 files changed, 9 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 12f53f03..d2c72802 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -67,7 +67,6 @@ FreeBSD_task: image_family: freebsd-13-0 env: matrix: - - PYTHON: 3.6 - PYTHON: 3.7 - PYTHON: 3.8 - PYTHON: 3.9 @@ -90,12 +89,10 @@ task: skip: $CIRRUS_BRANCH =~ '.*\.tmp' env: matrix: - - IMAGE: python:3.6-slim - IMAGE: python:3.7-slim - IMAGE: python:3.8-slim - IMAGE: python:3.9-slim - IMAGE: python:3.10-rc-slim - - IMAGE: pypy:3.6-slim - IMAGE: pypy:3.7-slim name: "Linux $IMAGE" allow_failures: $IMAGE =~ '.*-rc-.*' @@ -119,7 +116,6 @@ macOS_task: env: PATH: ${HOME}/.pyenv/shims:${PATH} matrix: - - PYTHON: 3.6.12 - PYTHON: 3.7.7 - PYTHON: 3.8.6 - PYTHON: 3.9.0 @@ -143,7 +139,6 @@ task: skip: $CIRRUS_BRANCH =~ '.*\.tmp' env: matrix: - - IMAGE: python:3.6-windowsservercore - IMAGE: python:3.7-windowsservercore - IMAGE: python:3.8-windowsservercore - IMAGE: python:3.9-windowsservercore diff --git a/bors.toml b/bors.toml index 4cb1b9e3..26cd4c4e 100644 --- a/bors.toml +++ b/bors.toml @@ -1,19 +1,15 @@ status = [ "docs", - "FreeBSD PYTHON:3.6", "FreeBSD PYTHON:3.7", "FreeBSD PYTHON:3.8", "FreeBSD PYTHON:3.9", "lint", - "Linux python:3.6-slim", "Linux python:3.7-slim", "Linux python:3.8-slim", "Linux python:3.9-slim", - "Windows python:3.6-windowsservercore", "Windows python:3.7-windowsservercore", "Windows python:3.8-windowsservercore", "Windows python:3.9-windowsservercore", - "macOS PYTHON:3.6.12", "macOS PYTHON:3.7.7", "macOS PYTHON:3.8.6", "macOS PYTHON:3.9.0",