Skip to content

Commit 15c8016

Browse files
felixdivohardbyte
authored andcommitted
Remove support for Python 3.4 + update testing dependencies (hardbyte#532)
* remove support for Python 3.4 * update testing dependencies * update README.rst
1 parent 4be2233 commit 15c8016

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

.appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@ environment:
22
matrix:
33

44
# For Python versions available on Appveyor, see
5-
# http://www.appveyor.com/docs/installed-software#python
6-
# Python 3.0-3.3 have reached EOL
5+
# https://www.appveyor.com/docs/windows-images-software/#python
6+
# Python pre-2.7 and 3.0-3.4 have reached EOL
77

88
- PYTHON: "C:\\Python27"
9-
- PYTHON: "C:\\Python34"
109
- PYTHON: "C:\\Python35"
1110
- PYTHON: "C:\\Python36"
1211
- PYTHON: "C:\\Python37"
1312
- PYTHON: "C:\\Python27-x64"
14-
- PYTHON: "C:\\Python34-x64"
1513
- PYTHON: "C:\\Python35-x64"
1614
- PYTHON: "C:\\Python36-x64"
1715
- PYTHON: "C:\\Python37-x64"

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: python
22

33
python:
4-
# CPython; versions 3.0-3.3 have reached EOL
4+
# CPython; versions pre-2.7 and 3.0-3.4 have reached EOL
55
- "2.7"
6-
- "3.4"
76
- "3.5"
87
- "3.6"
98
- "3.7-dev" # TODO: change to "3.7" once it is supported by travis-ci

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Python developers; providing common abstractions to
3737
different hardware devices, and a suite of utilities for sending and receiving
3838
messages on a can bus.
3939

40-
The library supports Python 2.7, Python 3.4+ as well as PyPy 2 & 3 and runs on Mac, Linux and Windows.
40+
The library supports Python 2.7, Python 3.5+ as well as PyPy 2 & 3 and runs on Mac, Linux and Windows.
4141

4242

4343
Features

setup.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@
3030

3131
tests_require = [
3232
'mock~=2.0',
33-
'nose~=1.3',
34-
'pytest~=3.6',
35-
'pytest-timeout~=1.2',
36-
'pytest-cov~=2.5',
33+
'pytest~=4.3',
34+
'pytest-timeout~=1.3',
35+
'pytest-cov~=2.6',
3736
'codecov~=2.0',
3837
'future',
3938
'six',
@@ -53,7 +52,6 @@
5352
# a list of all available ones: https://pypi.org/classifiers/
5453
"Programming Language :: Python",
5554
"Programming Language :: Python :: 2.7",
56-
"Programming Language :: Python :: 3.4",
5755
"Programming Language :: Python :: 3.5",
5856
"Programming Language :: Python :: 3.6",
5957
"Programming Language :: Python :: 3.7",
@@ -80,7 +78,7 @@
8078

8179
# Code
8280
version=version,
83-
packages=find_packages(exclude=["test", "test.*"]),
81+
packages=find_packages(exclude=["test", "doc", "scripts", "examples"]),
8482
scripts=list(filter(isfile, (join("scripts/", f) for f in listdir("scripts/")))),
8583

8684
# Author
@@ -92,21 +90,19 @@
9290

9391
# Package data
9492
package_data={
95-
"": ["CONTRIBUTORS.txt", "LICENSE.txt", "CHANGELOG.txt"],
96-
"doc": ["*.*"]
93+
"": ["README.rst", "CONTRIBUTORS.txt", "LICENSE.txt", "CHANGELOG.txt"],
94+
"doc": ["*.*"],
95+
"examples": ["*.py"]
9796
},
9897

9998
# Installation
10099
# see https://www.python.org/dev/peps/pep-0345/#version-specifiers
101-
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3",
100+
python_requires=">=2.7",
102101
install_requires=[
103102
'wrapt~=1.10',
104103
'typing;python_version<"3.5"',
105104
'windows-curses;platform_system=="Windows"',
106105
],
107106
extras_require=extras_require,
108-
109-
# Testing
110-
test_suite="nose.collector",
111-
tests_require=tests_require,
107+
tests_require=tests_require
112108
)

0 commit comments

Comments
 (0)