Hello community,

here is the log from the commit of package python-jaraco.logging for 
openSUSE:Factory checked in at 2019-03-04 09:21:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jaraco.logging (Old)
 and      /work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jaraco.logging"

Mon Mar  4 09:21:22 2019 rev:2 rq:679743 version:2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jaraco.logging/python-jaraco.logging.changes  
    2018-09-24 13:11:07.109933455 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28833/python-jaraco.logging.changes
   2019-03-04 09:21:26.868589401 +0100
@@ -1,0 +2,12 @@
+Tue Feb 26 07:01:40 UTC 2019 - John Vandenberg <[email protected]>
+
+- Add LICENSE
+- Remove bcond_with test, allowing tests suite to run
+- Compile manually due to switch to pkgutil namespace technique
+- Remove undesirable build dependencies pytest-flake8, pytest-sugar &
+  collective.checkdocs
+- Add missing runtime dependencies on python-jaraco.base, six & tempora
+- Update from v1.5.2 to v2.0
+  * Switch to pkgutil namespace technique for the ``jaraco`` namespace.
+
+-------------------------------------------------------------------

Old:
----
  jaraco.logging-1.5.2.tar.gz

New:
----
  jaraco.logging-2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jaraco.logging.spec ++++++
--- /var/tmp/diff_new_pack.fKzV9r/_old  2019-03-04 09:21:27.320589320 +0100
+++ /var/tmp/diff_new_pack.fKzV9r/_new  2019-03-04 09:21:27.320589320 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.logging
 #
-# 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
@@ -12,33 +12,30 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with     test
 Name:           python-jaraco.logging
-Version:        1.5.2
+Version:        2.0
 Release:        0
 Summary:        Tools to work with logging
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/jaraco/jaraco.logging
 Source0:        
https://files.pythonhosted.org/packages/source/j/jaraco.logging/jaraco.logging-%{version}.tar.gz
-BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module jaraco.base}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module pytest-sugar}
-BuildRequires:  %{python_module collective.checkdocs}
-BuildRequires:  %{python_module pytest-flake8}
+BuildRequires:  %{python_module jaraco.base >= 6.1}
 BuildRequires:  %{python_module pytest}
-%endif
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module tempora}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-jaraco.base >= 6.1
+Requires:       python-six
+Requires:       python-tempora
 BuildArch:      noarch
 
 %python_subpackages
@@ -48,7 +45,7 @@
 
 %prep
 %setup -q -n jaraco.logging-%{version}
-sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py
+sed -i 's/--flake8//' pytest.ini
 rm -rf jaraco.logging.egg-info
 
 %build
@@ -56,15 +53,21 @@
 
 %install
 %python_install
-%{python_expand rm -r 
%{buildroot}%{$python_sitelib}/jaraco.logging-%{version}-py*-nspkg.pth}
 
-%if %{with test}
+%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
+  %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
+$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+%fdupes %{buildroot}%{$python_sitelib}
+}
+
 %check
-%python_expand py.test-%{$python_bin_suffix}
-%endif
+%{python_expand py.test-%{$python_bin_suffix} \
+  --ignore=_build.python2 --ignore=_build.python3
+}
 
 %files %{python_files}
-%defattr(-,root,root)
+%license LICENSE
 %doc docs/*.rst README.rst CHANGES.rst
 %{python_sitelib}/jaraco.logging-%{version}-py*.egg-info
 %{python_sitelib}/jaraco/logging.py*

++++++ jaraco.logging-1.5.2.tar.gz -> jaraco.logging-2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/.flake8 
new/jaraco.logging-2.0/.flake8
--- old/jaraco.logging-1.5.2/.flake8    2018-04-19 00:55:46.000000000 +0200
+++ new/jaraco.logging-2.0/.flake8      2019-01-01 16:59:21.000000000 +0100
@@ -4,3 +4,5 @@
        W191
        # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
        W503
+       # W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
+       W504
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/.travis.yml 
new/jaraco.logging-2.0/.travis.yml
--- old/jaraco.logging-1.5.2/.travis.yml        2018-04-19 00:55:46.000000000 
+0200
+++ new/jaraco.logging-2.0/.travis.yml  2019-01-01 16:59:21.000000000 +0100
@@ -1,10 +1,11 @@
-dist: trusty
+dist: xenial
 sudo: false
 language: python
 
 python:
 - 2.7
-- &latest_py3 3.6
+- 3.6
+- &latest_py3 3.7
 
 jobs:
   fast_finish: true
@@ -12,23 +13,22 @@
   - stage: deploy
     if: tag IS present
     python: *latest_py3
-    install: skip
-    script: skip
-    deploy:
-      provider: pypi
-      on:
-        tags: true
-        all_branches: true
-      user: jaraco
-      password:
-        secure: 
xWvMi2mEQw8+tMqhcV/uO9Z0loE0srHEuj39ReW5DOXZMgyRzaXBWtfr0Td9+HBGj/FqadchGzcRcCeExiVS0mE2hSNHLrTgQG1l7TNWiJpeua3Y91jNIMJkK0SpiVNsxcLcSNhwzPhZYt2AGkd3T2BAGlf6E26vyraGJ9D7QpH9/JTERxDXspcomeYg8xW4wY+XPgt3oWBaNNVpzu4ihYdhYS51WPGJ8JdJ3wter4WH/kSZWUAk91Oifq4a4dbOAHPq/6Fd8WgVnIRzOWABz1HWOsy0TJ78uQQcnu0e82zbRlwx2JBEurdRr9Acz/01SMSjAWaZdmOQR2P0lqJ7JylUns9yVaZjjvA5TwBna+3LmKpSru0p6WxSTvlxy/oKge05Qm6fq5OLQMJ32UCe6xUIh/rR1Z1FAZeZ72/vVlhiagnqagQv0VCVzbCX6WcARF4mL31chanz008Oi9fg0gcrfaTqeCeZyAh1wmpnmYYugPZRFLslDYkAm1I5UABdnnDBCFiJL6uspqUgz9NsrE5XrcY+AwQmfpS+W3XX4SMTzaHY66C8Kjw7RWH9pXtHBqCU1GOQzJP9k9s9VFgyHTDCk/OqAU9DPcvnlRqsZrwhp4x0obGSRvhYNklIYmEwsV20vAsHW+9XsJ0cd9k49NydZ/ggZuJ2OhXfGwKJ9E4=
-      distributions: dists
-      skip_cleanup: true
-      skip_upload_docs: true
+    before_script: skip
+    env:
+    - TWINE_USERNAME=jaraco
+    # TWINE_PASSWORD
+    - secure: 
A9qddgr7qXDbBGFCy7AMwwNC32rrcrKlZyv6ENvbR59JJwrBqH9617Dg9FUi9Vl8VTpUjer0L3Ky1TSrwpwssQpHQwIVAr/cT4AicyEeRKrHNFLbXzp6Ilyvv2CvMnNzK0gBB6vJPAhk8vYdFw+PQbfq7XjCRbnDHIT6clQjNs7JOt0nOKkcE0QS9PsN6j7bY3JcbXmc/ofXKbi7i2UySY0WxDie730ruq4MwMbpq55CuAKXZm5yq9n6fnSp5TUceDow4YXYn48fdRYMd8HTBbMoEMer2KhxRUSBncgGNa/1M62PlkQjmTWNG1hfM+/TBjSYbP3dC+7iVLCzCt33AlwOc/FuGkSmIckvo3UdUNKby8iLaiyPths4yUQjNIh1W/uRRoGBYCq56iY/dGPmb5U0V9fV3hleaTguLVEpuEMcWRgSBAUvEC14JEFmXn1ZBzkZYZGTOQ0PBVlONkIRenQNXT+ZeINAYktIFkQWnOxbRjdgsvus26QgNm/hKQMcPctqA/B9bHKKg0fY8YbhV6GxQWqipyVMz9tHCWFYGHO8/c+fGJpv1XNH/GYaxZroEufzuV5XTVczwLVry/p5nFxMWPls2WBmQNS+HoBtKRTZUXJ8qtG5SjkpsrgD6OyrKRpAqsB2SvLrHqwnTSk+o42bNoGMqS5FokDqSCYunuc=
+    - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD"
+    script: tox -e release
 
 cache: pip
 
 install:
 - pip install tox tox-venv
 
+before_script:
+  # Disable IPv6. Ref travis-ci/travis-ci#8361
+  - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
+      sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
+    fi
 script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/CHANGES.rst 
new/jaraco.logging-2.0/CHANGES.rst
--- old/jaraco.logging-1.5.2/CHANGES.rst        2018-04-19 00:55:46.000000000 
+0200
+++ new/jaraco.logging-2.0/CHANGES.rst  2019-01-01 16:59:21.000000000 +0100
@@ -1,3 +1,10 @@
+2.0
+===
+
+Switch to `pkgutil namespace technique
+<https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages>`_
+for the ``jaraco`` namespace.
+
 1.5.2
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/PKG-INFO 
new/jaraco.logging-2.0/PKG-INFO
--- old/jaraco.logging-1.5.2/PKG-INFO   2018-04-19 00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/PKG-INFO     2019-01-01 16:59:41.000000000 +0100
@@ -1,7 +1,7 @@
 Metadata-Version: 2.1
 Name: jaraco.logging
-Version: 1.5.2
-Summary: jaraco.logging
+Version: 2.0
+Summary: Support for Python logging facility
 Home-page: https://github.com/jaraco/jaraco.logging
 Author: Jason R. Coombs
 Author-email: [email protected]
@@ -37,5 +37,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/docs/conf.py 
new/jaraco.logging-2.0/docs/conf.py
--- old/jaraco.logging-1.5.2/docs/conf.py       2018-04-19 00:55:46.000000000 
+0200
+++ new/jaraco.logging-2.0/docs/conf.py 2019-01-01 16:59:21.000000000 +0100
@@ -1,32 +1,26 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-extensions = [
-       'sphinx.ext.autodoc',
-       'jaraco.packaging.sphinx',
-       'rst.linker',
-]
+extensions = ["sphinx.ext.autodoc", "jaraco.packaging.sphinx", "rst.linker"]
 
-master_doc = 'index'
+master_doc = "index"
 
 link_files = {
-       '../CHANGES.rst': dict(
-               using=dict(
-                       GH='https://github.com',
-               ),
-               replace=[
-                       dict(
-                               pattern=r'(Issue )?#(?P<issue>\d+)',
-                               url='{package_url}/issues/{issue}',
-                       ),
-                       dict(
-                               
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
-                               with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
-                       ),
-                       dict(
-                               pattern=r'PEP[- ](?P<pep_number>\d+)',
-                               
url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
-                       ),
-               ],
-       ),
+    "../CHANGES.rst": dict(
+        using=dict(GH="https://github.com";),
+        replace=[
+            dict(
+                pattern=r"(Issue #|\B#)(?P<issue>\d+)",
+                url="{package_url}/issues/{issue}",
+            ),
+            dict(
+                pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
+                with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+            ),
+            dict(
+                pattern=r"PEP[- ](?P<pep_number>\d+)",
+                url="https://www.python.org/dev/peps/pep-{pep_number:0>4}/",
+            ),
+        ],
+    )
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/jaraco/__init__.py 
new/jaraco.logging-2.0/jaraco/__init__.py
--- old/jaraco.logging-1.5.2/jaraco/__init__.py 2018-04-19 00:55:46.000000000 
+0200
+++ new/jaraco.logging-2.0/jaraco/__init__.py   2019-01-01 16:59:21.000000000 
+0100
@@ -1 +1 @@
-__import__("pkg_resources").declare_namespace(__name__)
+__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jaraco.logging-1.5.2/jaraco.logging.egg-info/PKG-INFO 
new/jaraco.logging-2.0/jaraco.logging.egg-info/PKG-INFO
--- old/jaraco.logging-1.5.2/jaraco.logging.egg-info/PKG-INFO   2018-04-19 
00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/jaraco.logging.egg-info/PKG-INFO     2019-01-01 
16:59:41.000000000 +0100
@@ -1,7 +1,7 @@
 Metadata-Version: 2.1
 Name: jaraco.logging
-Version: 1.5.2
-Summary: jaraco.logging
+Version: 2.0
+Summary: Support for Python logging facility
 Home-page: https://github.com/jaraco/jaraco.logging
 Author: Jason R. Coombs
 Author-email: [email protected]
@@ -37,5 +37,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jaraco.logging-1.5.2/jaraco.logging.egg-info/SOURCES.txt 
new/jaraco.logging-2.0/jaraco.logging.egg-info/SOURCES.txt
--- old/jaraco.logging-1.5.2/jaraco.logging.egg-info/SOURCES.txt        
2018-04-19 00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/jaraco.logging.egg-info/SOURCES.txt  2019-01-01 
16:59:41.000000000 +0100
@@ -9,6 +9,7 @@
 pytest.ini
 setup.cfg
 setup.py
+skeleton.md
 tox.ini
 docs/conf.py
 docs/history.rst
@@ -18,6 +19,5 @@
 jaraco.logging.egg-info/PKG-INFO
 jaraco.logging.egg-info/SOURCES.txt
 jaraco.logging.egg-info/dependency_links.txt
-jaraco.logging.egg-info/namespace_packages.txt
 jaraco.logging.egg-info/requires.txt
 jaraco.logging.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jaraco.logging-1.5.2/jaraco.logging.egg-info/namespace_packages.txt 
new/jaraco.logging-2.0/jaraco.logging.egg-info/namespace_packages.txt
--- old/jaraco.logging-1.5.2/jaraco.logging.egg-info/namespace_packages.txt     
2018-04-19 00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/jaraco.logging.egg-info/namespace_packages.txt       
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-jaraco
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jaraco.logging-1.5.2/jaraco.logging.egg-info/requires.txt 
new/jaraco.logging-2.0/jaraco.logging.egg-info/requires.txt
--- old/jaraco.logging-1.5.2/jaraco.logging.egg-info/requires.txt       
2018-04-19 00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/jaraco.logging.egg-info/requires.txt 2019-01-01 
16:59:41.000000000 +0100
@@ -7,7 +7,6 @@
 rst.linker>=1.9
 
 [testing]
-pytest>=3.5
-pytest-sugar>=0.9.1
-collective.checkdocs
+pytest!=3.7.3,>=3.5
+pytest-checkdocs
 pytest-flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/pyproject.toml 
new/jaraco.logging-2.0/pyproject.toml
--- old/jaraco.logging-1.5.2/pyproject.toml     2018-04-19 00:55:46.000000000 
+0200
+++ new/jaraco.logging-2.0/pyproject.toml       2019-01-01 16:59:21.000000000 
+0100
@@ -1,2 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel", "setuptools_scm>=1.15"]
+requires = ["setuptools>=34.4", "wheel", "setuptools_scm>=1.15"]
+build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/pytest.ini 
new/jaraco.logging-2.0/pytest.ini
--- old/jaraco.logging-1.5.2/pytest.ini 2018-04-19 00:55:46.000000000 +0200
+++ new/jaraco.logging-2.0/pytest.ini   2019-01-01 16:59:21.000000000 +0100
@@ -2,3 +2,10 @@
 norecursedirs=dist build .tox .eggs
 addopts=--doctest-modules --flake8
 doctest_optionflags=ALLOW_UNICODE ELLIPSIS
+filterwarnings=
+       ignore:Possible nested set::pycodestyle:113
+       ignore:Using or importing the ABCs::flake8:410
+       # workaround for https://sourceforge.net/p/docutils/bugs/348/
+       ignore:'U' mode is deprecated::docutils.io
+       # workaround for https://gitlab.com/pycqa/flake8/issues/275
+       ignore:You passed a bytestring as `filenames`.::flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/setup.cfg 
new/jaraco.logging-2.0/setup.cfg
--- old/jaraco.logging-1.5.2/setup.cfg  2018-04-19 00:56:36.000000000 +0200
+++ new/jaraco.logging-2.0/setup.cfg    2019-01-01 16:59:41.000000000 +0100
@@ -1,12 +1,41 @@
-[aliases]
-release = dists upload
-dists = clean --all sdist bdist_wheel
-
 [bdist_wheel]
 universal = 1
 
 [metadata]
 license_file = LICENSE
+name = jaraco.logging
+author = Jason R. Coombs
+author_email = [email protected]
+description = Support for Python logging facility
+long_description = file:README.rst
+url = https://github.com/jaraco/jaraco.logging
+classifiers = 
+       Development Status :: 5 - Production/Stable
+       Intended Audience :: Developers
+       License :: OSI Approved :: MIT License
+       Programming Language :: Python :: 2.7
+       Programming Language :: Python :: 3
+
+[options]
+packages = find:
+include_package_data = true
+python_requires = >=2.7
+install_requires = 
+       tempora
+       six
+setup_requires = setuptools_scm >= 1.15.0
+
+[options.extras_require]
+testing = 
+       pytest >= 3.5, !=3.7.3
+       pytest-checkdocs
+       pytest-flake8
+docs = 
+       sphinx
+       jaraco.packaging >= 3.2
+       rst.linker >= 1.9
+
+[options.entry_points]
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/setup.py 
new/jaraco.logging-2.0/setup.py
--- old/jaraco.logging-1.5.2/setup.py   2018-04-19 00:55:46.000000000 +0200
+++ new/jaraco.logging-2.0/setup.py     2019-01-01 16:59:21.000000000 +0100
@@ -1,72 +1,6 @@
 #!/usr/bin/env python
 
-# Project skeleton maintained at https://github.com/jaraco/skeleton
-
-import io
-
 import setuptools
 
-with io.open('README.rst', encoding='utf-8') as readme:
-       long_description = readme.read()
-
-name = 'jaraco.logging'
-description = ''
-nspkg_technique = 'managed'
-"""
-Does this package use "native" namespace packages or
-pkg_resources "managed" namespace packages?
-"""
-
-params = dict(
-       name=name,
-       use_scm_version=True,
-       author="Jason R. Coombs",
-       author_email="[email protected]",
-       description=description or name,
-       long_description=long_description,
-       url="https://github.com/jaraco/"; + name,
-       packages=setuptools.find_packages(),
-       include_package_data=True,
-       namespace_packages=(
-               name.split('.')[:-1] if nspkg_technique == 'managed'
-               else []
-       ),
-       python_requires='>=2.7',
-       install_requires=[
-               'tempora',
-               'six',
-       ],
-       extras_require={
-               'testing': [
-                       # upstream
-                       'pytest>=3.5',
-                       'pytest-sugar>=0.9.1',
-                       'collective.checkdocs',
-                       'pytest-flake8',
-
-                       # local
-               ],
-               'docs': [
-                       # upstream
-                       'sphinx',
-                       'jaraco.packaging>=3.2',
-                       'rst.linker>=1.9',
-
-                       # local
-               ],
-       },
-       setup_requires=[
-               'setuptools_scm>=1.15.0',
-       ],
-       classifiers=[
-               "Development Status :: 5 - Production/Stable",
-               "Intended Audience :: Developers",
-               "License :: OSI Approved :: MIT License",
-               "Programming Language :: Python :: 2.7",
-               "Programming Language :: Python :: 3",
-       ],
-       entry_points={
-       },
-)
-if __name__ == '__main__':
-       setuptools.setup(**params)
+if __name__ == "__main__":
+    setuptools.setup(use_scm_version=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/skeleton.md 
new/jaraco.logging-2.0/skeleton.md
--- old/jaraco.logging-1.5.2/skeleton.md        1970-01-01 01:00:00.000000000 
+0100
+++ new/jaraco.logging-2.0/skeleton.md  2019-01-01 16:59:21.000000000 +0100
@@ -0,0 +1,126 @@
+# Overview
+
+This project is merged with [skeleton](https://github.com/jaraco/skeleton). 
What is skeleton? It's the scaffolding of a Python project jaraco [introduced 
in his blog](https://blog.jaraco.com/a-project-skeleton-for-python-projects/). 
It seeks to provide a means to re-use techniques and inherit advances when 
managing projects for distribution.
+
+## An SCM Managed Approach
+
+While maintaining dozens of projects in PyPI, jaraco derives best practices 
for project distribution and publishes them in the [skeleton 
repo](https://github.com/jaraco/skeleton), a git repo capturing the evolution 
and culmination of these best practices.
+
+It's intended to be used by a new or existing project to adopt these practices 
and honed and proven techniques. Adopters are encouraged to use the project 
directly and maintain a small deviation from the technique, make their own fork 
for more substantial changes unique to their environment or preferences, or 
simply adopt the skeleton once and abandon it thereafter.
+
+The primary advantage to using an SCM for maintaining these techniques is that 
those tools help facilitate the merge between the template and its adopting 
projects.
+
+# Usage
+
+## new projects
+
+To use skeleton for a new project, simply pull the skeleton into a new project:
+
+```
+$ git init my-new-project
+$ cd my-new-project
+$ git pull gh://jaraco/skeleton
+```
+
+Now customize the project to suit your individual project needs.
+
+## existing projects
+
+If you have an existing project, you can still incorporate the skeleton by 
merging it into the codebase.
+
+```
+$ git merge skeleton --allow-unrelated-histories
+```
+
+The `--allow-unrelated-histories` is necessary because the history from the 
skeleton was previously unrelated to the existing codebase. Resolve any merge 
conflicts and commit to the master, and now the project is based on the shared 
skeleton.
+
+## Updating
+
+Whenever a change is needed or desired for the general technique for 
packaging, it can be made in the skeleton project and then merged into each of 
the derived projects as needed, recommended before each release. As a result, 
features and best practices for packaging are centrally maintained and readily 
trickle into a whole suite of packages. This technique lowers the amount of 
tedious work necessary to create or maintain a project, and coupled with other 
techniques like continuous integration and deployment, lowers the cost of 
creating and maintaining refined Python projects to just a few, familiar git 
operations.
+
+Thereafter, the target project can make whatever customizations it deems 
relevant to the scaffolding. The project may even at some point decide that the 
divergence is too great to merit renewed merging with the original skeleton. 
This approach applies maximal guidance while creating minimal constraints.
+
+# Features
+
+The features/techniques employed by the skeleton include:
+
+- PEP 517/518 based build relying on setuptools as the build tool
+- setuptools declarative configuration using setup.cfg
+- tox for running tests
+- A README.rst as reStructuredText with some popular badges, but with 
readthedocs and appveyor badges commented out
+- A CHANGES.rst file intended for publishing release notes about the project.
+
+## Packaging Conventions
+
+A pyproject.toml is included to enable PEP 517 and PEP 518 compatibility and 
declares the requirements necessary to build the project on setuptools (a 
minimum version compatible with setup.cfg declarative config).
+
+The setup.cfg file implements the following features:
+
+- Assumes universal wheel for release
+- Advertises the project's LICENSE file (MIT by default)
+- Reads the README.rst file into the long description
+- Some common Trove classifiers
+- Includes all packages discovered in the repo
+- Data files in the package are also included (not just Python files)
+- Declares the required Python versions
+- Declares install requirements (empty by default)
+- Declares setup requirements for legacy environments
+- Supplies two 'extras':
+  - testing: requirements for running tests
+  - docs: requirements for building docs
+  - these extras split the declaration into "upstream" (requirements as 
declared by the skeleton) and "local" (those specific to the local project); 
these markers help avoid merge conflicts
+- Placeholder for defining entry points
+
+Additionally, the setup.py file declares `use_scm_version` which relies on 
[setuptools_scm](https://pypi.org/project/setuptools_scm) to do two things:
+
+- derive the project version from SCM tags
+- ensure that all files committed to the repo are automatically included in 
releases
+
+## Running Tests
+
+The skeleton assumes the developer has [tox](https://pypi.org/project/tox) 
installed. The developer is expected to run `tox` to run tests on the current 
Python version using [pytest](https://pypi.org/project/pytest).
+
+Other environments (invoked with `tox -e {name}`) supplied include:
+
+  - a `build-docs` environment to build the documentation
+  - a `release` environment to publish the package to PyPI
+
+A pytest.ini is included to define common options around running tests. In 
particular:
+
+- rely on default test discovery in the current directory
+- avoid recursing into common directories not containing tests
+- run doctests on modules and invoke flake8 tests
+- in doctests, allow unicode literals and regular literals to match, allowing 
for doctests to run on Python 2 and 3. Also enable ELLIPSES, a default that 
would be undone by supplying the prior option.
+- filters out known warnings caused by libraries/functionality included by the 
skeleton
+
+Relies a .flake8 file to correct some default behaviors:
+
+- allow tabs for indentation (legacy for jaraco projects)
+- disable mutually incompatible rules W503 and W504.
+
+## Continuous Integration
+
+The project is pre-configured to run tests in 
[Travis-CI](https://travis-ci.org) (.travis.yml). Any new project must be 
enabled either through their web site or with the `travis enable` command. In 
addition to running tests, an additional deploy stage is configured to 
automatically release tagged commits. The username and password for PyPI must 
be configured for each project using the `travis` command and only after the 
travis project is created. As releases are cut with 
[twine](https://pypi.org/project/twine), the two values are supplied through 
the `TWINE_USERNAME` and `TWINE_PASSWORD`. To configure the latter as a secret, 
run the following command:
+
+```
+echo "TWINE_PASSWORD={password}" | travis encrypt
+```
+
+Or disable it in the CI definition and configure it through the web UI.
+
+Features include:
+- test against Python 2 and 3
+- run on Ubuntu Xenial
+- correct for broken IPv6
+
+Also provided is a minimal template for running under Appveyor (Windows).
+
+## Building Documentation
+
+Documentation is automatically built by [Read the 
Docs](https://readthedocs.org) when the project is registered with it, by way 
of the .readthedocs.yml file. To test the docs build manually, a tox env may be 
invoked as `tox -e build-docs`. Both techniques rely on the dependencies 
declared in `setup.cfg/options.extras_require.docs`.
+
+In addition to building the sphinx docs scaffolded in `docs/`, the docs build 
a `history.html` file that first injects release dates and hyperlinks into the 
CHANGES.rst before incorporating it as history in the docs.
+
+## Cutting releases
+
+By default, tagged commits are released through the continuous integration 
deploy stage.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/tox.ini 
new/jaraco.logging-2.0/tox.ini
--- old/jaraco.logging-1.5.2/tox.ini    2018-04-19 00:55:46.000000000 +0200
+++ new/jaraco.logging-2.0/tox.ini      2019-01-01 16:59:21.000000000 +0100
@@ -5,11 +5,8 @@
 [testenv]
 deps =
        setuptools>=31.0.1
-       # workaround for yaml/pyyaml#126
-       # 
git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7";
 commands =
-       py.test {posargs}
-       python setup.py checkdocs
+       pytest {posargs}
 usedevelop = True
 extras = testing
 
@@ -20,3 +17,15 @@
 changedir = docs
 commands =
     python -m sphinx . {toxinidir}/build/html
+
+[testenv:release]
+skip_install = True
+deps =
+       pep517>=0.5
+       # workaround for https://github.com/pypa/twine/issues/423
+       git+https://github.com/pypa/twine
+       path.py
+commands =
+       python -c "import path; path.Path('dist').rmtree_p()"
+       python -m pep517.build .
+       python -m twine upload dist/*


Reply via email to