Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.

Commit f9647d0

Browse files
committed
setup.py: Only require future on Python 2
We only use future for the `builtins` module which is standard in Python 3. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
1 parent 1fb9796 commit f9647d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## x.y.z (unreleased)
2-
- CommonMark now requires `future >= 0.14.0` for uniform `builtins` imports in Python 2/3
2+
- CommonMark now requires `future >= 0.14.0` on Python 2, for uniform `builtins` imports in Python 2/3
33

44
## 0.9.0 (2019-05-02)
55
- The CommonMark spec has been updated to 0.29. Completed by @iamahuman.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def run(self):
5353
},
5454
cmdclass={'test': Test},
5555
install_requires=[
56-
'future>=0.14.0',
56+
'future>=0.14.0;python_version<"3"',
5757
],
5858
tests_require=tests_require,
5959
extras_require={'test': tests_require},

0 commit comments

Comments
 (0)