Skip to content

Commit c56177d

Browse files
committed
Drop Python 2.6, start testing on 3.7
1 parent 9eebb82 commit c56177d

File tree

9 files changed

+9
-41
lines changed

9 files changed

+9
-41
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ sudo: false
22
language: python
33
matrix:
44
include:
5-
- os: linux
6-
python: "2.6"
75
- os: linux
86
python: "2.7"
97
- os: linux
@@ -12,6 +10,9 @@ matrix:
1210
python: "3.5"
1311
- os: linux
1412
python: "3.6"
13+
- os: linux
14+
dist: xenial
15+
python: "3.7"
1516
- os: linux
1617
python: "pypy"
1718
- os: osx

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ copy/pasting these scripts around I decided to bring the main features together
3030
in a properly documented Python package and upload it to the `Python Package
3131
Index`_.
3232

33-
The `rotate-backups` package is currently tested on cPython 2.6, 2.7, 3.4, 3.5,
34-
3.6 and PyPy (2.7). It's tested on Linux and Mac OS X and may work on other
33+
The `rotate-backups` package is currently tested on cPython 2.7, 3.4, 3.5, 3.6,
34+
3.7 and PyPy (2.7). It's tested on Linux and Mac OS X and may work on other
3535
unixes but definitely won't work on Windows right now.
3636

3737
.. contents::

constraints.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

requirements-checks.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Python packages required to run `make check'.
22

3-
# Enable Python version compatibility.
4-
--constraint=constraints.txt
5-
63
flake8 >= 2.6.0
74
flake8-docstrings >= 0.2.8
85
pyflakes >= 1.2.3

requirements-tests.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# Python packages required to run `make test'.
22

3-
# Enable Python version compatibility.
4-
--constraint=constraints.txt
5-
63
pytest >= 3.0.7
74
pytest-cov >= 2.2.1

requirements-travis.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Python packages required on Travis CI.
22

3-
# Enable Python version compatibility.
4-
--constraint=constraints.txt
5-
63
# Pull in the requirements for code style checks,
74
# the test suite and installation requirements.
85
--requirement=requirements-checks.txt

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation requirements (see also constraints.txt).
1+
# Installation requirements.
22

33
coloredlogs >= 5.1
44
executor >= 19.2

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Setup script for the `rotate-backups' package.
44
#
55
# Author: Peter Odding <peter@peterodding.com>
6-
# Last Change: April 26, 2018
6+
# Last Change: February 11, 2020
77
# URL: https://github.com/xolox/python-rotate-backups
88

99
"""
@@ -85,12 +85,12 @@ def get_absolute_path(*args):
8585
'Operating System :: Unix',
8686
'Programming Language :: Python',
8787
'Programming Language :: Python :: 2',
88-
'Programming Language :: Python :: 2.6',
8988
'Programming Language :: Python :: 2.7',
9089
'Programming Language :: Python :: 3',
9190
'Programming Language :: Python :: 3.4',
9291
'Programming Language :: Python :: 3.5',
9392
'Programming Language :: Python :: 3.6',
93+
'Programming Language :: Python :: 3.7',
9494
'Programming Language :: Python :: Implementation :: CPython',
9595
'Programming Language :: Python :: Implementation :: PyPy',
9696
'Topic :: Software Development :: Libraries :: Python Modules',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# directory.
55

66
[tox]
7-
envlist = py26, py27, py34, py35, py36, pypy
7+
envlist = py27, py34, py35, py36, py37, pypy
88

99
[testenv]
1010
deps = -rrequirements-tests.txt

0 commit comments

Comments
 (0)