Accepting request 791481 from devel:languages:python
- Update deps to really match up reality - 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 - Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/791481 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=9
This commit is contained in:
commit
4346488c7d
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 5 07:40:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update deps to really match up reality
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 25 11:22:38 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
Tue Feb 25 11:22:38 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -17,38 +17,40 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-twine
|
Name: python-twine
|
||||||
Version: 1.15.0
|
Version: 3.1.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
|
||||||
Group: Development/Languages/Python
|
|
||||||
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
|
||||||
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
|
BuildRequires: %{python_module jaraco.envs}
|
||||||
|
BuildRequires: %{python_module keyring >= 15.1}
|
||||||
|
BuildRequires: %{python_module munch}
|
||||||
BuildRequires: %{python_module pkginfo >= 1.4.2}
|
BuildRequires: %{python_module pkginfo >= 1.4.2}
|
||||||
|
BuildRequires: %{python_module portend}
|
||||||
BuildRequires: %{python_module pretend}
|
BuildRequires: %{python_module pretend}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module readme_renderer >= 21.0}
|
BuildRequires: %{python_module readme_renderer >= 21.0}
|
||||||
BuildRequires: %{python_module requests >= 2.17.0}
|
BuildRequires: %{python_module requests >= 2.20}
|
||||||
BuildRequires: %{python_module requests-toolbelt >= 0.8.0}
|
BuildRequires: %{python_module requests-toolbelt >= 0.8.0}
|
||||||
BuildRequires: %{python_module setuptools >= 0.7.0}
|
BuildRequires: %{python_module setuptools >= 0.7.0}
|
||||||
|
BuildRequires: %{python_module setuptools_scm >= 1.15}
|
||||||
BuildRequires: %{python_module tqdm >= 4.14}
|
BuildRequires: %{python_module tqdm >= 4.14}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-importlib-metadata
|
||||||
|
Requires: python-keyring >= 15.1
|
||||||
Requires: python-pkginfo >= 1.4.2
|
Requires: python-pkginfo >= 1.4.2
|
||||||
Requires: python-readme_renderer >= 21.0
|
Requires: python-readme_renderer >= 21.0
|
||||||
Requires: python-requests >= 2.17.0
|
Requires: python-requests >= 2.20
|
||||||
Requires: python-requests-toolbelt >= 0.8.0
|
Requires: python-requests-toolbelt >= 0.8.0
|
||||||
Requires: python-setuptools >= 0.7.0
|
Requires: python-setuptools >= 0.7.0
|
||||||
Requires: python-tqdm >= 4.14
|
Requires: python-tqdm >= 4.14
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Recommends: python-keyring
|
|
||||||
%ifpython2
|
|
||||||
# tests/test_package.py will fail without pyblake2
|
|
||||||
BuildRequires: python2-pyblake2
|
|
||||||
Recommends: python-pyblake2
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -71,7 +73,10 @@ sed -i '1s/^#!.*//' twine/__main__.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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
|
%post
|
||||||
%python_install_alternative twine
|
%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