Hello community, here is the log from the commit of package python-django-nose for openSUSE:Factory checked in at 2017-10-19 19:32:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-nose (Old) and /work/SRC/openSUSE:Factory/.python-django-nose.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-nose" Thu Oct 19 19:32:06 2017 rev:15 rq:531880 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-nose/python-django-nose.changes 2016-08-12 15:43:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-nose.new/python-django-nose.changes 2017-10-19 19:32:07.628903434 +0200 @@ -1,0 +2,12 @@ +Thu Oct 5 18:26:55 UTC 2017 - toddrme2...@gmail.com + +- Change django dependency to proper name Django. + +------------------------------------------------------------------- +Wed Aug 23 19:30:21 UTC 2017 - t.gru...@katodev.de + +- add multi-python support +- update to 1.4.5 + * Add Django 1.11 support + +------------------------------------------------------------------- Old: ---- django-nose-1.4.4.tar.gz New: ---- django-nose-1.4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-nose.spec ++++++ --- /var/tmp/diff_new_pack.2P5MxB/_old 2017-10-19 19:32:08.388867876 +0200 +++ /var/tmp/diff_new_pack.2P5MxB/_new 2017-10-19 19:32:08.392867689 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-django-nose # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,27 +16,31 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-django-nose -Version: 1.4.4 +Version: 1.4.5 Release: 0 -Url: https://github.com/django-nose/django-nose -Summary: Django test runner that uses nose +Summary: Makes your Django tests simple and snappy License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.io/packages/source/d/django-nose/django-nose-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -#BuildRequires: python-django -#BuildRequires: python-django-south -#BuildRequires: python-nose -Requires: python-Django -Requires: python-nose -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +Url: http://github.com/django-nose/django-nose +Source: https://files.pythonhosted.org/packages/source/d/django-nose/django-nose-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module Django >= 1.11} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildRequires: fdupes +%if %{with test} +BuildRequires: %{python_module dj-database-url} +BuildRequires: %{python_module nose >= 1.2.1} +BuildRequires: %{python_module pytest-django} %endif +Requires: python-Django >= 1.11 +Requires: python-nose >= 1.2.1 +BuildArch: noarch + +%python_subpackages %description Django test runner that uses nose. @@ -45,17 +49,20 @@ %setup -q -n django-nose-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -#%%check -#python setup.py test +%if %{with test} +%check +%python_exec ./manage.py test testapp/tests.py +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE README.rst +%doc AUTHORS.rst LICENSE README.rst changelog.rst %{python_sitelib}/* %changelog ++++++ django-nose-1.4.4.tar.gz -> django-nose-1.4.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/Makefile new/django-nose-1.4.5/Makefile --- old/django-nose-1.4.4/Makefile 2015-10-07 15:49:17.000000000 +0200 +++ new/django-nose-1.4.5/Makefile 2017-08-22 21:18:34.000000000 +0200 @@ -28,10 +28,8 @@ rm -fr *.egg-info clean-pyc: - find . -name '*.pyc' -exec rm -f {} + - find . -name '*.pyo' -exec rm -f {} + - find . -name '*~' -exec rm -f {} + - find . -name '__pycache__' -exec rm -fr {} + + find . \( -name \*.pyc -o -name \*.pyo -o -name __pycache__ \) -delete + find . -name '*~' -delete clean-test: rm -fr .tox/ @@ -50,7 +48,7 @@ ./manage.py test test-all: - tox --skip-missing-interpreters + COVERAGE=1 tox --skip-missing-interpreters coverage-console: coverage erase @@ -62,17 +60,17 @@ coverage html open htmlcov/index.html -release: clean - python setup.py sdist bdist_wheel upload - python -m webbrowser -n https://testpypi.python.org/pypi/django-nose - -test-release: - python setup.py register -r https://testpypi.python.org/pypi - python setup.py sdist bdist_wheel upload -r https://testpypi.python.org/pypi +release: sdist + twine upload dist/* + python -m webbrowser -n https://pypi.python.org/pypi/django-nose + +# Add [test] section to ~/.pypirc, https://test.pypi.org/legacy/ +test-release: sdist + twine upload --repository test dist/* python -m webbrowser -n https://testpypi.python.org/pypi/django-nose sdist: clean - python setup.py sdist + python setup.py sdist bdist_wheel ls -l dist check-manifest - pyroma dist/`ls -t dist | head -n1` + pyroma dist/`ls -t dist | grep tar.gz | head -n1` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/PKG-INFO new/django-nose-1.4.5/PKG-INFO --- old/django-nose-1.4.4/PKG-INFO 2016-06-27 15:31:11.000000000 +0200 +++ new/django-nose-1.4.5/PKG-INFO 2017-08-22 21:27:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: django-nose -Version: 1.4.4 +Version: 1.4.5 Summary: Makes your Django tests simple and snappy Home-page: http://github.com/django-nose/django-nose Author: Erik Rose @@ -23,7 +23,7 @@ accidentally shadowing test classes. * Taking advantage of all the useful `nose plugins`_ - .. _nose: https://nose.readthedocs.org/en/latest/ + .. _nose: https://nose.readthedocs.io/en/latest/ .. _nose plugins: http://nose-plugins.jottit.com/ It also provides: @@ -41,6 +41,7 @@ * Django 1.8 (LTS) with Python 2.7, 3.4, or 3.5 * Django 1.9 with Python 2.7, 3.4, or 3.5 * Django 1.10 with Python 2.7, 3.4, or 3.5 + * Django 1.11 (LTS) with Python 2.7, 3.4, 3.5, or 3.6 .. _latest release: https://pypi.python.org/pypi/nose .. _Django's support policy: https://docs.djangoproject.com/en/1.8/internals/release-process/#supported-versions @@ -49,16 +50,20 @@ ----------- :Code: https://github.com/django-nose/django-nose :Issues: https://github.com/django-nose/django-nose/issues?state=open - :Docs: https://django-nose.readthedocs.org + :Docs: https://django-nose.readthedocs.io Changelog --------- + 1.4.5 (2017-08-22) + ~~~~~~~~~~~~~~~~~~ + * Add Django 1.11 support + 1.4.4 (2016-06-27) ~~~~~~~~~~~~~~~~~~ * Add Django 1.10 support - * Drop Django 1.4, 1.7, and Python 2.6 support + * Drop Django 1.4 - 1.7, and Python 2.6 support * Drop South support 1.4.3 (2015-12-28) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/README.rst new/django-nose-1.4.5/README.rst --- old/django-nose-1.4.4/README.rst 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/README.rst 2017-08-22 21:18:34.000000000 +0200 @@ -6,10 +6,6 @@ :alt: The PyPI package :target: https://pypi.python.org/pypi/django-nose -.. image:: https://img.shields.io/pypi/dw/django-nose.svg - :alt: PyPI download statistics - :target: https://pypi.python.org/pypi/django-nose - .. image:: https://img.shields.io/travis/django-nose/django-nose/master.svg :alt: TravisCI Build Status :target: https://travis-ci.org/django-nose/django-nose @@ -31,7 +27,7 @@ accidentally shadowing test classes. * Taking advantage of all the useful `nose plugins`_ -.. _nose: https://nose.readthedocs.org/en/latest/ +.. _nose: https://nose.readthedocs.io/en/latest/ .. _nose plugins: http://nose-plugins.jottit.com/ It also provides: @@ -49,6 +45,7 @@ * Django 1.8 (LTS) with Python 2.7, 3.4, or 3.5 * Django 1.9 with Python 2.7, 3.4, or 3.5 * Django 1.10 with Python 2.7, 3.4, or 3.5 + * Django 1.11 (LTS) with Python 2.7, 3.4, 3.5, or 3.6 .. _latest release: https://pypi.python.org/pypi/nose .. _Django's support policy: https://docs.djangoproject.com/en/1.8/internals/release-process/#supported-versions @@ -57,4 +54,4 @@ ----------- :Code: https://github.com/django-nose/django-nose :Issues: https://github.com/django-nose/django-nose/issues?state=open -:Docs: https://django-nose.readthedocs.org +:Docs: https://django-nose.readthedocs.io diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/changelog.rst new/django-nose-1.4.5/changelog.rst --- old/django-nose-1.4.4/changelog.rst 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/changelog.rst 2017-08-22 21:18:34.000000000 +0200 @@ -1,10 +1,14 @@ Changelog --------- +1.4.5 (2017-08-22) +~~~~~~~~~~~~~~~~~~ +* Add Django 1.11 support + 1.4.4 (2016-06-27) ~~~~~~~~~~~~~~~~~~ * Add Django 1.10 support -* Drop Django 1.4, 1.7, and Python 2.6 support +* Drop Django 1.4 - 1.7, and Python 2.6 support * Drop South support 1.4.3 (2015-12-28) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/django_nose/__init__.py new/django-nose-1.4.5/django_nose/__init__.py --- old/django-nose-1.4.4/django_nose/__init__.py 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/django_nose/__init__.py 2017-08-22 21:18:34.000000000 +0200 @@ -8,5 +8,5 @@ assert NoseTestSuiteRunner assert FastFixtureTestCase -VERSION = (1, 4, 4) +VERSION = (1, 4, 5) __version__ = '.'.join(map(str, VERSION)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/django_nose/runner.py new/django-nose-1.4.5/django_nose/runner.py --- old/django-nose-1.4.4/django_nose/runner.py 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/django_nose/runner.py 2017-08-22 21:18:34.000000000 +0200 @@ -89,6 +89,10 @@ '--keepdb', '--reverse', '--debug-sql', # 1.9 arguments '--parallel', + # 1.10 arguments + '--tag', '--exclude-tag', + # 1.11 arguments + '--debug-mode', ] # @@ -242,7 +246,8 @@ return result_plugin.result def run_tests(self, test_labels, extra_tests=None): - """Run the unit tests for all the test names in the provided list. + """ + Run the unit tests for all the test names in the provided list. Test names specified may be file or module names, and may optionally indicate the test case to run by separating the module or file name @@ -255,7 +260,6 @@ not the whole string. Examples: - runner.run_tests( ('test.module',) ) runner.run_tests(['another.test:TestCase.test_method']) runner.run_tests(['a.test:TestCase']) @@ -267,6 +271,7 @@ but the extra tests will not be run. Maybe later. Returns the number of tests that failed. + """ nose_argv = (['nosetests'] + list(test_labels)) if hasattr(settings, 'NOSE_ARGS'): @@ -431,7 +436,7 @@ m._meta.db_table in tables] def setup_databases(self): - """Setup databases, skipping DB creation if requested and possible.""" + """Set up databases. Skip DB creation if requested and possible.""" for alias in connections: connection = connections[alias] creation = connection.creation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/django_nose/tools.py new/django-nose-1.4.5/django_nose/tools.py --- old/django-nose-1.4.4/django_nose/tools.py 2015-11-04 03:42:11.000000000 +0100 +++ new/django-nose-1.4.5/django_nose/tools.py 2017-08-22 21:18:34.000000000 +0200 @@ -14,6 +14,7 @@ new_names[t] = getattr(tools, t) return new_names + for _name, _value in _get_nose_vars().items(): vars()[_name] = _value @@ -40,7 +41,7 @@ """A dummy test case for gathering current assertion helpers.""" def nop(): - """A dummy test to get an initialized test case.""" + """Do nothing, dummy test to get an initialized test case.""" pass dummy_test = Dummy('nop') @@ -86,5 +87,5 @@ if msg is None: msg = ', '.join([e.subject for e in mail.outbox]) msg = '%d != %d %s' % (len(mail.outbox), count, msg) - # assert_equals is dynamicaly added above - assert_equals(len(mail.outbox), count, msg) # nopep8 + # assert_equals is dynamicaly added above. F821 is undefined name error + assert_equals(len(mail.outbox), count, msg) # noqa: F821 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/django_nose.egg-info/PKG-INFO new/django-nose-1.4.5/django_nose.egg-info/PKG-INFO --- old/django-nose-1.4.4/django_nose.egg-info/PKG-INFO 2016-06-27 15:31:11.000000000 +0200 +++ new/django-nose-1.4.5/django_nose.egg-info/PKG-INFO 2017-08-22 21:27:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: django-nose -Version: 1.4.4 +Version: 1.4.5 Summary: Makes your Django tests simple and snappy Home-page: http://github.com/django-nose/django-nose Author: Erik Rose @@ -23,7 +23,7 @@ accidentally shadowing test classes. * Taking advantage of all the useful `nose plugins`_ - .. _nose: https://nose.readthedocs.org/en/latest/ + .. _nose: https://nose.readthedocs.io/en/latest/ .. _nose plugins: http://nose-plugins.jottit.com/ It also provides: @@ -41,6 +41,7 @@ * Django 1.8 (LTS) with Python 2.7, 3.4, or 3.5 * Django 1.9 with Python 2.7, 3.4, or 3.5 * Django 1.10 with Python 2.7, 3.4, or 3.5 + * Django 1.11 (LTS) with Python 2.7, 3.4, 3.5, or 3.6 .. _latest release: https://pypi.python.org/pypi/nose .. _Django's support policy: https://docs.djangoproject.com/en/1.8/internals/release-process/#supported-versions @@ -49,16 +50,20 @@ ----------- :Code: https://github.com/django-nose/django-nose :Issues: https://github.com/django-nose/django-nose/issues?state=open - :Docs: https://django-nose.readthedocs.org + :Docs: https://django-nose.readthedocs.io Changelog --------- + 1.4.5 (2017-08-22) + ~~~~~~~~~~~~~~~~~~ + * Add Django 1.11 support + 1.4.4 (2016-06-27) ~~~~~~~~~~~~~~~~~~ * Add Django 1.10 support - * Drop Django 1.4, 1.7, and Python 2.6 support + * Drop Django 1.4 - 1.7, and Python 2.6 support * Drop South support 1.4.3 (2015-12-28) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/docs/usage.rst new/django-nose-1.4.5/docs/usage.rst --- old/django-nose-1.4.4/docs/usage.rst 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/docs/usage.rst 2017-04-05 01:34:46.000000000 +0200 @@ -7,7 +7,7 @@ See ``./manage.py help test`` for all the options nose provides, and look to the `nose docs`_ for more help with nose. -.. _nose docs: https://nose.readthedocs.org +.. _nose docs: https://nose.readthedocs.io/en/latest/ Enabling Database Reuse ----------------------- @@ -185,7 +185,7 @@ NOSE_ARGS = ['--failed', '--stop'] -.. _nose.cfg or setup.cfg: https://nose.readthedocs.org/en/latest/usage.html#configuration +.. _nose.cfg or setup.cfg: https://nose.readthedocs.io/en/latest/usage.html#configuration Custom Plugins @@ -203,5 +203,5 @@ importable path to an actual class. Each plugin class will be instantiated and added to the Nose test runner. -.. _make custom plugins: https://nose.readthedocs.org/en/latest/plugins.html#writing-plugins +.. _make custom plugins: https://nose.readthedocs.io/en/latest/plugins.html#writing-plugins diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/requirements-rtd.txt new/django-nose-1.4.5/requirements-rtd.txt --- old/django-nose-1.4.4/requirements-rtd.txt 2015-10-07 15:49:17.000000000 +0200 +++ new/django-nose-1.4.5/requirements-rtd.txt 2017-04-05 01:34:46.000000000 +0200 @@ -1,4 +1,5 @@ # Requirements for ReadTheDocs -# None right now, but avoid installing gnureadline, etc. # Must be set in the RTD Admin, at: # https://readthedocs.org/dashboard/django-nose/advanced/ +Django>=1.10,<1.11 +nose diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/requirements.txt new/django-nose-1.4.5/requirements.txt --- old/django-nose-1.4.4/requirements.txt 2015-11-04 03:42:11.000000000 +0100 +++ new/django-nose-1.4.5/requirements.txt 2017-08-22 21:18:34.000000000 +0200 @@ -3,44 +3,37 @@ # # Latest Django -Django==1.8.5 +Django>=1.11,<2.0 # This project -e . # Load database config from environment -dj-database-url==0.3.0 +dj-database-url==0.4.2 # Packaging -wheel==0.26.0 +wheel==0.29.0 +twine==1.9.1 # PEP8, PEP257, and static analysis -mccabe==0.3.1 -pep8==1.6.2 -pyflakes==1.0.0 -flake8==2.5.0 -pep257==0.7.0 -flake8-docstrings==0.2.1 +flake8==3.4.1 +flake8-docstrings==1.1.0 # Code coverage -coverage==4.0 +coverage==4.4.1 # Documentation -Pygments==2.0.2 -Sphinx==1.3.1 -docutils==0.12 +Sphinx==1.6.3 # Packaging Linters -check-manifest==0.25 -pyroma==1.8.2 +check-manifest==0.35 +pyroma==2.2 # Multi-env test runner -virtualenv==13.1.2 -py==1.4.30 -tox==2.1.1 +tox==2.7.0 # Better interactive debugging gnureadline==6.3.3 -ipython==4.0.0 -ipdb==0.8.1 -ipdbplugin==1.4.2 +ipython==5.4.1 +ipdb==0.10.3 +ipdbplugin==1.4.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/setup.cfg new/django-nose-1.4.5/setup.cfg --- old/django-nose-1.4.4/setup.cfg 2016-06-27 15:31:11.000000000 +0200 +++ new/django-nose-1.4.5/setup.cfg 2017-08-22 21:27:23.000000000 +0200 @@ -20,5 +20,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/setup.py new/django-nose-1.4.5/setup.py --- old/django-nose-1.4.4/setup.py 2016-06-27 15:27:29.000000000 +0200 +++ new/django-nose-1.4.5/setup.py 2017-08-22 21:18:34.000000000 +0200 @@ -34,9 +34,10 @@ """ % locals() return long_description + setup( name='django-nose', - version='1.4.4', + version='1.4.5', description='Makes your Django tests simple and snappy', long_description=get_long_description('django-nose'), author='Jeff Balogh', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/testapp/migrations/0001_initial.py new/django-nose-1.4.5/testapp/migrations/0001_initial.py --- old/django-nose-1.4.4/testapp/migrations/0001_initial.py 2015-07-17 20:50:30.000000000 +0200 +++ new/django-nose-1.4.5/testapp/migrations/0001_initial.py 2017-08-22 15:40:06.000000000 +0200 @@ -36,7 +36,7 @@ migrations.AddField( model_name='choice', name='question', - field=models.ForeignKey(to='testapp.Question'), + field=models.ForeignKey(to='testapp.Question', on_delete=models.CASCADE), preserve_default=True, ), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/testapp/models.py new/django-nose-1.4.5/testapp/models.py --- old/django-nose-1.4.4/testapp/models.py 2015-11-04 03:42:11.000000000 +0100 +++ new/django-nose-1.4.5/testapp/models.py 2017-08-22 15:40:06.000000000 +0200 @@ -21,7 +21,7 @@ class Choice(models.Model): """A poll answer.""" - question = models.ForeignKey(Question) + question = models.ForeignKey(Question, on_delete=models.CASCADE) choice_text = models.CharField(max_length=200) votes = models.IntegerField(default=0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nose-1.4.4/testapp/settings.py new/django-nose-1.4.5/testapp/settings.py --- old/django-nose-1.4.4/testapp/settings.py 2016-06-27 15:26:07.000000000 +0200 +++ new/django-nose-1.4.5/testapp/settings.py 2017-08-22 21:18:34.000000000 +0200 @@ -20,6 +20,7 @@ """Construct the full path given a relative path.""" return path.join(BASE_DIR, *subpaths) + DATABASES = { 'default': dj_database_url.config(