From abd6dce0ee62c2723174338ce8fe0aca04f951a2a2a41150204f2c1b0544732d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 14 Feb 2019 11:40:40 +0000 Subject: [PATCH] Accepting request 674937 from home:jayvdb:coala:test-rig - Remove build dependency on pytest-cov - update to version 0.33.0 * Added the `--build-number` option to the `wheel pack` command * Fixed bad shebangs sneaking into wheels * Fixed documentation issue with `wheel pack` erroneously being called `wheel repack` * Fixed filenames with "bad" characters (like commas) not being quoted in `RECORD` (PR by Paul Moore) * Sort requirements extras to ensure deterministic builds OBS-URL: https://build.opensuse.org/request/show/674937 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=35 --- python-wheel.changes | 13 +++++++++++++ python-wheel.spec | 12 +++++++----- wheel-0.32.3.tar.gz | 3 --- wheel-0.33.0.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 wheel-0.32.3.tar.gz create mode 100644 wheel-0.33.0.tar.gz diff --git a/python-wheel.changes b/python-wheel.changes index 10b3d51..82cf64b 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 14 11:29:38 UTC 2019 - John Vandenberg + +- Remove build dependency on pytest-cov +- update to version 0.33.0 + * Added the `--build-number` option to the `wheel pack` command + * Fixed bad shebangs sneaking into wheels + * Fixed documentation issue with `wheel pack` erroneously being + called `wheel repack` + * Fixed filenames with "bad" characters (like commas) not being + quoted in `RECORD` (PR by Paul Moore) + * Sort requirements extras to ensure deterministic builds + ------------------------------------------------------------------- Fri Nov 23 08:01:20 UTC 2018 - Tomáš Chvátal diff --git a/python-wheel.spec b/python-wheel.spec index 353c593..2cd86c9 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -1,7 +1,7 @@ # # spec file for package python-wheel # -# 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,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wheel -Version: 0.32.3 +Version: 0.33.0 Release: 0 Summary: A built-package format for Python License: MIT @@ -38,12 +38,9 @@ Recommends: python-keyrings.alt Recommends: python-pyxdg BuildArch: noarch # SECTION test -BuildRequires: %{python_module cov-core >= 1.6} -BuildRequires: %{python_module coverage} # Not compatible currently, see https://github.com/jaraco/keyrings.alt/issues/20 #BuildRequires: %%{python_module keyrings.alt} BuildRequires: %{python_module keyring} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyxdg} # /SECTION @@ -73,6 +70,11 @@ The reference implementation is at http://bitbucket.org/dholth/wheel/ %prep %setup -q -n wheel-%{version} +# Remove addopts as it requires pytest-cov. The reported coverage is not +# nearly near 100%, and setup.cfg doesnt provide a minimum acceptable +# coverage percentage, so coverage is not a metric which can be used +# by automated QA to determine acceptance of the package. +sed -i '/addopts = /d' setup.cfg %build %python_build diff --git a/wheel-0.32.3.tar.gz b/wheel-0.32.3.tar.gz deleted file mode 100644 index e4b2f66..0000000 --- a/wheel-0.32.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08170412760607226c16599ef6bce34cb134230d375fb453eca298ebde626970 -size 49293 diff --git a/wheel-0.33.0.tar.gz b/wheel-0.33.0.tar.gz new file mode 100644 index 0000000..90db9fa --- /dev/null +++ b/wheel-0.33.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66a3f8b72c2c394206fb68ed00936f9a4da1af943ad85e8760d7c79faec7b294 +size 49669