From 3334ef17e45524bb4673e57017205897009d3e6e5130e036c106bcf4a79983ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 23 Jul 2020 13:18:08 +0000 Subject: [PATCH] Accepting request 822402 from home:mcalabkova:branches:devel:languages:python - update to 3.2.0 * :feature:`666` Improve display of HTTP errors during upload * :feature:`649` Use red text when printing errors on the command line * :feature:`652` Print packages and signatures to be uploaded when using ``--verbose`` option * :bug:`655 major` Update URL to ``.pypirc`` specfication * :feature:`602` Require repository URL scheme to be ``http`` or ``https`` * :bug:`612 major` Don't raise an exception when Python version can't be parsed from filename OBS-URL: https://build.opensuse.org/request/show/822402 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=30 --- python-twine.changes | 13 +++++++++++++ python-twine.spec | 7 ++++++- twine-3.1.1.tar.gz | 3 --- twine-3.2.0.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 twine-3.1.1.tar.gz create mode 100644 twine-3.2.0.tar.gz diff --git a/python-twine.changes b/python-twine.changes index 0dcce3b..807a705 100644 --- a/python-twine.changes +++ b/python-twine.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jul 23 12:22:51 UTC 2020 - Marketa Calabkova + +- update to 3.2.0 + * :feature:`666` Improve display of HTTP errors during upload + * :feature:`649` Use red text when printing errors on the command line + * :feature:`652` Print packages and signatures to be uploaded when using + ``--verbose`` option + * :bug:`655 major` Update URL to ``.pypirc`` specfication + * :feature:`602` Require repository URL scheme to be ``http`` or ``https`` + * :bug:`612 major` Don't raise an exception when Python version can't be + parsed from filename + ------------------------------------------------------------------- Sun Apr 5 07:40:00 UTC 2020 - Tomáš Chvátal diff --git a/python-twine.spec b/python-twine.spec index edbc696..4844d28 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -19,12 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-twine -Version: 3.1.1 +Version: 3.2.0 Release: 0 Summary: Collection of utilities for interacting with PyPI License: Apache-2.0 URL: https://github.com/pypa/twine Source: https://files.pythonhosted.org/packages/source/t/twine/twine-%{version}.tar.gz +BuildRequires: %{python_module colorama >= 0.4.3} BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module jaraco.envs} BuildRequires: %{python_module keyring >= 15.1} @@ -36,17 +37,20 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module readme_renderer >= 21.0} BuildRequires: %{python_module requests >= 2.20} BuildRequires: %{python_module requests-toolbelt >= 0.8.0} +BuildRequires: %{python_module rfc3986 >= 1.4.0} BuildRequires: %{python_module setuptools >= 0.7.0} BuildRequires: %{python_module setuptools_scm >= 1.15} BuildRequires: %{python_module tqdm >= 4.14} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-colorama >= 0.4.3 Requires: python-importlib-metadata Requires: python-keyring >= 15.1 Requires: python-pkginfo >= 1.4.2 Requires: python-readme_renderer >= 21.0 Requires: python-requests >= 2.20 Requires: python-requests-toolbelt >= 0.8.0 +Requires: python-rfc3986 >= 1.4.0 Requires: python-setuptools >= 0.7.0 Requires: python-tqdm >= 4.14 Requires(post): update-alternatives @@ -63,6 +67,7 @@ checking, if descriptions will render correctly. %setup -q -n twine-%{version} sed -i '1s/^#!.*//' twine/__main__.py +sed -i 's/--cov.*$//' pytest.ini %build %python_build diff --git a/twine-3.1.1.tar.gz b/twine-3.1.1.tar.gz deleted file mode 100644 index d12c43d..0000000 --- a/twine-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d561a5e511f70275e5a485a6275ff61851c16ffcb3a95a602189161112d9f160 -size 146258 diff --git a/twine-3.2.0.tar.gz b/twine-3.2.0.tar.gz new file mode 100644 index 0000000..cf8537c --- /dev/null +++ b/twine-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34352fd52ec3b9d29837e6072d5a2a7c6fe4290e97bba46bb8d478b5c598f7ab +size 148834