Accepting request 788516 from home:pgajdos:python
sorry, forgot about it OBS-URL: https://build.opensuse.org/request/show/788516 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=27
This commit is contained in:
parent
5ccc792dc5
commit
004e910e3e
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 09:15:04 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 3.1.1
|
||||
bug`548` Restore --non-interactive as a flag not expecting an argument.
|
||||
:feature:`547` Add support for specifying --non-interactive as an environment variable.
|
||||
:feature:`336` When a client certificate is indicated, all password processing is disabled.
|
||||
:feature:`489` Add --non-interactive flag to abort upload rather than interactively prompt if credentials are missing.
|
||||
:feature:`524` Twine now unconditionally requires the keyring library and no longer supports uninstalling keyring as a means to disable that functionality. Instead, use keyring --disable keyring functionality if necessary.
|
||||
:feature:`518` Add Python 3.8 to classifiers.
|
||||
bug`332 major` More robust handling of server response in --skip-existing
|
||||
:feature:`437` Twine now requires Python 3.6 or later. Use pip 9 or pin to "twine<2" to install twine on older Python versions.
|
||||
bug`491 major` Require requests 2.20 or later to avoid reported security vulnerabilities in earlier releases.
|
||||
- python3 only package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 07:53:47 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -17,21 +17,26 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
%define skip_python2 1
|
||||
Name: python-twine
|
||||
Version: 1.15.0
|
||||
Version: 3.1.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
|
||||
BuildRequires: %{python_module jaraco.envs}
|
||||
BuildRequires: %{python_module keyring}
|
||||
BuildRequires: %{python_module munch}
|
||||
BuildRequires: %{python_module pkginfo >= 1.4.2}
|
||||
BuildRequires: %{python_module portend}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module readme_renderer >= 21.0}
|
||||
BuildRequires: %{python_module requests >= 2.17.0}
|
||||
BuildRequires: %{python_module requests-toolbelt >= 0.8.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
|
||||
@ -44,12 +49,6 @@ Requires: python-tqdm >= 4.14
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-keyring
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-pyblake2
|
||||
%endif
|
||||
%ifpython2
|
||||
Recommends: python-pyblake2
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -72,7 +71,10 @@ sed -i '1s/^#!.*//' twine/__main__.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# do not run integration tests
|
||||
rm tests/test_integration.py
|
||||
# test_check_status_code_for_wrong_repo_url is online test
|
||||
%pytest -k 'not test_check_status_code_for_wrong_repo_url'
|
||||
|
||||
%post
|
||||
%python_install_alternative twine
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3d22aab467b4682a22de4a422632e79d07eebd07ff2a7079effb13f8a693787
|
||||
size 139576
|
3
twine-3.1.1.tar.gz
Normal file
3
twine-3.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d561a5e511f70275e5a485a6275ff61851c16ffcb3a95a602189161112d9f160
|
||||
size 146258
|
Loading…
Reference in New Issue
Block a user