Accepting request 905787 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/905787 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=11
This commit is contained in:
commit
ec0c9d9b0a
13
0001-remove-disable-socket-pytest-opt.patch
Normal file
13
0001-remove-disable-socket-pytest-opt.patch
Normal 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__
|
@ -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>
|
Thu Jul 23 12:22:51 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-twine
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,12 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-twine
|
Name: python-twine
|
||||||
Version: 3.2.0
|
Version: 3.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Collection of utilities for interacting with PyPI
|
Summary: Collection of utilities for interacting with PyPI
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/pypa/twine
|
URL: https://github.com/pypa/twine
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/twine/twine-%{version}.tar.gz
|
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 colorama >= 0.4.3}
|
||||||
BuildRequires: %{python_module importlib-metadata}
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
BuildRequires: %{python_module jaraco.envs}
|
BuildRequires: %{python_module jaraco.envs}
|
||||||
@ -65,6 +66,7 @@ checking, if descriptions will render correctly.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n twine-%{version}
|
%setup -q -n twine-%{version}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
sed -i '1s/^#!.*//' twine/__main__.py
|
sed -i '1s/^#!.*//' twine/__main__.py
|
||||||
sed -i 's/--cov.*$//' pytest.ini
|
sed -i 's/--cov.*$//' pytest.ini
|
||||||
|
@ -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
3
twine-3.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b
|
||||||
|
size 215191
|
Loading…
Reference in New Issue
Block a user