Skip to content

Commit d8a61d5

Browse files
authored
Remove support for Python 2.6 (#148)
1 parent 48c3784 commit d8a61d5

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ env:
66
- SLURM=19.05.0 CYTHON=0.29.6 PYTHON=3.5
77
- SLURM=19.05.0 CYTHON=0.29.6 PYTHON=3.4
88
- SLURM=19.05.0 CYTHON=0.29.6 PYTHON=2.7
9-
- SLURM=19.05.0 CYTHON=0.29.6 PYTHON=2.6
109
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.6
1110
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.5
1211
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=3.4
1312
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=2.7
14-
- SLURM=19.05.0 CYTHON=0.19.2 PYTHON=2.6
1513
- SLURM=19.05.0 CYTHON=0.15.1 PYTHON=2.7
16-
- SLURM=19.05.0 CYTHON=0.15.1 PYTHON=2.6
1714
services:
1815
- docker
1916
before_install:

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ Prerequisites
1818

1919
* `Slurm <https://www.schedmd.com>`_
2020
* `Python <https://www.python.org>`_
21-
* `Cython <http://cython.org>`_
21+
* `Cython <https://cython.org>`_
2222

2323
This PySlurm branch has been tested with:
2424

2525
* Cython 0.15.1*, 0.19.2, and the latest stable
26-
* Python 2.6, 2.7, and 3.4
26+
* Python 2.7, 3.4, 3.5 and 3.6
2727
* Slurm 19.05.0
2828

2929
Note: Cython 0.15.1 is only tested on Python 2.7.
3030

3131
Installation
3232
************
3333

34-
You will need to instruct the setup.py script where either the Slurm install root
35-
directory or where the Slurm libraries and Slurm include files are :
34+
You will need to instruct the setup.py script where either the Slurm install
35+
root directory or where the Slurm libraries and Slurm include files are:
3636

3737
#. Slurm default directory (/usr):
3838

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ def info(logstring):
3838
info("Cython version %s installed" % cython_version)
3939
fatal("Please use Cython version >= %s" % CYTHON_VERSION_MIN)
4040
except:
41-
fatal("Cython (http://cython.org) is required to build PySlurm")
41+
fatal("Cython (https://cython.org) is required to build PySlurm")
4242
fatal("Please use Cython version >= %s" % CYTHON_VERSION_MIN)
4343

44-
if sys.version_info[:2] < (2, 6) or (3, 0) <= sys.version_info[:2] < (3, 4):
45-
fatal("Python >= 2.6 or >= 3.4 is required to run PySlurm.")
44+
if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 4):
45+
fatal("Python == 2.7 or >= 3.4 is required to run PySlurm.")
4646

4747

4848
class Pyslurm:
@@ -328,7 +328,6 @@ def setup_package(self):
328328
'Programming Language :: Cython',
329329
'Programming Language :: Python',
330330
'Programming Language :: Python :: 2',
331-
'Programming Language :: Python :: 2.6',
332331
'Programming Language :: Python :: 2.7',
333332
'Programming Language :: Python :: 3',
334333
'Programming Language :: Python :: 3.4',

0 commit comments

Comments
 (0)