Hello community, here is the log from the commit of package python-portend for openSUSE:Factory checked in at 2020-03-27 00:26:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-portend (Old) and /work/SRC/openSUSE:Factory/.python-portend.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-portend" Fri Mar 27 00:26:39 2020 rev:6 rq:786106 version:2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-portend/python-portend.changes 2020-03-04 09:38:48.197870166 +0100 +++ /work/SRC/openSUSE:Factory/.python-portend.new.3160/python-portend.changes 2020-03-27 00:26:44.316300606 +0100 @@ -1,0 +2,6 @@ +Wed Mar 18 08:49:45 UTC 2020 - Marketa Calabkova <[email protected]> + +- Update to 2.6 + * Package refresh. + +------------------------------------------------------------------- Old: ---- portend-2.5.tar.gz New: ---- portend-2.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-portend.spec ++++++ --- /var/tmp/diff_new_pack.WyvLWj/_old 2020-03-27 00:26:45.024300964 +0100 +++ /var/tmp/diff_new_pack.WyvLWj/_new 2020-03-27 00:26:45.024300964 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portend -Version: 2.5 +Version: 2.6 Release: 0 Summary: TCP port monitoring utilities License: MIT ++++++ portend-2.5.tar.gz -> portend-2.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/.coveragerc new/portend-2.6/.coveragerc --- old/portend-2.5/.coveragerc 1970-01-01 01:00:00.000000000 +0100 +++ new/portend-2.6/.coveragerc 2019-10-31 00:59:22.000000000 +0100 @@ -0,0 +1,5 @@ +[run] +omit = .tox/* + +[report] +show_missing = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/.pre-commit-config.yaml new/portend-2.6/.pre-commit-config.yaml --- old/portend-2.5/.pre-commit-config.yaml 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/.pre-commit-config.yaml 2019-10-31 00:59:22.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/portend-2.5/.travis.yml new/portend-2.6/.travis.yml --- old/portend-2.5/.travis.yml 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/.travis.yml 2019-10-31 00:59:22.000000000 +0100 @@ -4,7 +4,7 @@ python: - 2.7 - 3.6 -- &latest_py3 3.7 +- &latest_py3 3.8 jobs: fast_finish: true @@ -13,11 +13,6 @@ if: tag IS present python: *latest_py3 before_script: skip - env: - - TWINE_USERNAME=jaraco - # TWINE_PASSWORD - - secure: I9gYsaelJuAp9MzZCQnw5cVfaZxjNtf1MarEv94oh7tW73Y0i+VYVTa5r2NDqbX9r4W+rFxuSKKgcuKbOxk39DJL5Yy5EjTm0SkmIjdGQuxIiAseWbMKfnoIv14J6ebwnKN+fUIYum8G8UJD4uOUiDbjxhL/m7pUcNjtxP3NLxWyITk9XyTS+3pQDL2XB0/bNMEMgfXenHiW6H+u2piWTXxQfPV/JmdkU3upQ5bkkIXP3njyirif2e2kC974Zbs3ajxVQGpgqKZ/3dirzH834UhzTHzhY7KTSdMh2IVyZJG5rEnDDrry63G3zKbphtsg7z/7K5uu8Lnx/O+vh7FDQCIkfJ7oKXU6fBFTFlRvnOFRy43qBor7EbmJi5GEWKvFzz/7hahR667OdHdyiPn1CCtXUpAApZJS+SgOhHkMvpn+mY3u8L1e7cS+RbsJkbY94Gll1vcgn5JQAMVwdiOtyWi4xqOlu1OEPe12/yVGVPhUe/FlNRRw30JY6MT4bd2Y+vo3yW4Aur69QfIiRzND0aAG9z55WmzP+zw/R68jjxXO5O7pNUoxoxUSJ6ay+oTAOEc+WCP8dGzG32CUDabgcRJg0NJhQMF/aYb6pAleNvuCK+zVGUAEui7Vdc7A0IMJ3eGWjJ4hEao8PtkdmhVQJ6CuHlYhHle5mi1DTAFYOVU= - - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD" script: tox -e release cache: pip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/CHANGES.rst new/portend-2.6/CHANGES.rst --- old/portend-2.5/CHANGES.rst 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/CHANGES.rst 2019-10-31 00:59:22.000000000 +0100 @@ -1,3 +1,8 @@ +2.6 +=== + +Package refresh. + 2.5 === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/PKG-INFO new/portend-2.6/PKG-INFO --- old/portend-2.5/PKG-INFO 2019-06-11 02:57:16.000000000 +0200 +++ new/portend-2.6/PKG-INFO 2019-10-31 00:59:47.436768300 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: portend -Version: 2.5 +Version: 2.6 Summary: TCP port monitoring and discovery Home-page: https://github.com/jaraco/portend Author: Jason R. Coombs @@ -15,7 +15,7 @@ :target: https://travis-ci.org/jaraco/portend .. 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/portend/master.svg @@ -77,5 +77,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/portend-2.5/README.rst new/portend-2.6/README.rst --- old/portend-2.5/README.rst 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/README.rst 2019-10-31 00:59:22.000000000 +0100 @@ -7,7 +7,7 @@ :target: https://travis-ci.org/jaraco/portend .. 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/portend/master.svg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/appveyor.yml new/portend-2.6/appveyor.yml --- old/portend-2.5/appveyor.yml 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/appveyor.yml 2019-10-31 00:59:22.000000000 +0100 @@ -18,7 +18,7 @@ - '%LOCALAPPDATA%\pip\Cache' test_script: - - "python -m pip install tox tox-venv" + - "python -m pip install -U tox tox-venv virtualenv" - "tox" version: '{build}' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/portend.egg-info/PKG-INFO new/portend-2.6/portend.egg-info/PKG-INFO --- old/portend-2.5/portend.egg-info/PKG-INFO 2019-06-11 02:57:16.000000000 +0200 +++ new/portend-2.6/portend.egg-info/PKG-INFO 2019-10-31 00:59:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: portend -Version: 2.5 +Version: 2.6 Summary: TCP port monitoring and discovery Home-page: https://github.com/jaraco/portend Author: Jason R. Coombs @@ -15,7 +15,7 @@ :target: https://travis-ci.org/jaraco/portend .. 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/portend/master.svg @@ -77,5 +77,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/portend-2.5/portend.egg-info/SOURCES.txt new/portend-2.6/portend.egg-info/SOURCES.txt --- old/portend-2.5/portend.egg-info/SOURCES.txt 2019-06-11 02:57:16.000000000 +0200 +++ new/portend-2.6/portend.egg-info/SOURCES.txt 2019-10-31 00:59:47.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/portend-2.5/portend.egg-info/requires.txt new/portend-2.6/portend.egg-info/requires.txt --- old/portend-2.5/portend.egg-info/requires.txt 2019-06-11 02:57:16.000000000 +0200 +++ new/portend-2.6/portend.egg-info/requires.txt 2019-10-31 00:59:47.000000000 +0100 @@ -10,3 +10,4 @@ pytest-checkdocs pytest-flake8 pytest-black-multipy +pytest-cov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/pytest.ini new/portend-2.6/pytest.ini --- old/portend-2.5/pytest.ini 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/pytest.ini 2019-10-31 00:59:22.000000000 +0100 @@ -1,6 +1,6 @@ [pytest] norecursedirs=dist build .tox .eggs -addopts=--doctest-modules --flake8 --black +addopts=--doctest-modules --flake8 --black --cov doctest_optionflags=ALLOW_UNICODE ELLIPSIS IGNORE_EXCEPTION_DETAIL filterwarnings= ignore:Possible nested set::pycodestyle:113 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/setup.cfg new/portend-2.6/setup.cfg --- old/portend-2.5/setup.cfg 2019-06-11 02:57:16.000000000 +0200 +++ new/portend-2.6/setup.cfg 2019-10-31 00:59:47.436768300 +0100 @@ -30,6 +30,7 @@ pytest-checkdocs pytest-flake8 pytest-black-multipy + pytest-cov docs = sphinx jaraco.packaging >= 3.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/portend-2.5/skeleton.md new/portend-2.6/skeleton.md --- old/portend-2.5/skeleton.md 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/skeleton.md 2019-10-31 00:59:22.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/portend-2.5/tox.ini new/portend-2.6/tox.ini --- old/portend-2.5/tox.ini 2019-06-11 02:56:58.000000000 +0200 +++ new/portend-2.6/tox.ini 2019-10-31 00:59:22.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 @@ -26,6 +32,10 @@ pep517>=0.5 twine>=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 .
