Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-nine for openSUSE:Factory checked in at 2023-01-04 17:53:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-nine (Old) and /work/SRC/openSUSE:Factory/.python-django-nine.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-nine" Wed Jan 4 17:53:55 2023 rev:6 rq:1055882 version:0.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-nine/python-django-nine.changes 2022-05-10 15:12:14.843594015 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-nine.new.1563/python-django-nine.changes 2023-01-04 17:54:41.822922260 +0100 @@ -1,0 +2,9 @@ +Wed Jan 4 15:12:09 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.2.7: + * Added ``packaging`` to the required dependencies. + * Remove mentions of Python 2.6, 2.7, 3.4, 3.5 and 3.6 support from README + * Fix deprecations. + * Test against Python 3.9 and 3.10. + +------------------------------------------------------------------- Old: ---- django-nine-0.2.5.tar.gz New: ---- django-nine-0.2.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-nine.spec ++++++ --- /var/tmp/diff_new_pack.FliJBU/_old 2023-01-04 17:54:42.198924476 +0100 +++ /var/tmp/diff_new_pack.FliJBU/_new 2023-01-04 17:54:42.202924499 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-nine # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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_python36 1 Name: python-django-nine -Version: 0.2.5 +Version: 0.2.7 Release: 0 Summary: Compatibility library for Django License: GPL-2.0-only OR LGPL-2.1-or-later @@ -34,6 +34,7 @@ BuildRequires: %{python_module pytest-django} # /SECTION BuildRequires: fdupes +Requires: python-packaging BuildArch: noarch %python_subpackages ++++++ django-nine-0.2.5.tar.gz -> django-nine-0.2.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/CHANGELOG.rst new/django-nine-0.2.7/CHANGELOG.rst --- old/django-nine-0.2.5/CHANGELOG.rst 2021-08-26 23:07:01.000000000 +0200 +++ new/django-nine-0.2.7/CHANGELOG.rst 2022-12-05 21:51:46.000000000 +0100 @@ -15,6 +15,21 @@ 0.3.2 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.2.7 +----- +2022-12-05 + +- Added ``packaging`` to the required dependencies. +- Remove mentions of Python 2.6, 2.7, 3.4, 3.5 and 3.6 support from README + (since they are no longer tested against). + +0.2.6 +----- +2022-12-01 + +- Fix deprecations. +- Test against Python 3.9 and 3.10. + 0.2.5 ----- 2021-08-26 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/PKG-INFO new/django-nine-0.2.7/PKG-INFO --- old/django-nine-0.2.5/PKG-INFO 2021-08-27 02:47:55.986303600 +0200 +++ new/django-nine-0.2.7/PKG-INFO 2022-12-05 21:57:39.244779600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: django-nine -Version: 0.2.5 +Version: 0.2.7 Summary: Version checking library. Home-page: https://github.com/barseghyanartur/django-nine/ Author: Artur Barseghyan @@ -11,16 +11,11 @@ Project-URL: Source Code, https://github.com/barseghyanartur/django-nine Project-URL: Changelog, https://django-nine.readthedocs.io/en/latest/changelog.html Keywords: django,compatibility -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 2.6 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 Classifier: Environment :: Web Environment Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2) Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) @@ -44,10 +39,14 @@ :target: https://pypi.python.org/pypi/django-nine/ :alt: Supported Python versions -.. image:: https://img.shields.io/travis/barseghyanartur/django-nine/master.svg - :target: http://travis-ci.org/barseghyanartur/django-nine +.. image:: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml/badge.svg + :target: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml :alt: Build Status +.. image:: https://readthedocs.org/projects/django-nine/badge/?version=latest + :target: http://django-nine.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + .. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg :target: https://github.com/barseghyanartur/django-nine/#License :alt: GPL-2.0-only OR LGPL-2.1-or-later @@ -58,8 +57,9 @@ Prerequisites ============= -- Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8. -- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0 and 3.1. +- Python 3.7, 3.8, 3.9 and 3.10. +- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, + 4.0 and 4.1. Documentation ============= @@ -80,12 +80,6 @@ pip install https://github.com/barseghyanartur/django-nine/archive/stable.zip -Or latest stable version from BitBucket: - -.. code-block:: sh - - pip install https://bitbucket.org/barseghyanartur/django-nine/get/stable.zip - Usage ===== Get Django versions @@ -155,10 +149,9 @@ Support ======= -For any issues contact me at the e-mail given in the `Author`_ section. +For any security issues contact me at the e-mail given in the `Author`_ section. +For overall issues, go to `GitHub <https://github.com/barseghyanartur/django-nine/issues>`_. Author ====== Artur Barseghyan <artur.barsegh...@gmail.com> - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/README.rst new/django-nine-0.2.7/README.rst --- old/django-nine-0.2.5/README.rst 2020-12-03 21:28:24.000000000 +0100 +++ new/django-nine-0.2.7/README.rst 2022-12-05 21:55:19.000000000 +0100 @@ -11,10 +11,14 @@ :target: https://pypi.python.org/pypi/django-nine/ :alt: Supported Python versions -.. image:: https://img.shields.io/travis/barseghyanartur/django-nine/master.svg - :target: http://travis-ci.org/barseghyanartur/django-nine +.. image:: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml/badge.svg + :target: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml :alt: Build Status +.. image:: https://readthedocs.org/projects/django-nine/badge/?version=latest + :target: http://django-nine.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + .. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg :target: https://github.com/barseghyanartur/django-nine/#License :alt: GPL-2.0-only OR LGPL-2.1-or-later @@ -25,8 +29,9 @@ Prerequisites ============= -- Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8. -- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0 and 3.1. +- Python 3.7, 3.8, 3.9 and 3.10. +- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, + 4.0 and 4.1. Documentation ============= @@ -47,12 +52,6 @@ pip install https://github.com/barseghyanartur/django-nine/archive/stable.zip -Or latest stable version from BitBucket: - -.. code-block:: sh - - pip install https://bitbucket.org/barseghyanartur/django-nine/get/stable.zip - Usage ===== Get Django versions @@ -122,7 +121,8 @@ Support ======= -For any issues contact me at the e-mail given in the `Author`_ section. +For any security issues contact me at the e-mail given in the `Author`_ section. +For overall issues, go to `GitHub <https://github.com/barseghyanartur/django-nine/issues>`_. Author ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/setup.py new/django-nine-0.2.7/setup.py --- old/django-nine-0.2.5/setup.py 2021-08-26 23:08:29.000000000 +0200 +++ new/django-nine-0.2.7/setup.py 2022-12-05 21:53:32.000000000 +0100 @@ -1,16 +1,16 @@ -import sys import os -from setuptools import setup, find_packages +from setuptools import find_packages, setup try: readme = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() -except: +except OSError: readme = "" -version = "0.2.5" +version = "0.2.7" install_requires = [ "Django", + "packaging", ] tests_require = [ @@ -18,31 +18,17 @@ "mock", ] -try: - PY2 = sys.version_info[0] == 2 - LTE_PY26 = PY2 and (7 > sys.version_info[1]) - PY3 = sys.version_info[0] == 3 - - if LTE_PY26: - install_requires.append("importlib") -except: - pass - setup( name="django-nine", version=version, description="Version checking library.", long_description="{0}".format(readme), classifiers=[ - "Programming Language :: Python :: 2.6", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Environment :: Web Environment", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "License :: OSI Approved :: GNU Lesser General Public License v2 or " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/__init__.py new/django-nine-0.2.7/src/django_nine/__init__.py --- old/django-nine-0.2.5/src/django_nine/__init__.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/__init__.py 2022-12-05 21:12:31.000000000 +0100 @@ -1,5 +1,5 @@ __title__ = "django_nine" -__version__ = "0.2.4" +__version__ = "0.2.7" __author__ = "Artur Barseghyan <artur.barsegh...@gmail.com>" -__copyright__ = "2015-2020 Artur Barseghyan" +__copyright__ = "2015-2022 Artur Barseghyan" __license__ = "GPL-2.0-only OR LGPL-2.1-or-later" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/context_processors.py new/django-nine-0.2.7/src/django_nine/context_processors.py --- old/django-nine-0.2.5/src/django_nine/context_processors.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/context_processors.py 2022-12-01 00:32:19.000000000 +0100 @@ -1,8 +1,8 @@ from django_nine import versions as nine_versions -__title__ = "django_nine.versions" +__title__ = "django_nine.context_processors" __author__ = "Artur Barseghyan <artur.barsegh...@gmail.com>" -__copyright__ = "2015-2020 Artur Barseghyan" +__copyright__ = "2015-2022 Artur Barseghyan" __license__ = "GPL-2.0-only OR LGPL-2.1-or-later" __all__ = [ "versions", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/tests/base.py new/django-nine-0.2.7/src/django_nine/tests/base.py --- old/django-nine-0.2.5/src/django_nine/tests/base.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/tests/base.py 2022-12-01 00:32:19.000000000 +0100 @@ -2,7 +2,7 @@ __title__ = "django_nine.tests.base" __author__ = "Artur Barseghyan" -__copyright__ = "2015-2019 Artur Barseghyan" +__copyright__ = "2015-2022 Artur Barseghyan" __license__ = "GPL-2.0-only OR LGPL-2.1-or-later" __all__ = ( "LOG_INFO", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/tests/test_versions.py new/django-nine-0.2.7/src/django_nine/tests/test_versions.py --- old/django-nine-0.2.5/src/django_nine/tests/test_versions.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/tests/test_versions.py 2022-12-01 00:32:19.000000000 +0100 @@ -15,7 +15,7 @@ __title__ = "django_nine.tests.test_versions" __author__ = "Artur Barseghyan" -__copyright__ = "Copyright (c) 2015 Artur Barseghyan" +__copyright__ = "2015-2022 Artur Barseghyan" __license__ = "GPL-2.0-only OR LGPL-2.1-or-later" __all__ = ("VersionsTest",) @@ -173,7 +173,7 @@ from django_nine import versions reload(versions) - + # import ipdb; ipdb.set_trace() # Exact version matching self.assertFalse(versions.DJANGO_1_4) self.assertFalse(versions.DJANGO_1_5) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/user.py new/django-nine-0.2.7/src/django_nine/user.py --- old/django-nine-0.2.5/src/django_nine/user.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/user.py 2022-12-01 00:32:19.000000000 +0100 @@ -38,10 +38,10 @@ "".format(settings.AUTH_USER_MODEL, user_app_name) ) -__title__ = "nine.user" +__title__ = "django_nine.user" __author__ = "Artur Barseghyan <artur.barsegh...@gmail.com>" -__copyright__ = "Copyright (c) 2015-2017 Artur Barseghyan" -__license__ = "GPL 2.0/LGPL 2.1" +__copyright__ = "2015-2022 Artur Barseghyan" +__license__ = "GPL-2.0-only OR LGPL-2.1-or-later" __all__ = ("User",) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine/versions.py new/django-nine-0.2.7/src/django_nine/versions.py --- old/django-nine-0.2.5/src/django_nine/versions.py 2021-08-26 23:07:42.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine/versions.py 2022-12-01 00:32:19.000000000 +0100 @@ -3,22 +3,25 @@ and GTE). """ -from distutils.version import LooseVersion +from packaging.version import Version import django __title__ = "django_nine.versions" __author__ = "Artur Barseghyan <artur.barsegh...@gmail.com>" -__copyright__ = "2015-2020 Artur Barseghyan" +__copyright__ = "2015-2022 Artur Barseghyan" __license__ = "GPL-2.0-only OR LGPL-2.1-or-later" __all__ = [ "LOOSE_DJANGO_VERSION", "LOOSE_DJANGO_MINOR_VERSION", ] -LOOSE_DJANGO_VERSION = LooseVersion(django.get_version()) -LOOSE_DJANGO_MINOR_VERSION = LooseVersion( - ".".join([str(i) for i in LOOSE_DJANGO_VERSION.version[0:2]]) +LOOSE_DJANGO_VERSION = Version(django.get_version()) +LOOSE_DJANGO_MINOR_VERSION = Version( + "{major}.{minor}".format( + major=LOOSE_DJANGO_VERSION.major, + minor=LOOSE_DJANGO_VERSION.minor + ) ) # Loose versions @@ -50,21 +53,16 @@ for v in LOOSE_VERSIONS: var_name = "LOOSE_VERSION_{0}".format(v.replace(".", "_")) - globals()[var_name] = LooseVersion(v) + globals()[var_name] = Version(v) __all__.append(var_name) # Exact versions EXACT_VERSIONS = LOOSE_VERSIONS[:-1] for i, v in enumerate(EXACT_VERSIONS): - l_cur = globals()[ - "LOOSE_VERSION_{0}" "".format(LOOSE_VERSIONS[i].replace(".", "_")) - ] - l_nxt = globals()[ - "LOOSE_VERSION_{0}" "".format(LOOSE_VERSIONS[i + 1].replace(".", "_")) - ] + l_cur = Version(v) var_name = "DJANGO_{0}".format(v.replace(".", "_")) - globals()[var_name] = l_cur <= LOOSE_DJANGO_VERSION < l_nxt + globals()[var_name] = (l_cur == LOOSE_DJANGO_MINOR_VERSION) __all__.append(var_name) # LTE list @@ -75,7 +73,7 @@ "LOOSE_VERSION_{0}" "".format(LOOSE_VERSIONS[i].replace(".", "_")) ] var_name = "DJANGO_LTE_{0}".format(v.replace(".", "_")) - globals()[var_name] = LOOSE_DJANGO_MINOR_VERSION <= l_cur + globals()[var_name] = (LOOSE_DJANGO_MINOR_VERSION <= l_cur) __all__.append(var_name) # GTE list @@ -86,7 +84,7 @@ "LOOSE_VERSION_{0}" "".format(LOOSE_VERSIONS[i].replace(".", "_")) ] var_name = "DJANGO_GTE_{0}".format(v.replace(".", "_")) - globals()[var_name] = LOOSE_DJANGO_MINOR_VERSION >= l_cur + globals()[var_name] = (LOOSE_DJANGO_MINOR_VERSION >= l_cur) __all__.append(var_name) __all__ = tuple(__all__) @@ -101,5 +99,5 @@ except NameError: pass -del LooseVersion +del Version del django diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine.egg-info/PKG-INFO new/django-nine-0.2.7/src/django_nine.egg-info/PKG-INFO --- old/django-nine-0.2.5/src/django_nine.egg-info/PKG-INFO 2021-08-27 02:47:55.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine.egg-info/PKG-INFO 2022-12-05 21:57:39.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: django-nine -Version: 0.2.5 +Version: 0.2.7 Summary: Version checking library. Home-page: https://github.com/barseghyanartur/django-nine/ Author: Artur Barseghyan @@ -11,16 +11,11 @@ Project-URL: Source Code, https://github.com/barseghyanartur/django-nine Project-URL: Changelog, https://django-nine.readthedocs.io/en/latest/changelog.html Keywords: django,compatibility -Platform: UNKNOWN -Classifier: Programming Language :: Python :: 2.6 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 Classifier: Environment :: Web Environment Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2) Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) @@ -44,10 +39,14 @@ :target: https://pypi.python.org/pypi/django-nine/ :alt: Supported Python versions -.. image:: https://img.shields.io/travis/barseghyanartur/django-nine/master.svg - :target: http://travis-ci.org/barseghyanartur/django-nine +.. image:: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml/badge.svg + :target: https://github.com/barseghyanartur/django-nine/actions/workflows/test.yml :alt: Build Status +.. image:: https://readthedocs.org/projects/django-nine/badge/?version=latest + :target: http://django-nine.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + .. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg :target: https://github.com/barseghyanartur/django-nine/#License :alt: GPL-2.0-only OR LGPL-2.1-or-later @@ -58,8 +57,9 @@ Prerequisites ============= -- Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8. -- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0 and 3.1. +- Python 3.7, 3.8, 3.9 and 3.10. +- Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, + 4.0 and 4.1. Documentation ============= @@ -80,12 +80,6 @@ pip install https://github.com/barseghyanartur/django-nine/archive/stable.zip -Or latest stable version from BitBucket: - -.. code-block:: sh - - pip install https://bitbucket.org/barseghyanartur/django-nine/get/stable.zip - Usage ===== Get Django versions @@ -155,10 +149,9 @@ Support ======= -For any issues contact me at the e-mail given in the `Author`_ section. +For any security issues contact me at the e-mail given in the `Author`_ section. +For overall issues, go to `GitHub <https://github.com/barseghyanartur/django-nine/issues>`_. Author ====== Artur Barseghyan <artur.barsegh...@gmail.com> - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-nine-0.2.5/src/django_nine.egg-info/requires.txt new/django-nine-0.2.7/src/django_nine.egg-info/requires.txt --- old/django-nine-0.2.5/src/django_nine.egg-info/requires.txt 2021-08-27 02:47:55.000000000 +0200 +++ new/django-nine-0.2.7/src/django_nine.egg-info/requires.txt 2022-12-05 21:57:39.000000000 +0100 @@ -1 +1,2 @@ Django +packaging