[Python-modules-commits] [ipdb] 10/14: For python < 3.3, do not install ipython > 6.0.0.

Andrey Rahmatullin wrar at moszumanska.debian.org
Thu Jan 18 17:50:22 UTC 2018


This is an automated email from the git hooks/post-receive script.

wrar pushed a commit to annotated tag 0.10.3
in repository ipdb.

commit b91d9d8a13b2ddbd1abd15436b038faf7a840572
Author: Vincent Philippon <sindaewoh at gmail.com>
Date:   Thu Apr 20 12:06:33 2017 -0400

    For python < 3.3, do not install ipython > 6.0.0.
    
    Beginning with IPython 6.0 (released April 19th 2017),
    Python 3.3 and above is required.
    In order to avoid forcing those installing ipdb with python < 3.3 to add
    a ipython<6.0 constraints, ipdb can set this limit itself.
---
 HISTORY.txt | 2 ++
 setup.py    | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/HISTORY.txt b/HISTORY.txt
index 9a2106d..0bc193e 100644
--- a/HISTORY.txt
+++ b/HISTORY.txt
@@ -4,6 +4,8 @@ Changelog
 0.10.3 (unreleased)
 -------------------
 
+- For users using python < 3.3, do not install IPython >= 6.0.0.
+  [vphilippon]
 - Command line usage consistent with pdb - Add argument commands
   [zvodd]
 
diff --git a/setup.py b/setup.py
index 714771e..6bdf115 100644
--- a/setup.py
+++ b/setup.py
@@ -46,9 +46,12 @@ setup(name='ipdb',
       zip_safe=True,
       test_suite='tests',
       install_requires=[
-          'ipython >= 0.10.2',
           'setuptools'
       ],
+      extras_require={
+          ':python_version < "3.3"': ['ipython >= 0.10.2, < 6.0.0'],
+          ':python_version >= "3.3"': ['ipython >= 0.10.2'],
+      },
       entry_points={
           'console_scripts': ['%s = ipdb.__main__:main' % console_script]
       },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipdb.git



More information about the Python-modules-commits mailing list