Skip to content

Commit 353b788

Browse files
hugovkyoutux
authored andcommitted
Drop support for old Python and pytest (#85)
* travis.yml: sudo no longer needed https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration * Drop support for EOL Python 3.4 * Drop support for pytest < 4.3
1 parent 2756924 commit 353b788

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
sudo: false
21
language: python
32
dist: xenial
43
python:

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ These people have contributed to `pytest-factoryboy`, in alphabetical order:
99
* `Anatoly Bubenkov <bubenkoff@gmail.com>`_
1010
* `Daniel Duong <https://github.com/dduong42>`_
1111
* `Daniel Hahler <https://github.com/blueyed>`_
12+
* `Hugo van Kemenade <https://github.com/hugovk>`_
1213
* `p13773 <https://github.com/p13773>`_
1314
* `Vasily Kuznetsov <https://github.com/kvas-it>`_

CHANGES.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
Unreleased
5+
----------
6+
7+
- Drop support for Python 3.4.
8+
- Drop support for pytest < 4.3.
9+
10+
411
2.0.3
512
-----
613

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
author_email="oleg.pidsadnyi@gmail.com",
2727
url="https://github.com/pytest-dev/pytest-factoryboy",
2828
version=VERSION,
29+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
2930
classifiers=[
3031
"Development Status :: 6 - Mature",
3132
"Intended Audience :: Developers",
@@ -38,11 +39,11 @@
3839
"Topic :: Utilities",
3940
"Programming Language :: Python :: 2",
4041
"Programming Language :: Python :: 3"
41-
] + [("Programming Language :: Python :: %s" % x) for x in "2.7 3.4 3.5 3.6 3.7".split()],
42+
] + [("Programming Language :: Python :: %s" % x) for x in "2.7 3.5 3.6 3.7".split()],
4243
install_requires=[
4344
"inflection",
4445
"factory_boy>=2.10.0",
45-
"pytest>=3.3.2",
46+
"pytest>=4.3",
4647
'funcsigs;python_version<"3.0"',
4748
],
4849
# the following makes a plugin available to py.test

tox.ini

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
distshare = {homedir}/.tox/distshare
3-
envlist = py27-pytest{36,37,38,39,310,4,41,42,43,44,45,46},
4-
py37-pytest{36,37,38,39,310,4,41,42,43,44,45,46,5,latest},
3+
envlist = py27-pytest{43,44,45,46},
4+
py37-pytest{43,44,45,46,5,latest},
55
py{35,36}-pytestlatest
66

77
[testenv]
@@ -13,14 +13,6 @@ deps =
1313
pytest45: pytest~=4.5.0
1414
pytest44: pytest~=4.4.0
1515
pytest43: pytest~=4.3.0
16-
pytest42: pytest~=4.2.0
17-
pytest41: pytest~=4.1.0
18-
pytest4: pytest~=4.0.0
19-
pytest310: pytest~=3.10.0
20-
pytest39: pytest~=3.9.0
21-
pytest38: pytest~=3.8.0
22-
pytest37: pytest~=3.7.0
23-
pytest36: pytest~=3.6.0
2416

2517
-r{toxinidir}/requirements-testing.txt
2618

0 commit comments

Comments
 (0)