commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2020-06-29 21:18:39 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.3060 (New) Package is "python-ipdb" Mon Jun 29 21:18:39 2020 rev:7 rq:817731 version:0.13.3 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2020-03-04 09:47:32.822184615 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.3060/python-ipdb.changes 2020-06-29 21:19:13.181942612 +0200 @@ -1,0 +2,8 @@ +Mon Jun 29 13:31:09 UTC 2020 - Marketa Calabkova + +- Update to 0.13.3 + * Allow runcall, runeval to also use set context value + * Add condition argument to set_trace + * Add option to set context via environment variable or configuration file + +--- Old: ipdb-0.13.2.tar.gz New: ipdb-0.13.3.tar.gz Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.SLfIGf/_old 2020-06-29 21:19:13.997945136 +0200 +++ /var/tmp/diff_new_pack.SLfIGf/_new 2020-06-29 21:19:14.001945149 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ipdb -Version:0.13.2 +Version:0.13.3 Release:0 Summary:IPython-enabled pdb License:BSD-3-Clause @@ -30,9 +30,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-ipython >= 5.1 Requires(post): update-alternatives Requires(postun): update-alternatives -Requires: python-ipython >= 5.1 Provides: python-jupyter_ipdb = %{version} Obsoletes: python-jupyter_ipdb < %{version} BuildArch: noarch ++ ipdb-0.13.2.tar.gz -> ipdb-0.13.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.13.2/HISTORY.txt new/ipdb-0.13.3/HISTORY.txt --- old/ipdb-0.13.2/HISTORY.txt 2020-03-03 12:20:50.0 +0100 +++ new/ipdb-0.13.3/HISTORY.txt 2020-06-23 15:46:29.0 +0200 @@ -1,6 +1,16 @@ Changelog = +0.13.3 (2020-06-23) +--- + +- Allow runcall, runeval to also use set context value + [meowser] + +- Add condition argument to set_trace + [alexandrebarbaruiva] + + 0.13.2 (2020-03-03) --- @@ -18,7 +28,7 @@ 0.13.0 (2020-02-28) --- -- Add option to set context via environment variable or configuration file. +- Add option to set context via environment variable or configuration file [alexandrebarbaruiva] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.13.2/PKG-INFO new/ipdb-0.13.3/PKG-INFO --- old/ipdb-0.13.2/PKG-INFO2020-03-03 12:20:51.0 +0100 +++ new/ipdb-0.13.3/PKG-INFO2020-06-23 15:46:30.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.13.2 +Version: 0.13.3 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -36,10 +36,37 @@ result = ipdb.runcall(function, arg0, arg1, kwarg='foo') result = ipdb.runeval('f(1,2) - 3') + +Arguments for `set_trace` ++ + +The `set_trace` function accepts `context` which will show as many lines of code as defined, +and `cond`, which accepts boolean values (such as `abc == 17`) and will start ipdb's +interface whenever `cond` equals to `True`. + +Using configuration file + + It's possible to set up context using a `.ipdb` file on your home folder or `setup.cfg` on your project folder. You can also set your file location via env var `$IPDB_CONFIG`. Your environment variable has priority over the home configuration file, -which in turn has priority over the setup config file. +which in turn has priority over the setup config file. Currently, only context setting +is available. + +A valid setup.cfg is as follows + +:: + +[ipdb] +context=5 + + +A valid .ipdb is as follows + +:: + +context=5 + The post-mortem function, ``ipdb.pm()``, is equivalent to the magic function ``%debug``. @@ -113,6 +140,13 @@ Pull requests should take care of updating the changelog ``HISTORY.txt``. +Manual testing +++
commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2020-03-04 09:47:16 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.26092 (New) Package is "python-ipdb" Wed Mar 4 09:47:16 2020 rev:6 rq:781246 version:0.13.2 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2020-01-03 17:37:56.155324973 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.26092/python-ipdb.changes 2020-03-04 09:47:32.822184615 +0100 @@ -1,0 +2,10 @@ +Tue Mar 3 14:35:47 UTC 2020 - Todd R + +- Update to 0.13.2 + * Remove leftover debug code +- Update to 0.13.1 + * Fix when no configuration file +- Update to 0.13.0 + * Add option to set context via environment variable or configuration file. + +--- Old: ipdb-0.12.3.tar.gz New: ipdb-0.13.2.tar.gz Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.mXyxzo/_old 2020-03-04 09:47:33.662185119 +0100 +++ /var/tmp/diff_new_pack.mXyxzo/_new 2020-03-04 09:47:33.666185121 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ipdb # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ipdb -Version:0.12.3 +Version:0.13.2 Release:0 Summary:IPython-enabled pdb License:BSD-3-Clause ++ ipdb-0.12.3.tar.gz -> ipdb-0.13.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.3/HISTORY.txt new/ipdb-0.13.2/HISTORY.txt --- old/ipdb-0.12.3/HISTORY.txt 2019-12-03 12:30:30.0 +0100 +++ new/ipdb-0.13.2/HISTORY.txt 2020-03-03 12:20:50.0 +0100 @@ -1,6 +1,27 @@ Changelog = +0.13.2 (2020-03-03) +--- + +- Remove leftover debug code + [gotcha] + + +0.13.1 (2020-02-28) +--- + +- Fix when no configuration file + [gotcha] + + +0.13.0 (2020-02-28) +--- + +- Add option to set context via environment variable or configuration file. + [alexandrebarbaruiva] + + 0.12.3 (2019-12-03) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.3/PKG-INFO new/ipdb-0.13.2/PKG-INFO --- old/ipdb-0.12.3/PKG-INFO2019-12-03 12:30:31.0 +0100 +++ new/ipdb-0.13.2/PKG-INFO2020-03-03 12:20:51.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12.3 +Version: 0.13.2 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -29,11 +29,18 @@ ipdb.set_trace() ipdb.set_trace(context=5) # will show five lines of code # instead of the default three lines + # or you can set it via IPDB_CONTEXT_SIZE env variable + # or setup.cfg file ipdb.pm() ipdb.run('x[0] = 3') result = ipdb.runcall(function, arg0, arg1, kwarg='foo') result = ipdb.runeval('f(1,2) - 3') +It's possible to set up context using a `.ipdb` file on your home folder or `setup.cfg` +on your project folder. You can also set your file location via env var `$IPDB_CONFIG`. +Your environment variable has priority over the home configuration file, +which in turn has priority over the setup config file. + The post-mortem function, ``ipdb.pm()``, is equivalent to the magic function ``%debug``. @@ -86,7 +93,7 @@ However, all strategies tried until 0.9.4 have proven brittle. If you use ``nose`` or another tool that fiddles with ``stdout``, you should -explicitely ask for ``stdout`` fiddling by using ``ipdb`` like this +explicitly ask for ``stdout`` fiddling by using ``ipdb`` like this .. code-block:: python @@ -137,6 +144,27 @@ Changelog = +0.13.2 (2020-03-03) +--- + +- Remove leftover debug code + [gotcha] + + +0.13.1 (2020-02-28) +--- + +- Fix when no configuration file + [gotc
commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2020-01-03 17:37:39 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.6675 (New) Package is "python-ipdb" Fri Jan 3 17:37:39 2020 rev:5 rq:760521 version:0.12.3 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2019-10-30 14:43:46.453924289 +0100 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.6675/python-ipdb.changes 2020-01-03 17:37:56.155324973 +0100 @@ -1,0 +2,7 @@ +Fri Jan 3 01:26:01 UTC 2020 - Todd R + +- Update to 0.12.3 + * Fix version in usage +- Drop python2 support due to dependencies dropping python2 + +--- Old: ipdb-0.12.2.tar.gz New: ipdb-0.12.3.tar.gz Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.zrd5sn/_old 2020-01-03 17:37:57.723325778 +0100 +++ /var/tmp/diff_new_pack.zrd5sn/_new 2020-01-03 17:37:57.723325778 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ipdb # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-ipdb -Version:0.12.2 +Version:0.12.3 Release:0 Summary:IPython-enabled pdb License:BSD-3-Clause ++ ipdb-0.12.2.tar.gz -> ipdb-0.12.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.2/HISTORY.txt new/ipdb-0.12.3/HISTORY.txt --- old/ipdb-0.12.2/HISTORY.txt 2019-07-30 18:11:15.0 +0200 +++ new/ipdb-0.12.3/HISTORY.txt 2019-12-03 12:30:30.0 +0100 @@ -1,6 +1,13 @@ Changelog = +0.12.3 (2019-12-03) +--- + +- Fix version in usage + [gotcha] + + 0.12.2 (2019-07-30) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.2/PKG-INFO new/ipdb-0.12.3/PKG-INFO --- old/ipdb-0.12.2/PKG-INFO2019-07-30 18:11:15.0 +0200 +++ new/ipdb-0.12.3/PKG-INFO2019-12-03 12:30:31.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12.2 +Version: 0.12.3 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -137,6 +137,13 @@ Changelog = +0.12.3 (2019-12-03) +--- + +- Fix version in usage + [gotcha] + + 0.12.2 (2019-07-30) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.2/ipdb/__main__.py new/ipdb-0.12.3/ipdb/__main__.py --- old/ipdb-0.12.2/ipdb/__main__.py2019-07-30 18:11:15.0 +0200 +++ new/ipdb-0.12.3/ipdb/__main__.py2019-12-03 12:30:30.0 +0100 @@ -10,7 +10,7 @@ from contextlib import contextmanager -__version__= "0.10.3" +__version__ = '0.12.3' from IPython import get_ipython from IPython.core.debugger import BdbQuit_excepthook @@ -42,6 +42,7 @@ # This is especially important for tools that fiddle with stdout debugger_cls = shell.debugger_cls + def _init_pdb(context=3, commands=[]): try: p = debugger_cls(context=context) @@ -133,7 +134,7 @@ except ImportError: class Restart(Exception): pass - + opts, args = getopt.getopt(sys.argv[1:], 'hc:', ['help', 'command=']) commands = [] @@ -147,7 +148,7 @@ if not args: print(_usage) sys.exit(2) - + mainpyfile = args[0] # Get script filename if not os.path.exists(mainpyfile): print('Error:', mainpyfile, 'does not exist') @@ -185,5 +186,6 @@ print("Post mortem debugger finished. The " + mainpyfile + " will be restarted") + if __name__ == '__main__': main() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.2/ipdb.egg-info/PKG-INFO new/ipdb-0.12.3/ipdb.egg-info/PKG-INFO --- old/ipdb-0.12.2/ipdb.egg-info/PKG-INFO 2019-07-30 18:11:15.0 +0200 +++ new/ipdb-0.12.3/ipdb.egg-info/PKG-INFO 2019-12-03 12:30:30.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12.2 +Version: 0.12.3 Summary: IPython-enabled pdb Home-page: https://github.com/g
commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2019-10-30 14:43:43 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.2990 (New) Package is "python-ipdb" Wed Oct 30 14:43:43 2019 rev:4 rq:743635 version:0.12.2 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2019-08-13 13:21:17.933417840 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.2990/python-ipdb.changes 2019-10-30 14:43:46.453924289 +0100 @@ -1,0 +2,10 @@ +Sun Oct 13 14:44:45 UTC 2019 - Axel Braun + +- runtime dependency on python-ipython added + +--- +Fri Sep 13 16:39:55 UTC 2019 - John Vandenberg + +- Skip the bin install commands if the flavor is not being built + +--- Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.pckEpt/_old 2019-10-30 14:43:46.861924723 +0100 +++ /var/tmp/diff_new_pack.pckEpt/_new 2019-10-30 14:43:46.861924723 +0100 @@ -31,6 +31,7 @@ BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives +Requires: python-ipython >= 5.1 Provides: python-jupyter_ipdb = %{version} Obsoletes: python-jupyter_ipdb < %{version} BuildArch: noarch @@ -53,8 +54,12 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if 0%{?have_python2} && ! 0%{?skip_python2} mv -v %{buildroot}%{_bindir}/ipdb{,-%{python2_bin_suffix}} +%endif +%if 0%{?have_python3} && ! 0%{?skip_python3} mv -v %{buildroot}%{_bindir}/ipdb{3,-%{python3_bin_suffix}} +%endif %prepare_alternative ipdb %post
commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2019-08-13 13:20:29 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.9556 (New) Package is "python-ipdb" Tue Aug 13 13:20:29 2019 rev:3 rq:722246 version:0.12.2 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2019-07-28 10:23:09.484567215 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.9556/python-ipdb.changes 2019-08-13 13:21:17.933417840 +0200 @@ -1,0 +2,6 @@ +Sun Aug 11 04:25:53 UTC 2019 - Todd R + +- Update to 0.12.2 + * Avoid emitting term-title bytes + +--- Old: ipdb-0.12.1.tar.gz New: ipdb-0.12.2.tar.gz Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.7zOowa/_old 2019-08-13 13:21:18.529417684 +0200 +++ /var/tmp/diff_new_pack.7zOowa/_new 2019-08-13 13:21:18.533417682 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ipdb -Version:0.12.1 +Version:0.12.2 Release:0 Summary:IPython-enabled pdb License:BSD-3-Clause @@ -32,7 +32,7 @@ Requires(post): update-alternatives Requires(postun): update-alternatives Provides: python-jupyter_ipdb = %{version} -Obsoletes: python-jupyter_ipdb <= %{version} +Obsoletes: python-jupyter_ipdb < %{version} BuildArch: noarch %ifpython3 Provides: jupyter-ipdb = %{version} @@ -63,7 +63,12 @@ %postun %python_uninstall_alternative ipdb +%check +%python_exec setup.py test + %files %{python_files} +%doc AUTHORS HISTORY.txt README.rst +%license COPYING.txt %python_alternative %{_bindir}/ipdb %{python_sitelib}/* ++ ipdb-0.12.1.tar.gz -> ipdb-0.12.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.1/AUTHORS new/ipdb-0.12.2/AUTHORS --- old/ipdb-0.12.1/AUTHORS 2019-07-26 13:22:57.0 +0200 +++ new/ipdb-0.12.2/AUTHORS 2019-07-30 18:11:15.0 +0200 @@ -1,4 +1,6 @@ aldrik +andreagrandi +bmw dimasad emulbreh felixonmars @@ -17,8 +19,7 @@ pjdelport Psycojoker sas23 +steinnes Wilfred WouterVH zvodd -andreagrandi -bmw diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.1/HISTORY.txt new/ipdb-0.12.2/HISTORY.txt --- old/ipdb-0.12.1/HISTORY.txt 2019-07-26 13:22:57.0 +0200 +++ new/ipdb-0.12.2/HISTORY.txt 2019-07-30 18:11:15.0 +0200 @@ -1,6 +1,13 @@ Changelog = +0.12.2 (2019-07-30) +--- + +- Avoid emitting term-title bytes + [steinnes] + + 0.12.1 (2019-07-26) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.1/PKG-INFO new/ipdb-0.12.2/PKG-INFO --- old/ipdb-0.12.1/PKG-INFO2019-07-26 13:22:58.0 +0200 +++ new/ipdb-0.12.2/PKG-INFO2019-07-30 18:11:15.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12.1 +Version: 0.12.2 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -137,6 +137,13 @@ Changelog = +0.12.2 (2019-07-30) +--- + +- Avoid emitting term-title bytes + [steinnes] + + 0.12.1 (2019-07-26) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.1/ipdb/__main__.py new/ipdb-0.12.2/ipdb/__main__.py --- old/ipdb-0.12.1/ipdb/__main__.py2019-07-26 13:22:57.0 +0200 +++ new/ipdb-0.12.2/ipdb/__main__.py2019-07-30 18:11:15.0 +0200 @@ -26,7 +26,7 @@ ipapp = TerminalIPythonApp() # Avoid output (banner, prints) ipapp.interact = False -ipapp.initialize([]) +ipapp.initialize(['--no-term-title']) shell = ipapp.shell else: # Running inside IPython diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.1/ipdb.egg-info/PKG-INFO new/ipdb-0.12.2/ipdb.egg-info/PKG-INFO --- old/ipdb-0.12.1/ipdb.egg-info/PKG-INFO 2019-07-26 13:22:58.0 +0200 +++ new/ipdb-0.12.2/ipdb.egg-info/PKG-INFO 2019-07-30 18:11:15.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12.1 +Version: 0.12.2 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -137,6 +137,13 @@ Changelog = +0.12.2 (2019-07-30) +
commit python-ipdb for openSUSE:Factory
Hello community, here is the log from the commit of package python-ipdb for openSUSE:Factory checked in at 2019-07-28 10:23:06 Comparing /work/SRC/openSUSE:Factory/python-ipdb (Old) and /work/SRC/openSUSE:Factory/.python-ipdb.new.4126 (New) Package is "python-ipdb" Sun Jul 28 10:23:06 2019 rev:2 rq:719300 version:0.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-ipdb/python-ipdb.changes 2019-05-22 11:07:39.686589524 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipdb.new.4126/python-ipdb.changes 2019-07-28 10:23:09.484567215 +0200 @@ -1,0 +2,6 @@ +Sat Jul 27 03:12:41 UTC 2019 - Todd R + +- Update to 0.12.1 + * Fix --help + +--- Old: ipdb-0.12.tar.gz New: ipdb-0.12.1.tar.gz Other differences: -- ++ python-ipdb.spec ++ --- /var/tmp/diff_new_pack.Sn1gvO/_old 2019-07-28 10:23:10.124567200 +0200 +++ /var/tmp/diff_new_pack.Sn1gvO/_new 2019-07-28 10:23:10.124567200 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ipdb -Version:0.12 +Version:0.12.1 Release:0 Summary:IPython-enabled pdb License:BSD-3-Clause ++ ipdb-0.12.tar.gz -> ipdb-0.12.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12/HISTORY.txt new/ipdb-0.12.1/HISTORY.txt --- old/ipdb-0.12/HISTORY.txt 2019-03-20 11:22:46.0 +0100 +++ new/ipdb-0.12.1/HISTORY.txt 2019-07-26 13:22:57.0 +0200 @@ -1,12 +1,21 @@ Changelog = +0.12.1 (2019-07-26) +--- + +- Fix --help + [native-api] + + 0.12 (2019-03-20) - - Drop support for Python 3.3.x + [bmw] - Stop deprecation warnings from being raised when IPython >= 5.1 is used. Support for IPython < 5.1 has been dropped. + [bmw] 0.11 (2018-02-15) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12/PKG-INFO new/ipdb-0.12.1/PKG-INFO --- old/ipdb-0.12/PKG-INFO 2019-03-20 11:22:46.0 +0100 +++ new/ipdb-0.12.1/PKG-INFO2019-07-26 13:22:58.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12 +Version: 0.12.1 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -137,12 +137,21 @@ Changelog = +0.12.1 (2019-07-26) +--- + +- Fix --help + [native-api] + + 0.12 (2019-03-20) - - Drop support for Python 3.3.x + [bmw] - Stop deprecation warnings from being raised when IPython >= 5.1 is used. Support for IPython < 5.1 has been dropped. + [bmw] 0.11 (2018-02-15) @@ -389,4 +398,5 @@ Classifier: Operating System :: POSIX :: Linux Classifier: Operating System :: Microsoft :: Windows Classifier: Topic :: Software Development :: Debuggers +Classifier: License :: OSI Approved :: BSD License Requires-Python: >=2.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12/ipdb/__main__.py new/ipdb-0.12.1/ipdb/__main__.py --- old/ipdb-0.12/ipdb/__main__.py 2019-03-20 11:22:46.0 +0100 +++ new/ipdb-0.12.1/ipdb/__main__.py2019-07-26 13:22:57.0 +0200 @@ -134,12 +134,8 @@ class Restart(Exception): pass -opts, args = getopt.getopt(sys.argv[1:], 'hc:', ['--help', '--command=']) +opts, args = getopt.getopt(sys.argv[1:], 'hc:', ['help', 'command=']) -if not args: -print(_usage) -sys.exit(2) - commands = [] for opt, optarg in opts: if opt in ['-h', '--help']: @@ -148,6 +144,10 @@ elif opt in ['-c', '--command']: commands.append(optarg) +if not args: +print(_usage) +sys.exit(2) + mainpyfile = args[0] # Get script filename if not os.path.exists(mainpyfile): print('Error:', mainpyfile, 'does not exist') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12/ipdb.egg-info/PKG-INFO new/ipdb-0.12.1/ipdb.egg-info/PKG-INFO --- old/ipdb-0.12/ipdb.egg-info/PKG-INFO2019-03-20 11:22:46.0 +0100 +++ new/ipdb-0.12.1/ipdb.egg-info/PKG-INFO 2019-07-26 13:22:58.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: ipdb -Version: 0.12 +Version: 0.12.1 Summary: IPython-enabled pdb Home-page: https://github.com/gotcha/ipdb Author: Godefroid Chapelle @@ -137,12 +137,21 @@ Changel