Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bcrypt for openSUSE:Factory checked in at 2022-11-04 17:31:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bcrypt (Old) and /work/SRC/openSUSE:Factory/.python-bcrypt.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bcrypt" Fri Nov 4 17:31:38 2022 rev:12 rq:1032996 version:4.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bcrypt/python-bcrypt.changes 2022-05-06 18:58:12.749282648 +0200 +++ /work/SRC/openSUSE:Factory/.python-bcrypt.new.2275/python-bcrypt.changes 2022-11-04 17:31:40.827769579 +0100 @@ -1,0 +2,28 @@ +Thu Nov 3 06:44:04 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Removed not needed C build dependencies +- Enable for all archs by default + +------------------------------------------------------------------- +Wed Nov 2 16:32:00 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Update to 4.0.1: + * We now build PyPy manylinux wheels. + * Fixed a bug where passing an invalid salt to checkpw could result in a + pyo3_runtime.PanicException. It now correctly raises a ValueError. +- 4.0.0: + * bcrypt is now implemented in Rust. Users building from source will need to + have a Rust compiler available. Nothing will change for users downloading + wheels. + * We no longer ship manylinux2010 wheels. Users should upgrade to the latest + pip to ensure this doesn???t cause issues downloading wheels on their + platform. We now ship manylinux_2_28 wheels for users on new enough + platforms. + * NUL bytes are now allowed in inputs. + +------------------------------------------------------------------- +Wed Nov 2 15:43:50 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Remove not needed python-six dependency + +------------------------------------------------------------------- Old: ---- bcrypt-3.2.2.tar.gz New: ---- _service bcrypt-4.0.1.tar.gz cargo_config vendor.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bcrypt.spec ++++++ --- /var/tmp/diff_new_pack.RNmpbB/_old 2022-11-04 17:31:42.047776143 +0100 +++ /var/tmp/diff_new_pack.RNmpbB/_new 2022-11-04 17:31:42.055776186 +0100 @@ -17,29 +17,26 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-bcrypt -Version: 3.2.2 +Version: 4.0.1 Release: 0 Summary: BSD type 2a and 2b password hashing License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/pyca/bcrypt/ -Source: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz -BuildRequires: %{python_module cffi >= 1.1} -BuildRequires: %{python_module devel} +Source0: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz +Source1: vendor.tar.gz +Source2: cargo_config +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 3.2.1} +BuildRequires: %{python_module setuptools-rust} +BuildRequires: %{python_module wheel} # setuptools 40.8.0 is required by upstream only for a pip issue that doesn't # affect us, so we relax the requirement to build in SLE/Leap 15.2 with 40.5.0 BuildRequires: %{python_module setuptools >= 40.5.0} -BuildRequires: %{python_module six >= 1.4.1} +BuildRequires: cargo-packaging BuildRequires: fdupes -BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libffi) -Requires: python-six >= 1.4.1 -%requires_eq python-cffi Provides: python-py-bcrypt = %{version} Obsoletes: python-py-bcrypt < %{version} @@ -50,14 +47,17 @@ using the BSD-originating hashing methods known as "2a" and "2b". %prep -%setup -q -n bcrypt-%{version} +%autosetup -p1 -a1 -n bcrypt-%{version} +mkdir .cargo +cp %{SOURCE2} .cargo/config +mv Cargo.lock src/_bcrypt %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}/%{$python_sitearch} %check @@ -67,6 +67,6 @@ %license LICENSE %doc README.rst %{python_sitearch}/bcrypt -%{python_sitearch}/bcrypt-%{version}-py*.egg-info +%{python_sitearch}/bcrypt-%{version}*-info %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="obs_scm"> <param name="url">https://github.com/pyca/bcrypt/</param> <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param> <param name="scm">git</param> <param name="revision">4.0.1</param> </service> <service name="cargo_vendor" mode="disabled"> <param name="srcdir">bcrypt/src/_bcrypt</param> <param name="compression">gz</param> <param name="update">true</param> </service> <service name="cargo_audit" mode="disabled"> <param name="srcdir">bcrypt/src/_bcrypt</param> </service> </services> ++++++ bcrypt-3.2.2.tar.gz -> bcrypt-4.0.1.tar.gz ++++++ ++++ 3709 lines of diff (skipped) ++++++ cargo_config ++++++ [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" (No newline at EOF)