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 <toddrme2...@gmail.com> + +- 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.000000000 +0200 +++ new/ipdb-0.12.3/HISTORY.txt 2019-12-03 12:30:30.000000000 +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-INFO 2019-07-30 18:11:15.000000000 +0200 +++ new/ipdb-0.12.3/PKG-INFO 2019-12-03 12:30:31.000000000 +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__.py 2019-07-30 18:11:15.000000000 +0200 +++ new/ipdb-0.12.3/ipdb/__main__.py 2019-12-03 12:30:30.000000000 +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.000000000 +0200 +++ new/ipdb-0.12.3/ipdb.egg-info/PKG-INFO 2019-12-03 12:30:30.000000000 +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/setup.cfg new/ipdb-0.12.3/setup.cfg --- old/ipdb-0.12.2/setup.cfg 2019-07-30 18:11:15.000000000 +0200 +++ new/ipdb-0.12.3/setup.cfg 2019-12-03 12:30:31.000000000 +0100 @@ -3,6 +3,9 @@ tox.ini .travis.yml +[zest.releaser] +python-file-with-version = ipdb/__main__.py + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipdb-0.12.2/setup.py new/ipdb-0.12.3/setup.py --- old/ipdb-0.12.2/setup.py 2019-07-30 18:11:15.000000000 +0200 +++ new/ipdb-0.12.3/setup.py 2019-12-03 12:30:30.000000000 +0100 @@ -6,8 +6,13 @@ from setuptools import setup, find_packages from sys import version_info +import re +import io -version = '0.12.2' +version = re.search( + r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too + io.open('ipdb/__main__.py', encoding='utf_8_sig').read() + ).group(1) long_description = (open('README.rst').read() + '\n\n' + open('HISTORY.txt').read()) @@ -54,6 +59,5 @@ }, entry_points={ 'console_scripts': ['%s = ipdb.__main__:main' % console_script] - }, - use_2to3=True, + } )