Skip to content

Commit

Permalink
Merge #190
Browse files Browse the repository at this point in the history
190: Drop compatiblity with Python 3.6 r=astronouth7303 a=nbraud

We only aim to support the last 2 major versions of Python (currently 3.7 and 3.8), and the `dataclasses` backport for Python 3.6 is unmaintained and broken (see discussion in #184).

This should allow us to unblock #168 

Co-authored-by: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
  • Loading branch information
bors[bot] and nbraud committed Dec 19, 2019
2 parents f276bab + 701917c commit 646fbe6
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ FreeBSD_task:
image: freebsd-12-0-release-amd64
env:
matrix:
- PYTHON: 3.6
- PYTHON: 3.7
install_script:
- PYVER=`echo $PYTHON | tr -d '.'`
Expand All @@ -88,10 +87,8 @@ task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
env:
matrix:
- IMAGE: python:3.6-slim
- IMAGE: python:3.7-slim
- IMAGE: python:3.8-slim
- IMAGE: pypy:3.6-slim
name: "Linux $IMAGE"
allow_failures: $IMAGE =~ '.*-rc-.*'
container:
Expand All @@ -114,7 +111,6 @@ macOS_task:
env:
PATH: ${HOME}/.pyenv/shims:${PATH}
matrix:
- PYTHON: 3.6.9
- PYTHON: 3.7.5
- PYTHON: 3.8.0
install_script:
Expand All @@ -137,7 +133,6 @@ task:
skip: $CIRRUS_BRANCH =~ '.*\.tmp'
env:
matrix:
- IMAGE: python:3.6-windowsservercore-1809
- IMAGE: python:3.7-windowsservercore-1809
- IMAGE: python:3.8-windowsservercore-1809
allow_failures: $IMAGE =~ '.*-rc-.*'
Expand Down
4 changes: 0 additions & 4 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
status = [
"docs",
"FreeBSD PYTHON:3.6",
"FreeBSD PYTHON:3.7",
"lint",
"Linux python:3.6-slim",
"Linux python:3.7-slim",
"Linux python:3.8-slim",
"Windows python:3.6-windowsservercore-1809",
"Windows python:3.7-windowsservercore-1809",
"Windows python:3.8-windowsservercore-1809",
"macOS PYTHON:3.6.9",
"macOS PYTHON:3.7.5",
"macOS PYTHON:3.8.0",
"pep517",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
)

0 comments on commit 646fbe6

Please sign in to comment.