Hello community, here is the log from the commit of package python-django-appconf for openSUSE:Factory checked in at 2019-03-10 09:39:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-appconf (Old) and /work/SRC/openSUSE:Factory/.python-django-appconf.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-appconf" Sun Mar 10 09:39:34 2019 rev:15 rq:682741 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-appconf/python-django-appconf.changes 2018-12-11 15:48:35.702155948 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-appconf.new.28833/python-django-appconf.changes 2019-03-10 09:39:34.412115921 +0100 @@ -1,0 +2,7 @@ +Fri Mar 8 09:41:52 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.0.3: + * use six directly + * metadata updates + +------------------------------------------------------------------- Old: ---- v1.0.2.tar.gz New: ---- 1.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-appconf.spec ++++++ --- /var/tmp/diff_new_pack.md6YgK/_old 2019-03-10 09:39:34.936115795 +0100 +++ /var/tmp/diff_new_pack.md6YgK/_new 2019-03-10 09:39:34.948115792 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-appconf # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,17 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-appconf -Version: 1.0.2 +Version: 1.0.3 Release: 0 Summary: A Helper Class for Handling Configuration Defaults of Packaged Apps License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/django-compressor/django-appconf -Source: https://github.com/django-compressor/django-appconf/archive/v%{version}.tar.gz +Source: https://github.com/django-compressor/django-appconf/archive/%{version}.tar.gz BuildRequires: %{python_module Django} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django +Requires: python-six BuildArch: noarch %python_subpackages @@ -44,6 +47,7 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export DJANGO_SETTINGS_MODULE=tests.test_settings ++++++ v1.0.2.tar.gz -> 1.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/.travis.yml new/django-appconf-1.0.3/.travis.yml --- old/django-appconf-1.0.2/.travis.yml 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/.travis.yml 2019-03-03 16:07:32.000000000 +0100 @@ -1,34 +1,78 @@ sudo: false language: python -python: - - 3.5 -env: - - TOXENV=flake8-py27 - - TOXENV=flake8-py34 - - TOXENV=py27-dj18 - - TOXENV=py27-dj19 - - TOXENV=py27-dj110 - - TOXENV=py32-dj18 - - TOXENV=py33-dj18 - - TOXENV=py34-dj18 - - TOXENV=py34-dj19 - - TOXENV=py34-dj110 - - TOXENV=py35-dj19 - - TOXENV=py35-dj110 + matrix: fast_finish: true allow_failures: - - env: TOXENV=py27-dj110 - - env: TOXENV=py34-dj110 - - env: TOXENV=py35-dj110 + - env: TOXENV=py35-djmaster + - env: TOXENV=py36-djmaster + - env: TOXENV=py37-djmaster + include: + # Python version is just for the look on travis. + - python: 2.7 + env: TOXENV=flake8-py27 + + - python: 3.4 + env: TOXENV=flake8-py34 + + - python: 2.7 + env: TOXENV=py27-dj111 + + - python: 3.4 + env: TOXENV=py34-dj111 + + - python: 3.4 + env: TOXENV=py34-dj20 + + - python: 3.5 + env: TOXENV=py35-dj111 + + - python: 3.5 + env: TOXENV=py35-dj20 + + - python: 3.5 + env: TOXENV=py35-dj21 + + - python: 3.6 + env: TOXENV=py36-dj111 + + - python: 3.6 + env: TOXENV=py36-dj20 + + - python: 3.6 + env: TOXENV=py36-dj21 + + - python: 3.6 + env: TOXENV=py36-djmaster + + - python: 3.7 + env: TOXENV=py37-dj111 + dist: xenial + sudo: true + + - python: 3.7 + env: TOXENV=py37-dj20 + dist: xenial + sudo: true + + - python: 3.7 + env: TOXENV=py37-dj21 + dist: xenial + sudo: true + + - python: 3.7 + env: TOXENV=py37-djmaster + dist: xenial + sudo: true + install: - # Virtualenv < 14 is required to keep the Python 3.2 builds running. - - pip install tox "virtualenv<14" + - pip install tox codecov script: - - tox + - tox -e $TOXENV + notifications: irc: "irc.freenode.org#django-compressor" + after_success: - - pip install codecov - codecov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/README.rst new/django-appconf-1.0.3/README.rst --- old/django-appconf-1.0.2/README.rst 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/README.rst 2019-03-03 16:07:32.000000000 +0100 @@ -5,7 +5,7 @@ :alt: Code Coverage :target: http://codecov.io/github/django-compressor/django-appconf?branch=develop -.. image:: https://secure.travis-ci.org/django-compressor/django-appconf.png?branch=develop +.. image:: https://secure.travis-ci.org/django-compressor/django-appconf.svg?branch=develop :alt: Build Status :target: http://travis-ci.org/django-compressor/django-appconf @@ -28,7 +28,9 @@ Say you have an app called ``myapp`` with a few defaults, which you want to refer to in the app's code without repeating yourself all the time. ``appconf`` provides a simple class to implement those defaults. Simply add -something like the following code somewhere in your app files:: +something like the following code somewhere in your app files: + +.. code-block:: python from appconf import AppConf @@ -51,7 +53,9 @@ is in the ``myapp`` package, the prefix of the settings will be ``MYAPP``. You can override the default prefix by specifying a ``prefix`` attribute of -an inner ``Meta`` class:: +an inner ``Meta`` class: + +.. code-block:: python from appconf import AppConf @@ -66,13 +70,17 @@ The ``MyAppConf`` class will automatically look at Django's global settings to determine if you've overridden it. For example, adding this to your site's -``settings.py`` would override ``SETTING_1`` of the above ``MyAppConf``:: +``settings.py`` would override ``SETTING_1`` of the above ``MyAppConf``: + +.. code-block:: python ACME_SETTING_1 = "uno" In case you want to use a different settings object instead of the default ``'django.conf.settings'``, set the ``holder`` attribute of the inner -``Meta`` class to a dotted import path:: +``Meta`` class to a dotted import path: + +.. code-block:: python from appconf import AppConf @@ -88,7 +96,9 @@ If you ship an ``AppConf`` class with your reusable Django app, it's recommended to put it in a ``conf.py`` file of your app package and -import ``django.conf.settings`` in it, too:: +import ``django.conf.settings`` in it, too: + +.. code-block:: python from django.conf import settings from appconf import AppConf @@ -101,7 +111,9 @@ In the other files of your app you can easily make sure the settings are correctly loaded if you import Django's settings object from that -module, e.g. in your app's ``views.py``:: +module, e.g. in your app's ``views.py``: + +.. code-block:: python from django.http import HttpResponse from myapp.conf import settings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/appconf/__init__.py new/django-appconf-1.0.3/appconf/__init__.py --- old/django-appconf-1.0.2/appconf/__init__.py 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/appconf/__init__.py 2019-03-03 16:07:32.000000000 +0100 @@ -1,4 +1,4 @@ from __future__ import absolute_import from .base import AppConf # noqa -__version__ = "1.0.2" +__version__ = "1.0.3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/appconf/base.py new/django-appconf-1.0.3/appconf/base.py --- old/django-appconf-1.0.2/appconf/base.py 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/appconf/base.py 2019-03-03 16:07:32.000000000 +0100 @@ -1,7 +1,8 @@ import sys +import six + from django.core.exceptions import ImproperlyConfigured -from django.utils import six from .utils import import_attribute @@ -115,7 +116,7 @@ setattr(self, name, value) def __dir__(self): - return sorted(list(set(self._meta.names.keys()))) + return sorted(set(self._meta.names.keys())) # For instance access.. @property diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/appconf/utils.py new/django-appconf-1.0.3/appconf/utils.py --- old/django-appconf-1.0.2/appconf/utils.py 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/appconf/utils.py 2019-03-03 16:07:32.000000000 +0100 @@ -1,10 +1,11 @@ import sys +# flake8: noqa def import_attribute(import_path, exception_handler=None): try: from importlib import import_module - except ImportError: + except ImportError: # pragma: no cover from django.utils.importlib import import_module module_name, object_name = import_path.rsplit('.', 1) try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/docs/changelog.rst new/django-appconf-1.0.3/docs/changelog.rst --- old/django-appconf-1.0.2/docs/changelog.rst 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/docs/changelog.rst 2019-03-03 16:07:32.000000000 +0100 @@ -1,6 +1,19 @@ Changelog ========= +1.0.3 (2019-03-3) +----------------- + +Packaging metadata updates: + +* Update tox configuration to match Django Python support map + +* Drop support for Django 1.8, 1.9 and 1.10 +* Drop support for python 3.3 + +* Confirm support for Django 1.11, 2.0 and 2.1 +* Confirm support for python 3.7 + 1.0.2 (2016-04-19) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/docs/conf.py new/django-appconf-1.0.3/docs/conf.py --- old/django-appconf-1.0.2/docs/conf.py 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/docs/conf.py 2019-03-03 16:07:32.000000000 +0100 @@ -222,7 +222,7 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'python': ('http://python.readthedocs.org/en/v2.7.2/', None), - 'django': ('http://django.readthedocs.org/en/latest/', None), - 'celery': ('http://celery.readthedocs.org/en/latest/', None), + 'python': ('https://python.readthedocs.io/en/v2.7.2/', None), + 'django': ('https://django.readthedocs.io/en/latest/', None), + 'celery': ('https://celery.readthedocs.io/en/latest/', None), } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/setup.py new/django-appconf-1.0.3/setup.py --- old/django-appconf-1.0.2/setup.py 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/setup.py 2019-03-03 16:07:32.000000000 +0100 @@ -27,24 +27,33 @@ author='Jannis Leidel', author_email='jan...@leidel.info', license='BSD', - url='http://django-appconf.readthedocs.org/', + url='https://django-appconf.readthedocs.io/', packages=['appconf'], - install_requires=[], + install_requires=['django', 'six'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', + 'Framework :: Django :: 1.8', + 'Framework :: Django :: 1.9', + 'Framework :: Django :: 1.10', + 'Framework :: Django :: 1.11', + 'Framework :: Django :: 2.0', + 'Framework :: Django :: 2.1', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', - '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', 'Topic :: Utilities', ], + project_urls={ + 'Source': 'https://github.com/django-compressor/django-appconf', + } ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-appconf-1.0.2/tox.ini new/django-appconf-1.0.3/tox.ini --- old/django-appconf-1.0.2/tox.ini 2016-04-19 21:17:43.000000000 +0200 +++ new/django-appconf-1.0.3/tox.ini 2019-03-03 16:07:32.000000000 +0100 @@ -1,34 +1,34 @@ [tox] skipsdist = True usedevelop = True -minversion = 1.8 +minversion = 1.11 envlist = flake8-py27, flake8-py34, - py{27,32,33,34}-dj18, - py{27,34,35}-dj19, - py{27,34,35}-dj110 + py{27,34,35,36,37}-dj111, + py{34,35,36,37}-dj20, + py{35,36,37}-dj21, + py{36,37}-djmaster [testenv] basepython = py27: python2.7 - py32: python3.2 - py33: python3.3 py34: python3.4 py35: python3.5 + py36: python3.6 + py37: python3.7 pypy: pypy usedevelop = true setenv = PYTHONPATH = {toxinidir} DJANGO_SETTINGS_MODULE=tests.test_settings deps = - flake8 - py{27,33,34,35,pypy}: coverage - py32: coverage==3.7.1 # latest coverage support py3.2 + py{27,34,35,36,37,pypy}: coverage django-discover-runner - dj18: https://github.com/django/django/archive/stable/1.8.x.tar.gz#egg=django - dj19: https://github.com/django/django/archive/stable/1.9.x.tar.gz#egg=django - dj110: https://github.com/django/django/archive/master.tar.gz#egg=django + dj111: Django>=1.11,<2.0 + dj20: Django>=2.0,<2.1 + dj21: https://github.com/django/django/archive/stable/2.1.x.tar.gz#egg=django + djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django commands = coverage run {envbindir}/django-admin.py test -v2 {posargs:tests}