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 2024-12-05 17:05:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bcrypt (Old)
 and      /work/SRC/openSUSE:Factory/.python-bcrypt.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bcrypt"

Thu Dec  5 17:05:15 2024 rev:16 rq:1228240 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bcrypt/python-bcrypt.changes      
2024-07-26 16:15:29.145670669 +0200
+++ /work/SRC/openSUSE:Factory/.python-bcrypt.new.28523/python-bcrypt.changes   
2024-12-05 17:05:41.210171195 +0100
@@ -1,0 +2,69 @@
+Wed Dec  4 07:40:38 UTC 2024 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 4.2.1
+  * Bump version for 4.2.1 (#914)
+  * Bump bcrypt from 0.15.1 to 0.16.0 in /src/_bcrypt (#912)
+  * Fix warnings from pyo3 0.23 (#911)
+  * Bump pyo3 from 0.22.6 to 0.23.1 in /src/_bcrypt (#909)
+  * Bump libc from 0.2.162 to 0.2.164 in /src/_bcrypt (#910)
+  * Bump cpufeatures from 0.2.14 to 0.2.15 in /src/_bcrypt (#908)
+  * Bump libc from 0.2.161 to 0.2.162 in /src/_bcrypt (#907)
+  * Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2 (#906)
+  * Bump pyo3 from 0.22.5 to 0.22.6 in /src/_bcrypt (#905)
+  * Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.0 (#904)
+  * Bump syn from 2.0.86 to 2.0.87 in /src/_bcrypt (#903)
+  * Bump syn from 2.0.85 to 2.0.86 in /src/_bcrypt (#902)
+  * Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#901)
+  * Bump actions/setup-python from 5.2.0 to 5.3.0 (#899)
+  * Bump syn from 2.0.82 to 2.0.85 in /src/_bcrypt (#898)
+  * Bump actions/checkout from 4.2.1 to 4.2.2 (#897)
+  * Bump actions/cache from 4.1.1 to 4.1.2 (#896)
+  * Bump proc-macro2 from 1.0.88 to 1.0.89 in /src/_bcrypt (#895)
+  * Bump syn from 2.0.79 to 2.0.82 in /src/_bcrypt (#894)
+  * Bump libc from 0.2.159 to 0.2.161 in /src/_bcrypt (#893)
+  * Bump proc-macro2 from 1.0.87 to 1.0.88 in /src/_bcrypt (#892)
+  * Bump pyo3 from 0.22.4 to 0.22.5 in /src/_bcrypt (#891)
+  * Bump pyo3 from 0.22.3 to 0.22.4 in /src/_bcrypt (#890)
+  * Update CI for 3.13 (#888)
+  * Bump actions/upload-artifact from 4.4.2 to 4.4.3 (#889)
+  * Bump actions/upload-artifact from 4.4.1 to 4.4.2 (#886)
+  * Bump actions/cache from 4.1.0 to 4.1.1 (#887)
+  * Bump proc-macro2 from 1.0.86 to 1.0.87 in /src/_bcrypt (#884)
+  * Bump actions/upload-artifact from 4.4.0 to 4.4.1 (#883)
+  * Bump actions/checkout from 4.2.0 to 4.2.1 (#882)
+  * Bump actions/cache from 4.0.2 to 4.1.0 (#881)
+  * Bump once_cell from 1.20.1 to 1.20.2 in /src/_bcrypt (#880)
+  * Bump once_cell from 1.20.0 to 1.20.1 in /src/_bcrypt (#878)
+  * Bump portable-atomic from 1.8.0 to 1.9.0 in /src/_bcrypt (#877)
+  * Bump syn from 2.0.77 to 2.0.79 in /src/_bcrypt (#879)
+  * Bump autocfg from 1.3.0 to 1.4.0 in /src/_bcrypt (#876)
+  * Bump actions/checkout from 4.1.7 to 4.2.0 (#875)
+  * Bump libc from 0.2.158 to 0.2.159 in /src/_bcrypt (#874)
+  * Bump portable-atomic from 1.7.0 to 1.8.0 in /src/_bcrypt (#873)
+  * Bump once_cell from 1.19.0 to 1.20.0 in /src/_bcrypt (#871)
+  * Bump pyo3 from 0.22.2 to 0.22.3 in /src/_bcrypt (#872)
+  * Bump unicode-ident from 1.0.12 to 1.0.13 in /src/_bcrypt (#870)
+  * Bump cpufeatures from 0.2.13 to 0.2.14 in /src/_bcrypt (#869)
+  * Bump actions/attest-build-provenance from 1.4.2 to 1.4.3 (#868)
+  * Correctly use `console` language fence (#867)
+  * Bump actions/upload-artifact from 4.3.6 to 4.4.0 (#866)
+  * Bump syn from 2.0.76 to 2.0.77 in /src/_bcrypt (#865)
+  * Bump actions/setup-python from 5.1.1 to 5.2.0 (#862)
+  * Bump syn from 2.0.75 to 2.0.76 in /src/_bcrypt (#861)
+  * Bump actions/attest-build-provenance from 1.4.1 to 1.4.2 (#859)
+  * Bump quote from 1.0.36 to 1.0.37 in /src/_bcrypt (#858)
+  * Bump libc from 0.2.157 to 0.2.158 in /src/_bcrypt (#857)
+  * Bump syn from 2.0.74 to 2.0.75 in /src/_bcrypt (#855)
+  * Bump libc from 0.2.156 to 0.2.157 in /src/_bcrypt (#856)
+  * Bump libc from 0.2.155 to 0.2.156 in /src/_bcrypt (#854)
+  * Bump cpufeatures from 0.2.12 to 0.2.13 in /src/_bcrypt (#853)
+  * Bump syn from 2.0.72 to 2.0.74 in /src/_bcrypt (#851)
+  * Bump actions/attest-build-provenance from 1.4.0 to 1.4.1 (#852)
+  * Bump actions/upload-artifact from 4.3.5 to 4.3.6 (#850)
+  * Bump actions/upload-artifact from 4.3.4 to 4.3.5 (#849)
+  * Bump target-lexicon from 0.12.15 to 0.12.16 in /src/_bcrypt (#848)
+  * Bump actions/attest-build-provenance from 1.3.3 to 1.4.0 (#847)
+  * Bump version_check from 0.9.4 to 0.9.5 in /src/_bcrypt (#846)
+  * Fix pypi-publish.yml for paths with spaces (#844)
+
+-------------------------------------------------------------------

Old:
----
  bcrypt-4.2.0.tar.gz

New:
----
  bcrypt-4.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-bcrypt.spec ++++++
--- /var/tmp/diff_new_pack.UtexwQ/_old  2024-12-05 17:05:43.286258134 +0100
+++ /var/tmp/diff_new_pack.UtexwQ/_new  2024-12-05 17:05:43.286258134 +0100
@@ -20,7 +20,7 @@
 %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 %{?sle15_python_module_pythons}
 Name:           python-bcrypt
-Version:        4.2.0
+Version:        4.2.1
 Release:        0
 Summary:        BSD type 2a and 2b password hashing
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.UtexwQ/_old  2024-12-05 17:05:43.330259978 +0100
+++ /var/tmp/diff_new_pack.UtexwQ/_new  2024-12-05 17:05:43.330259978 +0100
@@ -3,7 +3,7 @@
     <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.2.0</param>
+    <param name="revision">4.2.1</param>
   </service>
   <service name="cargo_vendor" mode="manual">
      <param name="srcdir">bcrypt/src/_bcrypt</param>

++++++ bcrypt-4.2.0.tar.gz -> bcrypt-4.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/PKG-INFO new/bcrypt-4.2.1/PKG-INFO
--- old/bcrypt-4.2.0/PKG-INFO   2024-07-22 19:02:14.715872800 +0200
+++ new/bcrypt-4.2.1/PKG-INFO   2024-11-19 21:03:09.908717400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: bcrypt
-Version: 4.2.0
+Version: 4.2.1
 Summary: Modern password hashing for your software and your servers
 Author-email: The Python Cryptographic Authority developers 
<cryptography-...@python.org>
 License: Apache-2.0
@@ -17,6 +17,7 @@
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
 Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 License-File: LICENSE
@@ -44,7 +45,7 @@
 
 To install bcrypt, simply:
 
-.. code:: bash
+.. code:: console
 
     $ pip install bcrypt
 
@@ -53,19 +54,19 @@
 
 For Debian and Ubuntu, the following command will ensure that the required 
dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo apt-get install build-essential cargo
 
 For Fedora and RHEL-derivatives, the following command will ensure that the 
required dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo yum install gcc cargo
 
 For Alpine, the following command will ensure that the required dependencies 
are installed:
 
-.. code:: bash
+.. code:: console
 
     $ apk add --update musl-dev gcc cargo
 
@@ -78,6 +79,13 @@
 Changelog
 =========
 
+4.2.1
+-----
+
+* Bump Rust dependency versions - this should resolve crashes on Python 3.13
+  free-threaded builds.
+* We no longer build ``manylinux`` wheels for PyPy 3.9.
+
 4.2.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/README.rst new/bcrypt-4.2.1/README.rst
--- old/bcrypt-4.2.0/README.rst 2024-07-22 19:02:07.000000000 +0200
+++ new/bcrypt-4.2.1/README.rst 2024-11-19 21:03:02.000000000 +0100
@@ -17,7 +17,7 @@
 
 To install bcrypt, simply:
 
-.. code:: bash
+.. code:: console
 
     $ pip install bcrypt
 
@@ -26,19 +26,19 @@
 
 For Debian and Ubuntu, the following command will ensure that the required 
dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo apt-get install build-essential cargo
 
 For Fedora and RHEL-derivatives, the following command will ensure that the 
required dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo yum install gcc cargo
 
 For Alpine, the following command will ensure that the required dependencies 
are installed:
 
-.. code:: bash
+.. code:: console
 
     $ apk add --update musl-dev gcc cargo
 
@@ -51,6 +51,13 @@
 Changelog
 =========
 
+4.2.1
+-----
+
+* Bump Rust dependency versions - this should resolve crashes on Python 3.13
+  free-threaded builds.
+* We no longer build ``manylinux`` wheels for PyPy 3.9.
+
 4.2.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/pyproject.toml 
new/bcrypt-4.2.1/pyproject.toml
--- old/bcrypt-4.2.0/pyproject.toml     2024-07-22 19:02:07.000000000 +0200
+++ new/bcrypt-4.2.1/pyproject.toml     2024-11-19 21:03:02.000000000 +0100
@@ -11,7 +11,7 @@
 [project]
 name = "bcrypt"
 # When updating this, also update lib.rs
-version = "4.2.0"
+version = "4.2.1"
 authors = [
     {name = "The Python Cryptographic Authority developers", email = 
"cryptography-...@python.org"}
 ]
@@ -30,6 +30,7 @@
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
 ]
 requires-python = ">= 3.7"
 dynamic = ["readme"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/src/_bcrypt/Cargo.lock 
new/bcrypt-4.2.1/src/_bcrypt/Cargo.lock
--- old/bcrypt-4.2.0/src/_bcrypt/Cargo.lock     2024-07-22 19:02:07.000000000 
+0200
+++ new/bcrypt-4.2.1/src/_bcrypt/Cargo.lock     2024-11-19 21:03:02.000000000 
+0100
@@ -4,9 +4,9 @@
 
 [[package]]
 name = "autocfg"
-version = "1.3.0"
+version = "1.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
 
 [[package]]
 name = "base64"
@@ -16,9 +16,9 @@
 
 [[package]]
 name = "bcrypt"
-version = "0.15.1"
+version = "0.16.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "e65938ed058ef47d92cf8b346cc76ef48984572ade631927e9937b5ffc7662c7"
+checksum = "2b1866ecef4f2d06a0bb77880015fdf2b89e25a1c2e5addacb87e459c86dc67e"
 dependencies = [
  "base64",
  "blowfish",
@@ -93,9 +93,9 @@
 
 [[package]]
 name = "cpufeatures"
-version = "0.2.12"
+version = "0.2.15"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
+checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6"
 dependencies = [
  "libc",
 ]
@@ -165,9 +165,9 @@
 
 [[package]]
 name = "libc"
-version = "0.2.155"
+version = "0.2.164"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
+checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f"
 
 [[package]]
 name = "memoffset"
@@ -180,9 +180,9 @@
 
 [[package]]
 name = "once_cell"
-version = "1.19.0"
+version = "1.20.2"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
 
 [[package]]
 name = "pbkdf2"
@@ -195,24 +195,24 @@
 
 [[package]]
 name = "portable-atomic"
-version = "1.7.0"
+version = "1.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
+checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
 
 [[package]]
 name = "proc-macro2"
-version = "1.0.86"
+version = "1.0.89"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
 dependencies = [
  "unicode-ident",
 ]
 
 [[package]]
 name = "pyo3"
-version = "0.22.2"
+version = "0.23.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
+checksum = "7ebb0c0cc0de9678e53be9ccf8a2ab53045e6e3a8be03393ceccc5e7396ccb40"
 dependencies = [
  "cfg-if",
  "indoc",
@@ -228,9 +228,9 @@
 
 [[package]]
 name = "pyo3-build-config"
-version = "0.22.2"
+version = "0.23.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
+checksum = "80e3ce69c4ec34476534b490e412b871ba03a82e35604c3dfb95fcb6bfb60c09"
 dependencies = [
  "once_cell",
  "target-lexicon",
@@ -238,9 +238,9 @@
 
 [[package]]
 name = "pyo3-ffi"
-version = "0.22.2"
+version = "0.23.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
+checksum = "3b09f311c76b36dfd6dd6f7fa6f9f18e7e46a1c937110d283e80b12ba2468a75"
 dependencies = [
  "libc",
  "pyo3-build-config",
@@ -248,9 +248,9 @@
 
 [[package]]
 name = "pyo3-macros"
-version = "0.22.2"
+version = "0.23.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
+checksum = "fd4f74086536d1e1deaff99ec0387481fb3325c82e4e48be0e75ab3d3fcb487a"
 dependencies = [
  "proc-macro2",
  "pyo3-macros-backend",
@@ -260,9 +260,9 @@
 
 [[package]]
 name = "pyo3-macros-backend"
-version = "0.22.2"
+version = "0.23.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
+checksum = "9e77dfeb76b32bbf069144a5ea0a36176ab59c8db9ce28732d0f06f096bbfbc8"
 dependencies = [
  "heck",
  "proc-macro2",
@@ -273,9 +273,9 @@
 
 [[package]]
 name = "quote"
-version = "1.0.36"
+version = "1.0.37"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
+checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
 dependencies = [
  "proc-macro2",
 ]
@@ -299,9 +299,9 @@
 
 [[package]]
 name = "syn"
-version = "2.0.72"
+version = "2.0.87"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
+checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -310,9 +310,9 @@
 
 [[package]]
 name = "target-lexicon"
-version = "0.12.15"
+version = "0.12.16"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2"
+checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
 
 [[package]]
 name = "typenum"
@@ -322,9 +322,9 @@
 
 [[package]]
 name = "unicode-ident"
-version = "1.0.12"
+version = "1.0.13"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
 
 [[package]]
 name = "unindent"
@@ -334,9 +334,9 @@
 
 [[package]]
 name = "version_check"
-version = "0.9.4"
+version = "0.9.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
 
 [[package]]
 name = "wasi"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/src/_bcrypt/Cargo.toml 
new/bcrypt-4.2.1/src/_bcrypt/Cargo.toml
--- old/bcrypt-4.2.0/src/_bcrypt/Cargo.toml     2024-07-22 19:02:07.000000000 
+0200
+++ new/bcrypt-4.2.1/src/_bcrypt/Cargo.toml     2024-11-19 21:03:02.000000000 
+0100
@@ -6,8 +6,8 @@
 publish = false
 
 [dependencies]
-pyo3 = { version = "0.22", features = ["abi3"] }
-bcrypt = "0.15"
+pyo3 = { version = "0.23", features = ["abi3"] }
+bcrypt = "0.16"
 bcrypt-pbkdf = "0.10.0"
 base64 = "0.22.1"
 subtle = "2.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/src/_bcrypt/src/lib.rs 
new/bcrypt-4.2.1/src/_bcrypt/src/lib.rs
--- old/bcrypt-4.2.0/src/_bcrypt/src/lib.rs     2024-07-22 19:02:07.000000000 
+0200
+++ new/bcrypt-4.2.1/src/_bcrypt/src/lib.rs     2024-11-19 21:03:02.000000000 
+0100
@@ -16,6 +16,7 @@
 use pyo3::types::PyBytesMethods;
 use pyo3::PyTypeInfo;
 use std::convert::TryInto;
+use std::ffi::CString;
 use std::io::Write;
 use subtle::ConstantTimeEq;
 
@@ -49,7 +50,7 @@
 
     let encoded_salt = BASE64_ENGINE.encode(salt);
 
-    pyo3::types::PyBytes::new_bound_with(
+    pyo3::types::PyBytes::new_with(
         py,
         1 + prefix.len() + 1 + 2 + 1 + encoded_salt.len(),
         |mut b| {
@@ -114,7 +115,7 @@
     let hashed = py
         .allow_threads(|| bcrypt::hash_with_salt(password, cost, raw_salt))
         .map_err(|_| pyo3::exceptions::PyValueError::new_err("Invalid salt"))?;
-    Ok(pyo3::types::PyBytes::new_bound(
+    Ok(pyo3::types::PyBytes::new(
         py,
         hashed.format_for_version(version).as_bytes(),
     ))
@@ -160,15 +161,15 @@
         // They probably think bcrypt.kdf()'s rounds parameter is logarithmic,
         // expecting this value to be slow enough (it probably would be if this
         // were bcrypt). Emit a warning.
-        pyo3::PyErr::warn_bound(
+        pyo3::PyErr::warn(
             py,
-            &pyo3::exceptions::PyUserWarning::type_object_bound(py),
-            &format!("Warning: bcrypt.kdf() called with only {rounds} 
round(s). This few is not secure: the parameter is linear, like PBKDF2."),
+            &pyo3::exceptions::PyUserWarning::type_object(py),
+            &CString::new(format!("Warning: bcrypt.kdf() called with only 
{rounds} round(s). This few is not secure: the parameter is linear, like 
PBKDF2.")).unwrap(),
             3
         )?;
     }
 
-    pyo3::types::PyBytes::new_bound_with(py, desired_key_bytes, |output| {
+    pyo3::types::PyBytes::new_with(py, desired_key_bytes, |output| {
         py.allow_threads(|| {
             bcrypt_pbkdf::bcrypt_pbkdf(password, salt, rounds, 
output).unwrap();
         });
@@ -196,7 +197,7 @@
         // When updating this, also update pyproject.toml
         // This isn't named __version__ because passlib treats the existence of
         // that attribute as proof that we're a different module
-        m.add("__version_ex__", "4.2.0")?;
+        m.add("__version_ex__", "4.2.1")?;
 
         let author = "The Python Cryptographic Authority developers";
         m.add("__author__", author)?;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bcrypt-4.2.0/src/bcrypt.egg-info/PKG-INFO 
new/bcrypt-4.2.1/src/bcrypt.egg-info/PKG-INFO
--- old/bcrypt-4.2.0/src/bcrypt.egg-info/PKG-INFO       2024-07-22 
19:02:14.000000000 +0200
+++ new/bcrypt-4.2.1/src/bcrypt.egg-info/PKG-INFO       2024-11-19 
21:03:09.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: bcrypt
-Version: 4.2.0
+Version: 4.2.1
 Summary: Modern password hashing for your software and your servers
 Author-email: The Python Cryptographic Authority developers 
<cryptography-...@python.org>
 License: Apache-2.0
@@ -17,6 +17,7 @@
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
 Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 License-File: LICENSE
@@ -44,7 +45,7 @@
 
 To install bcrypt, simply:
 
-.. code:: bash
+.. code:: console
 
     $ pip install bcrypt
 
@@ -53,19 +54,19 @@
 
 For Debian and Ubuntu, the following command will ensure that the required 
dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo apt-get install build-essential cargo
 
 For Fedora and RHEL-derivatives, the following command will ensure that the 
required dependencies are installed:
 
-.. code:: bash
+.. code:: console
 
     $ sudo yum install gcc cargo
 
 For Alpine, the following command will ensure that the required dependencies 
are installed:
 
-.. code:: bash
+.. code:: console
 
     $ apk add --update musl-dev gcc cargo
 
@@ -78,6 +79,13 @@
 Changelog
 =========
 
+4.2.1
+-----
+
+* Bump Rust dependency versions - this should resolve crashes on Python 3.13
+  free-threaded builds.
+* We no longer build ``manylinux`` wheels for PyPy 3.9.
+
 4.2.0
 -----
 

++++++ vendor.tar.gz ++++++
++++ 800078 lines of diff (skipped)

Reply via email to