Hello community, here is the log from the commit of package python-tempora for openSUSE:Factory checked in at 2019-04-21 09:03:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tempora (Old) and /work/SRC/openSUSE:Factory/.python-tempora.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tempora" Sun Apr 21 09:03:58 2019 rev:5 rq:695847 version:1.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tempora/python-tempora.changes 2019-03-29 20:36:11.454555844 +0100 +++ /work/SRC/openSUSE:Factory/.python-tempora.new.5536/python-tempora.changes 2019-04-21 09:04:01.074596047 +0200 @@ -1,0 +2,7 @@ +Thu Apr 18 15:24:46 UTC 2019 - Marketa Calabkova <[email protected]> + +- update to 1.14.1 + * Fix failing doctest in parse_timedelta +- Launch tests and removing some unneeded dependencies + +------------------------------------------------------------------- Old: ---- tempora-1.14.tar.gz New: ---- tempora-1.14.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tempora.spec ++++++ --- /var/tmp/diff_new_pack.Awfhgy/_old 2019-04-21 09:04:01.658596729 +0200 +++ /var/tmp/diff_new_pack.Awfhgy/_new 2019-04-21 09:04:01.662596734 +0200 @@ -18,20 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tempora -Version: 1.14 +Version: 1.14.1 Release: 0 Summary: Objects and routines pertaining to date and time (tempora) License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/tempora Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz +BuildRequires: %{python_module freezegun} BuildRequires: %{python_module jaraco.functools >= 1.20} -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest-flake8} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-backports.unittest_mock @@ -60,7 +60,7 @@ %fdupes %{buildroot} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE ++++++ tempora-1.14.tar.gz -> tempora-1.14.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/.flake8 new/tempora-1.14.1/.flake8 --- old/tempora-1.14/.flake8 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/.flake8 2019-04-12 05:00:39.000000000 +0200 @@ -2,6 +2,8 @@ ignore = # Allow tabs for indentation W191 + # Workaround for https://github.com/PyCQA/pycodestyle/issues/836 + E117 # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513 W503 # W504 has issues https://github.com/OCA/maintainer-quality-tools/issues/545 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/.travis.yml new/tempora-1.14.1/.travis.yml --- old/tempora-1.14/.travis.yml 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/.travis.yml 2019-04-12 05:00:39.000000000 +0200 @@ -1,5 +1,4 @@ dist: xenial -sudo: false language: python python: @@ -13,18 +12,13 @@ - 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: biQEz9Cj1jtsTAjRztnKiJfYSA930L42f67duu7L2vdomRw/sGQOZ7ygStibeHj0mk8w+o5PV7f8oYu0NfKoonc5PF2Zlmj7izEC9Sl7zS6n8NwvToVqAuQikurfk8Fa1qv5ppqaJcbofT6/lI8Cx9fqucwCSqsIcwka7XB4Oaf+aycfVsKr/G302UTw82SnGiteYFPZeTkqUQx5zVJJ09dyTdDYc8YWP6VqmpE0KX2XxyXIwESglVXB7mf7AGI9VRh1Pji1SmsiONMmFC+UX1Um/HHhHG7Id+wKy1eO3/JYbLlq4IyZT7HnBZMVIf0Ib5fxrX7RztSO2H0tOEa1/acJQSoBMICD2j/fKk3BoxIBkY4qiKpiktNlka7AbzfBqj2qABoZFXlNIV2FPFSE6qZNUXe+NMHFVaQ5+7VS6JZUZQIt4+klbpH+UJTVIXSzbZpu2trsLsXyXdZLIYk5lg5tpGfj9DEblSJgJoMvmOmuPZMcjTfquPIw+oJ1EJayQL69VnA4czErKE1sla5ArKCEnV6yhDLFv2uze8f+XJq5Ed7ccnXEgIMW/nNRgZVLiQCbT1x5hGzKdNGUiDe6LWF8YbfbJnjEDTshBZXS0vNfPbxhkzLfzsji2kovOH6gH/Rme4ZF6RjAoMejeOPTYbB7AA2kWWeW5qlynU4ARi0= - distributions: dists - skip_cleanup: true + before_script: skip + env: + - TWINE_USERNAME=jaraco + # TWINE_PASSWORD + - secure: cscsuuHe6Hy/6tHLQafGOdKscx/aYGXYZNjkgn66+ILXo42VyIBgAmMyxsABTvYwstsi8xIO3eTUoKYzkLU8ivD+Nl1qJgPAno1pjhKIFKpdAe7VpUQsI502+thYcQ044lPDMp/E4cqL12m/eizzgcEd6fJzjdulEETDlMOZJtZfysQofk8YUIEa3TwS+HnLTLUQdignsh1jbwgL8K70WWhHyKGn4d+kUqZF4MtKLJngH5FmNDLChOH45oUQ6TyzAZi0ij6cVMLV8j7crcea2XPbs8voMeHA9/YTZEoALCJIJML8XTczVgN/peALiv4AGtzWJ7RG4Il03yritvbfedgsiUZpEaZ05eP4cyuJ+7o7xkl3D3e2DW9UTO4yK34kCH1vdwoLCO4y5siV8RFIy+VOJcNH6BECoBxuWA50zim4JmRhod2MEDXCZhkxFP3QqvOtPwXqC/lcX8EXo7nOlnBohuw9ayM8lAvovrj9f7WJmu8oVjv7J9X7BRBgqEBIoifxRAeliAMRZb+7V0dw8oBwbI0MyEETbcvIwSz9OLnspImZ2imRsx11yy+AhB2lufPM9hLrWBIN4X7fon+t6oKQQyDfpC5znpsXzk9QFuxyin1WlERPRXvCoCBXhMOyTxtz3VsIY356kx2YlH6569FnCpaWJCAFP6BG6t2Ia4c= + - TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD" + script: tox -e release cache: pip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/CHANGES.rst new/tempora-1.14.1/CHANGES.rst --- old/tempora-1.14/CHANGES.rst 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/CHANGES.rst 2019-04-12 05:00:39.000000000 +0200 @@ -1,3 +1,8 @@ +1.14.1 +====== + +#7: Fix failing doctest in ``parse_timedelta``. + 1.14 ==== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/PKG-INFO new/tempora-1.14.1/PKG-INFO --- old/tempora-1.14/PKG-INFO 2018-11-01 14:37:51.000000000 +0100 +++ new/tempora-1.14.1/PKG-INFO 2019-04-12 05:00:58.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tempora -Version: 1.14 +Version: 1.14.1 Summary: Objects and routines pertaining to date and time (tempora) Home-page: https://github.com/jaraco/tempora Author: Jason R. Coombs @@ -24,10 +24,12 @@ Modules include: - - tempora (top level package module) contains miscellaneous + - tempora (top level package module) contains miscellaneous utilities and constants. - - timing contains routines for measuring and profiling. - - schedule contains an event scheduler. + - timing contains routines for measuring and profiling. + - schedule contains an event scheduler. + - utc contains routines for getting datetime-aware UTC values + (Python 3 only). Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/README.rst new/tempora-1.14.1/README.rst --- old/tempora-1.14/README.rst 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/README.rst 2019-04-12 05:00:39.000000000 +0200 @@ -16,7 +16,9 @@ Modules include: - - tempora (top level package module) contains miscellaneous +- tempora (top level package module) contains miscellaneous utilities and constants. - - timing contains routines for measuring and profiling. - - schedule contains an event scheduler. +- timing contains routines for measuring and profiling. +- schedule contains an event scheduler. +- utc contains routines for getting datetime-aware UTC values + (Python 3 only). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/docs/conf.py new/tempora-1.14.1/docs/conf.py --- old/tempora-1.14/docs/conf.py 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/docs/conf.py 2019-04-12 05:00:39.000000000 +0200 @@ -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 #|\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}/', - ), - ], - ), + "../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/tempora-1.14/pyproject.toml new/tempora-1.14.1/pyproject.toml --- old/tempora-1.14/pyproject.toml 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/pyproject.toml 2019-04-12 05:00:39.000000000 +0200 @@ -1,2 +1,3 @@ [build-system] 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/tempora-1.14/pytest.ini new/tempora-1.14.1/pytest.ini --- old/tempora-1.14/pytest.ini 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/pytest.ini 2019-04-12 05:00:39.000000000 +0200 @@ -5,3 +5,7 @@ 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/tempora-1.14/setup.cfg new/tempora-1.14.1/setup.cfg --- old/tempora-1.14/setup.cfg 2018-11-01 14:37:51.000000000 +0100 +++ new/tempora-1.14.1/setup.cfg 2019-04-12 05:00:58.000000000 +0200 @@ -1,6 +1,3 @@ -[aliases] -dists = clean --all sdist bdist_wheel - [bdist_wheel] universal = 1 @@ -32,8 +29,7 @@ [options.extras_require] testing = pytest >= 3.5, !=3.7.3 - pytest-sugar >= 0.9.1 - collective.checkdocs + pytest-checkdocs pytest-flake8 backports.unittest_mock diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/setup.py new/tempora-1.14.1/setup.py --- old/tempora-1.14/setup.py 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/setup.py 2019-04-12 05:00:39.000000000 +0200 @@ -1,8 +1,6 @@ #!/usr/bin/env python -# Project skeleton maintained at https://github.com/jaraco/skeleton - import setuptools -if __name__ == '__main__': - setuptools.setup(use_scm_version=True) +if __name__ == "__main__": + setuptools.setup(use_scm_version=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/skeleton.md new/tempora-1.14.1/skeleton.md --- old/tempora-1.14/skeleton.md 1970-01-01 01:00:00.000000000 +0100 +++ new/tempora-1.14.1/skeleton.md 2019-04-12 05:00:39.000000000 +0200 @@ -0,0 +1,128 @@ +# 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. + +Another advantage to using an SCM-managed approach is that tools like GitHub recognize that a change in the skeleton is the _same change_ across all projects that merge with that skeleton. Without the ancestry, with a traditional copy/paste approach, a [commit like this](https://github.com/jaraco/skeleton/commit/12eed1326e1bc26ce256e7b3f8cd8d3a5beab2d5) would produce notifications in the upstream project issue for each and every application, but because it's centralized, GitHub provides just the one notification when the change is added to the skeleton. + +# 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/tempora-1.14/tempora/__init__.py new/tempora-1.14.1/tempora/__init__.py --- old/tempora-1.14/tempora/__init__.py 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/tempora/__init__.py 2019-04-12 05:00:39.000000000 +0200 @@ -438,8 +438,9 @@ >>> now = datetime.datetime.now() >>> later = now + parse_timedelta('1 year') - >>> later.replace(year=now.year) - now - datetime.timedelta(seconds=20940) + >>> diff = later.replace(year=now.year) - now + >>> diff.seconds + 20940 """ deltas = (_parse_timedelta_part(part.strip()) for part in str.split(',')) return sum(deltas, datetime.timedelta()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/tempora/utc.py new/tempora-1.14.1/tempora/utc.py --- old/tempora-1.14/tempora/utc.py 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/tempora/utc.py 2019-04-12 05:00:39.000000000 +0200 @@ -13,6 +13,9 @@ >>> now().timestamp() - timestamp() < 0.1 True +>>> (now() - fromtimestamp(timestamp())).total_seconds() < 0.1 +True + >>> datetime(2018, 6, 26, 0).tzinfo datetime.timezone.utc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/tempora.egg-info/PKG-INFO new/tempora-1.14.1/tempora.egg-info/PKG-INFO --- old/tempora-1.14/tempora.egg-info/PKG-INFO 2018-11-01 14:37:51.000000000 +0100 +++ new/tempora-1.14.1/tempora.egg-info/PKG-INFO 2019-04-12 05:00:58.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tempora -Version: 1.14 +Version: 1.14.1 Summary: Objects and routines pertaining to date and time (tempora) Home-page: https://github.com/jaraco/tempora Author: Jason R. Coombs @@ -24,10 +24,12 @@ Modules include: - - tempora (top level package module) contains miscellaneous + - tempora (top level package module) contains miscellaneous utilities and constants. - - timing contains routines for measuring and profiling. - - schedule contains an event scheduler. + - timing contains routines for measuring and profiling. + - schedule contains an event scheduler. + - utc contains routines for getting datetime-aware UTC values + (Python 3 only). Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/tempora.egg-info/SOURCES.txt new/tempora-1.14.1/tempora.egg-info/SOURCES.txt --- old/tempora-1.14/tempora.egg-info/SOURCES.txt 2018-11-01 14:37:51.000000000 +0100 +++ new/tempora-1.14.1/tempora.egg-info/SOURCES.txt 2019-04-12 05:00:58.000000000 +0200 @@ -10,6 +10,7 @@ pytest.ini setup.cfg setup.py +skeleton.md tox.ini docs/conf.py docs/history.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/tempora.egg-info/requires.txt new/tempora-1.14.1/tempora.egg-info/requires.txt --- old/tempora-1.14/tempora.egg-info/requires.txt 2018-11-01 14:37:51.000000000 +0100 +++ new/tempora-1.14.1/tempora.egg-info/requires.txt 2019-04-12 05:00:58.000000000 +0200 @@ -9,8 +9,7 @@ [testing] pytest!=3.7.3,>=3.5 -pytest-sugar>=0.9.1 -collective.checkdocs +pytest-checkdocs pytest-flake8 backports.unittest_mock freezegun diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.14/tox.ini new/tempora-1.14.1/tox.ini --- old/tempora-1.14/tox.ini 2018-11-01 14:37:30.000000000 +0100 +++ new/tempora-1.14.1/tox.ini 2019-04-12 05:00:39.000000000 +0200 @@ -7,7 +7,6 @@ setuptools>=31.0.1 commands = pytest {posargs} - python setup.py checkdocs usedevelop = True extras = testing @@ -18,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/*
