Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-twine for openSUSE:Factory checked in at 2023-05-09 13:07:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-twine (Old) and /work/SRC/openSUSE:Factory/.python-twine.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-twine" Tue May 9 13:07:03 2023 rev:13 rq:1085218 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-twine/python-twine.changes 2023-04-22 22:01:44.105673691 +0200 +++ /work/SRC/openSUSE:Factory/.python-twine.new.1533/python-twine.changes 2023-05-09 13:07:17.517004593 +0200 @@ -1,0 +2,34 @@ +Fri May 5 13:44:23 UTC 2023 - Matej Cepl <[email protected]> + +- Update to 4.0.2: + - Remove deprecated function to fix twine check with pkginfo + 1.9.0. + - Improve logging when keyring fails. + - Reconfgure root logger to show all log messages. + - Drop support for Python 3.6. + - Use Rich instead of tqdm for upload progress bar. + - Remove Twineâs dependencies from the User-Agent header when + uploading. + - Improve detection of disabled BLAKE2 hashing due to FIPS + mode. + - Restore warning for missing long_description. + - Add --verbose logging for querying keyring credentials. + - Log all upload responses with --verbose. + - Show more helpful error message for invalid metadata. + - Require a recent version of urllib3. + - Add support for core metadata version 2.2, defined in PEP + 643. + - Add support for Python 3.10. + - Show more helpful messages for invalid passwords. + - Allow the --skip-existing option to work with GCP Artifact + Registry. + - Add a helpful error message when an upload fails due to + missing a trailing slash in the URL. + - Generalize --verbose suggestion when an upload fails. + - Improve error messages + - Do not include md5_digest or blake2_256_digest if FIPS mode + is enabled on the host. This removes those fields from the + metadata before sending the metadata to the repository. +- Add license_files.patch to make pip happy. + +------------------------------------------------------------------- Old: ---- twine-3.4.1.tar.gz New: ---- license_files.patch twine-4.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-twine.spec ++++++ --- /var/tmp/diff_new_pack.VPBfVo/_old 2023-05-09 13:07:18.093008021 +0200 +++ /var/tmp/diff_new_pack.VPBfVo/_new 2023-05-09 13:07:18.101008069 +0200 @@ -16,22 +16,24 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-twine -Version: 3.4.1 +Version: 4.0.2 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} +Patch0: 0001-remove-disable-socket-pytest-opt.patch +# PATCH-FIX-UPSTREAM license_files.patch gh#pypa/twine!992 [email protected] +# license_file -> license_files +Patch1: license_files.patch BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module jaraco.envs} BuildRequires: %{python_module keyring >= 15.1} BuildRequires: %{python_module munch} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pkginfo >= 1.4.2} BuildRequires: %{python_module portend} BuildRequires: %{python_module pretend} @@ -40,12 +42,12 @@ BuildRequires: %{python_module requests >= 2.20} BuildRequires: %{python_module requests-toolbelt >= 0.8.0} BuildRequires: %{python_module rfc3986 >= 1.4.0} +BuildRequires: %{python_module rich} BuildRequires: %{python_module setuptools >= 0.7.0} BuildRequires: %{python_module setuptools_scm >= 1.15} -BuildRequires: %{python_module tqdm >= 4.14} +BuildRequires: %{python_module wheel} 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 @@ -53,10 +55,10 @@ 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: python-rich Requires(post): update-alternatives Requires(postun):update-alternatives +BuildArch: noarch %python_subpackages %description @@ -66,17 +68,15 @@ checking, if descriptions will render correctly. %prep -%setup -q -n twine-%{version} -%patch1 -p1 +%autosetup -p1 -n twine-%{version} sed -i '1s/^#!.*//' twine/__main__.py -sed -i 's/--cov.*$//' pytest.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/twine %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -95,10 +95,8 @@ %files %{python_files} %doc AUTHORS README.rst %license LICENSE -%dir %{python_sitelib}/twine -%dir %{python_sitelib}/twine-%{version}-py*.egg-info -%{python_sitelib}/twine/* -%{python_sitelib}/twine-%{version}-py*.egg-info/* %python_alternative %{_bindir}/twine +%{python_sitelib}/twine +%{python_sitelib}/twine-%{version}*-info %changelog ++++++ 0001-remove-disable-socket-pytest-opt.patch ++++++ --- /var/tmp/diff_new_pack.VPBfVo/_old 2023-05-09 13:07:18.129008236 +0200 +++ /var/tmp/diff_new_pack.VPBfVo/_new 2023-05-09 13:07:18.133008260 +0200 @@ -1,14 +1,14 @@ 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 @@ +--- + pytest.ini | 1 - + 1 file changed, 1 deletion(-) + +--- a/pytest.ini ++++ b/pytest.ini +@@ -6,4 +6,3 @@ filterwarnings= + ignore:the imp module is deprecated::setuptools 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__ ++++++ license_files.patch ++++++ --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -license_file = LICENSE +license_files = LICENSE name = twine author = Donald Stufft and individual contributors author_email = [email protected] ++++++ twine-3.4.1.tar.gz -> twine-4.0.2.tar.gz ++++++ ++++ 5834 lines of diff (skipped)
