Hello community,

here is the log from the commit of package python-rst.linker for 
openSUSE:Leap:15.2 checked in at 2020-04-20 12:55:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-rst.linker (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-rst.linker.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rst.linker"

Mon Apr 20 12:55:46 2020 rev:12 rq:795591 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-rst.linker/python-rst.linker.changes    
2020-03-27 16:43:54.259784574 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-rst.linker.new.2738/python-rst.linker.changes
  2020-04-20 12:55:56.392770962 +0200
@@ -1,0 +2,6 @@
+Fri Mar 27 10:59:06 UTC 2020 - pgaj...@suse.com
+
+- version update to 2.0.0
+  * Drop support for Python 3.5 and earlier.
+
+-------------------------------------------------------------------

Old:
----
  rst.linker-1.11.tar.gz

New:
----
  rst.linker-2.0.0.tar.gz

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

Other differences:
------------------
++++++ python-rst.linker.spec ++++++
--- /var/tmp/diff_new_pack.joLDFj/_old  2020-04-20 12:55:56.756771533 +0200
+++ /var/tmp/diff_new_pack.joLDFj/_new  2020-04-20 12:55:56.756771533 +0200
@@ -17,9 +17,10 @@
 
 
 %define _name   rst.linker
+%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rst.linker
-Version:        1.11
+Version:        2.0.0
 Release:        0
 Summary:        Changelog link and timestamp adding Sphinx plugin
 License:        MIT
@@ -48,7 +49,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
-sed -i 's/--flake8 --black//' pytest.ini
+sed -i -e 's/--flake8//' -e 's/--black//' -e 's/--cov//' pytest.ini
 
 %build
 %python_build

++++++ rst.linker-1.11.tar.gz -> rst.linker-2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/.coveragerc 
new/rst.linker-2.0.0/.coveragerc
--- old/rst.linker-1.11/.coveragerc     1970-01-01 01:00:00.000000000 +0100
+++ new/rst.linker-2.0.0/.coveragerc    2019-11-28 17:36:37.000000000 +0100
@@ -0,0 +1,5 @@
+[run]
+omit = .tox/*
+
+[report]
+show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/.pre-commit-config.yaml 
new/rst.linker-2.0.0/.pre-commit-config.yaml
--- old/rst.linker-1.11/.pre-commit-config.yaml 2019-07-28 02:30:15.000000000 
+0200
+++ new/rst.linker-2.0.0/.pre-commit-config.yaml        2019-11-28 
17:36:37.000000000 +0100
@@ -1,5 +1,5 @@
 repos:
-- repo: https://github.com/ambv/black
-  rev: 18.9b0
+- repo: https://github.com/psf/black
+  rev: 19.3b0
   hooks:
   - id: black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/.travis.yml 
new/rst.linker-2.0.0/.travis.yml
--- old/rst.linker-1.11/.travis.yml     2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/.travis.yml    2019-11-28 17:36:37.000000000 +0100
@@ -2,9 +2,8 @@
 language: python
 
 python:
-- 2.7
 - 3.6
-- &latest_py3 3.7
+- &latest_py3 3.8
 
 git:
   depth: 99999
@@ -16,11 +15,6 @@
     if: tag IS present
     python: *latest_py3
     before_script: skip
-    env:
-    - TWINE_USERNAME=jaraco
-    # TWINE_PASSWORD
-    - secure: 
hXvC5+Nh3IZ+P9a4/duh6tVXF0YVm/QfpgfWrtEu3Me1fRpnBOn6akx+IbjgSnSGQti2v8SNG2EyBx9W756TSfXdBQIP51cassFXR+5B5ZS4pQJM57NJd3L9/cP8YNyU75NcFVSz5jlQw9au40NtjIouxvsAaU2ptuBryJSYsp+E7wEpBU3cGrpeDgMDjqW836lUb3UU/N9npZ03jD+qEjrNdDeegrYe87MDJcOGGy2XRpOcsQjQ9UDDfo8AB+7zWFBmqB6mXnpm2Gvg6SKBajT+VrHp8ncWKd2gIm59m10WKjORUhTs60OZuHz0JfraRzDcTbKjkk4ddiUQxMM7vXkMMiN2UW7LDP+5oatfo+KFc3hZ4e3a+B8sKPNSd1xGica2ha6ac7DViq20I3CHpq+nGtPF1izEjtaENon8Qn3w0srYa5hmf2UwwFR9du2HrThHyXXXZO2/s9/hRJVj4ELbgP/3H701P+wCmKuBnT7skGX0boxnWF/9/S3+xL2vHRFu1jNLMTMl0uT2DNFM/D1grVzswSr437iRSyoNeIZyqMQFXxMUTsnYIZSv+EvKoLLD1czQ74UUDoQBIJk2yEFZyMNdB7jTSfVaTJGNYf45Qkw/lcrFoTbrFwm636ev/6y+/8qEppsp9KSI61qkLyt3aA+7Dg9GTbHoBcu5cd4=
-    - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD"
     script: tox -e release
 
 cache: pip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/CHANGES.rst 
new/rst.linker-2.0.0/CHANGES.rst
--- old/rst.linker-1.11/CHANGES.rst     2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/CHANGES.rst    2019-11-28 17:36:37.000000000 +0100
@@ -1,3 +1,8 @@
+v2.0.0
+======
+
+Drop support for Python 3.5 and earlier.
+
 1.11
 ====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/PKG-INFO 
new/rst.linker-2.0.0/PKG-INFO
--- old/rst.linker-1.11/PKG-INFO        2019-07-28 02:31:20.000000000 +0200
+++ new/rst.linker-2.0.0/PKG-INFO       2019-11-28 17:37:04.607312700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: rst.linker
-Version: 1.11
+Version: 2.0.0
 Summary: Tools for adding metadata and hyperlinks to reStructuredText
 Home-page: https://github.com/jaraco/rst.linker
 Author: Jason R. Coombs
@@ -15,7 +15,7 @@
            :target: https://travis-ci.org/jaraco/rst.linker
         
         .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
-           :target: https://github.com/ambv/black
+           :target: https://github.com/psf/black
            :alt: Code style: Black
         
         .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
@@ -43,9 +43,8 @@
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Sphinx :: Extension
-Requires-Python: >=2.7
-Provides-Extra: docs
+Requires-Python: >=3.6
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/README.rst 
new/rst.linker-2.0.0/README.rst
--- old/rst.linker-1.11/README.rst      2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/README.rst     2019-11-28 17:36:37.000000000 +0100
@@ -7,7 +7,7 @@
    :target: https://travis-ci.org/jaraco/rst.linker
 
 .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
-   :target: https://github.com/ambv/black
+   :target: https://github.com/psf/black
    :alt: Code style: Black
 
 .. .. image:: https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/appveyor.yml 
new/rst.linker-2.0.0/appveyor.yml
--- old/rst.linker-1.11/appveyor.yml    2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/appveyor.yml   2019-11-28 17:36:37.000000000 +0100
@@ -4,7 +4,7 @@
 
   matrix:
     - PYTHON: "C:\\Python36-x64"
-    - PYTHON: "C:\\Python27-x64"
+    - PYTHON: "C:\\Python37-x64"
 
 install:
   # symlink python from a directory with a space
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/pytest.ini 
new/rst.linker-2.0.0/pytest.ini
--- old/rst.linker-1.11/pytest.ini      2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/pytest.ini     2019-11-28 17:36:37.000000000 +0100
@@ -1,11 +1,5 @@
 [pytest]
 norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules --flake8 --black
+addopts=--doctest-modules --flake8 --black --cov
 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/rst.linker-1.11/rst/linker.py 
new/rst.linker-2.0.0/rst/linker.py
--- old/rst.linker-1.11/rst/linker.py   2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/rst/linker.py  2019-11-28 17:36:37.000000000 +0100
@@ -2,8 +2,6 @@
 Sphinx plugin to add links and timestamps to the changelog.
 """
 
-from __future__ import unicode_literals
-
 import re
 import os
 import operator
@@ -16,13 +14,10 @@
 except ImportError:
     import importlib_metadata
 
-import six
-from six.moves import map, filter
-
 import dateutil.parser
 
 
-class Repl(object):
+class Repl:
     @classmethod
     def from_defn(cls, defn):
         "Return the first Repl subclass that works with this"
@@ -38,10 +33,6 @@
     def __bool__(self):
         return False
 
-    def __nonzero__(self):
-        # Python 2.7 compatibility
-        return self.__bool__()
-
 
 class URLLinker(Repl):
     r"""
@@ -146,7 +137,7 @@
     def load(filename):
         defn = dict()
         with open(filename) as stream:
-            six.exec_(stream.read(), defn)
+            exec(stream.read(), defn)
         return defn
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/rst.linker.egg-info/PKG-INFO 
new/rst.linker-2.0.0/rst.linker.egg-info/PKG-INFO
--- old/rst.linker-1.11/rst.linker.egg-info/PKG-INFO    2019-07-28 
02:31:19.000000000 +0200
+++ new/rst.linker-2.0.0/rst.linker.egg-info/PKG-INFO   2019-11-28 
17:37:04.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: rst.linker
-Version: 1.11
+Version: 2.0.0
 Summary: Tools for adding metadata and hyperlinks to reStructuredText
 Home-page: https://github.com/jaraco/rst.linker
 Author: Jason R. Coombs
@@ -15,7 +15,7 @@
            :target: https://travis-ci.org/jaraco/rst.linker
         
         .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
-           :target: https://github.com/ambv/black
+           :target: https://github.com/psf/black
            :alt: Code style: Black
         
         .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/rst-linker/master.svg
@@ -43,9 +43,8 @@
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Sphinx :: Extension
-Requires-Python: >=2.7
-Provides-Extra: docs
+Requires-Python: >=3.6
 Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/rst.linker.egg-info/SOURCES.txt 
new/rst.linker-2.0.0/rst.linker.egg-info/SOURCES.txt
--- old/rst.linker-1.11/rst.linker.egg-info/SOURCES.txt 2019-07-28 
02:31:20.000000000 +0200
+++ new/rst.linker-2.0.0/rst.linker.egg-info/SOURCES.txt        2019-11-28 
17:37:04.000000000 +0100
@@ -1,3 +1,4 @@
+.coveragerc
 .flake8
 .pre-commit-config.yaml
 .readthedocs.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/rst.linker.egg-info/requires.txt 
new/rst.linker-2.0.0/rst.linker.egg-info/requires.txt
--- old/rst.linker-1.11/rst.linker.egg-info/requires.txt        2019-07-28 
02:31:19.000000000 +0200
+++ new/rst.linker-2.0.0/rst.linker.egg-info/requires.txt       2019-11-28 
17:37:04.000000000 +0100
@@ -1,4 +1,3 @@
-six
 python-dateutil
 
 [:python_version < "3.8"]
@@ -11,7 +10,8 @@
 
 [testing]
 pytest!=3.7.3,>=3.5
-pytest-checkdocs
+pytest-checkdocs>=1.2.3
 pytest-flake8
 pytest-black-multipy
+pytest-cov
 path.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/setup.cfg 
new/rst.linker-2.0.0/setup.cfg
--- old/rst.linker-1.11/setup.cfg       2019-07-28 02:31:20.000000000 +0200
+++ new/rst.linker-2.0.0/setup.cfg      2019-11-28 17:37:04.611312600 +0100
@@ -13,16 +13,14 @@
        Development Status :: 5 - Production/Stable
        Intended Audience :: Developers
        License :: OSI Approved :: MIT License
-       Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
        Framework :: Sphinx :: Extension
 
 [options]
 packages = find:
 include_package_data = true
-python_requires = >=2.7
+python_requires = >=3.6
 install_requires = 
-       six
        python-dateutil
        importlib_metadata; python_version < "3.8"
 setup_requires = setuptools_scm >= 1.15.0
@@ -30,9 +28,10 @@
 [options.extras_require]
 testing = 
        pytest >= 3.5, !=3.7.3
-       pytest-checkdocs
+       pytest-checkdocs >= 1.2.3
        pytest-flake8
        pytest-black-multipy
+       pytest-cov
        
        path.py
 docs = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/skeleton.md 
new/rst.linker-2.0.0/skeleton.md
--- old/rst.linker-1.11/skeleton.md     2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/skeleton.md    2019-11-28 17:36:37.000000000 +0100
@@ -103,13 +103,7 @@
 
 ## 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.
+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.
 
 Features include:
 - test against Python 2 and 3
@@ -118,6 +112,14 @@
 
 Also provided is a minimal template for running under Appveyor (Windows).
 
+### Continuous Deployments
+
+In addition to running tests, an additional deploy stage is configured to 
automatically release tagged commits to PyPI using [API 
tokens](https://pypi.org/help/#apitoken). The release process expects an 
authorized token to be configured with Travis as the TWINE_PASSWORD environment 
variable. After the Travis project is created, configure the token through the 
web UI or with a command like the following (bash syntax):
+
+```
+TWINE_PASSWORD={token} travis env copy TWINE_PASSWORD
+```
+
 ## 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`.
@@ -127,3 +129,9 @@
 ## Cutting releases
 
 By default, tagged commits are released through the continuous integration 
deploy stage.
+
+Releases may also be cut manually by invoking the tox environment `release` 
with the PyPI token set as the TWINE_PASSWORD:
+
+```
+TWINE_PASSWORD={token} tox -e release
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rst.linker-1.11/tox.ini new/rst.linker-2.0.0/tox.ini
--- old/rst.linker-1.11/tox.ini 2019-07-28 02:30:15.000000000 +0200
+++ new/rst.linker-2.0.0/tox.ini        2019-11-28 17:36:37.000000000 +0100
@@ -3,10 +3,16 @@
 minversion = 3.2
 # https://github.com/jaraco/skeleton/issues/6
 tox_pip_extensions_ext_venv_update = true
+# Ensure that a late version of pip is used even on tox-venv.
+requires =
+       tox-pip-version>=0.0.6
+       tox-venv
+
 
 [testenv]
 deps =
        setuptools>=31.0.1
+pip_version = pip
 commands =
        pytest {posargs}
 usedevelop = True
@@ -14,18 +20,22 @@
 
 [testenv:build-docs]
 extras =
-    docs
-    testing
+       docs
+       testing
 changedir = docs
 commands =
-    python -m sphinx . {toxinidir}/build/html
+       python -m sphinx . {toxinidir}/build/html
 
 [testenv:release]
 skip_install = True
 deps =
        pep517>=0.5
-       twine>=1.13
+       twine[keyring]>=1.13
        path.py
+passenv =
+       TWINE_PASSWORD
+setenv =
+       TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
 commands =
        python -c "import path; path.Path('dist').rmtree_p()"
        python -m pep517.build .


Reply via email to