Skip to content

Commit

Permalink
Add missing pathlib requirement for py3.3 support; re-enable 3.3 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Jul 22, 2017
1 parent cb154d6 commit 779504b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cache:
directories:
- $HOME/.cache/pip
python:
- 3.3
- 3.4
- 3.5
- 3.6
Expand Down
7 changes: 5 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
v3.0.7 (dev)
------------

v3.0.6 (2017.07.22)
-------------------
* Added 'list_extensions' method to xphyle.formats.Formats
* Fixed subtle bug that would cause failure when calling xopen on stdout that has been monkeypatched (as is done by pytest)
* Added 'list_extensions' method to xphyle.formats.Formats.
* Fixed subtle bug that would cause failure when calling xopen on stdout that has been monkeypatched (as is done by pytest).

v3.0.5 (2017.07.19)
-------------------
Expand Down
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
import sys

requirements = []
version_info = sys.version_info

if sys.version_info < (3, 3):
if version_info < (3, 3):
sys.stdout.write("At least Python 3.3 is required.\n")
sys.exit(1)
elif sys.version_info < (3, 6):

if version_info < (3, 4):
requirements.append('pathlib')

if version_info < (3, 6):
# typing was added in 3.5, and we rely on critical features that were
# introduced in 3.5.2+, so for versions older than 3.6 we rely on
# a backport
Expand Down

0 comments on commit 779504b

Please sign in to comment.