Accepting request 905699 from home:stroeder:python

update to 3.4.1

OBS-URL: https://build.opensuse.org/request/show/905699
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=32
This commit is contained in:
Markéta Machová 2021-07-12 08:07:36 +00:00 committed by Git OBS Bridge
parent 3334ef17e4
commit 8bc5abb389
5 changed files with 50 additions and 6 deletions

View File

@ -0,0 +1,13 @@
Only in twine-3.4.1: .coverage
Only in twine-3.4.1: .pytest_cache
diff -ur twine-3.4.1.orig/pytest.ini twine-3.4.1/pytest.ini
--- twine-3.4.1.orig/pytest.ini 2021-03-17 01:42:01.000000000 +0100
+++ twine-3.4.1/pytest.ini 2021-07-11 19:52:39.020680128 +0200
@@ -7,4 +7,3 @@
addopts =
--cov=twine --cov-context=test --cov-report=
- --disable-socket
Only in twine-3.4.1/tests: __pycache__
Only in twine-3.4.1/twine/commands: __pycache__
Only in twine-3.4.1/twine: __pycache__

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Sun Jul 11 17:40:20 UTC 2021 - Michael Ströder <michael@stroeder.com>
- added 0001-remove-disable-socket-pytest-opt.patch
- update to 3.4.1
* 3.4.1 (2021-03-16)
Bugfixes
- Fix a regression that was causing some namespace packages with dots in them fail to upload to PyPI. (#745)
* 3.4.0 (2021-03-15)
Features
- Prefer importlib.metadata for entry point handling. (#728)
- Rely on importlib_metadata 3.6 for nicer entry point processing. (#732)
- Eliminate dependency on setuptools/pkg_resources and replace with packaging and importlib_metadata. (#736)
* 3.3.0 (2020-12-23)
Features
- Print files to be uploaded using ``upload --verbose`` (#670)
- Print configuration file location when using ``upload --verbose`` (#675)
- Print source and values of credentials when using ``upload --verbose`` (#685)
- Add support for Python 3.9 (#708)
- Turn warnings into errors when using ``check --strict`` (#715)
Bugfixes
- Make password optional when using ``upload --client-cert`` (#678)
- Support more Nexus versions with ``upload --skip-existing`` (#693)
- Support Gitlab Enterprise with ``upload --skip-existing`` (#698)
- Show a better error message for malformed files (#714)
Improved Documentation
- Adopt PSF code of conduct (#680)
- Adopt towncrier for the changleog (#718)
-------------------------------------------------------------------
Thu Jul 23 12:22:51 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-twine
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,12 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-twine
Version: 3.2.0
Version: 3.4.1
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
Patch1: 0001-remove-disable-socket-pytest-opt.patch
BuildRequires: %{python_module colorama >= 0.4.3}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module jaraco.envs}
@ -54,7 +55,7 @@ Requires: python-rfc3986 >= 1.4.0
Requires: python-setuptools >= 0.7.0
Requires: python-tqdm >= 4.14
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description
@ -65,6 +66,7 @@ checking, if descriptions will render correctly.
%prep
%setup -q -n twine-%{version}
%patch1 -p1
sed -i '1s/^#!.*//' twine/__main__.py
sed -i 's/--cov.*$//' pytest.ini

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34352fd52ec3b9d29837e6072d5a2a7c6fe4290e97bba46bb8d478b5c598f7ab
size 148834

3
twine-3.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b
size 215191