diff --git a/_service b/_service
index 86f45a1..77f1ccb 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
https://github.com/pyca/bcrypt/
@PARENT_TAG@~@TAG_OFFSET@
git
- 4.1.3
+ 4.2.0
bcrypt/src/_bcrypt
diff --git a/bcrypt-4.1.3.tar.gz b/bcrypt-4.1.3.tar.gz
deleted file mode 100644
index 370a71e..0000000
--- a/bcrypt-4.1.3.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623
-size 26456
diff --git a/bcrypt-4.2.0.tar.gz b/bcrypt-4.2.0.tar.gz
new file mode 100644
index 0000000..020dd3b
--- /dev/null
+++ b/bcrypt-4.2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cf69eaf5185fd58f268f805b505ce31f9b9fc2d64b376642164e9244540c1221
+size 24294
diff --git a/python-bcrypt.changes b/python-bcrypt.changes
index 80d7510..68ec990 100644
--- a/python-bcrypt.changes
+++ b/python-bcrypt.changes
@@ -1,3 +1,53 @@
+-------------------------------------------------------------------
+Tue Jul 23 13:17:30 UTC 2024 - John Paul Adrian Glaubitz
+
+- Update to 4.2.0
+ * Bump version for 4.2.0 release (#843)
+ * Import improvements from cryptography wheel building and release (#840)
+ * Remove setup.py (#842)
+ * Small cleanup (#841)
+ * Added 3.13 to CI (#839)
+ * Bump portable-atomic from 1.6.0 to 1.7.0 in /src/_bcrypt (#836)
+ * Bump syn from 2.0.71 to 2.0.72 in /src/_bcrypt (#837)
+ * Bump pyo3 from 0.22.1 to 0.22.2 in /src/_bcrypt (#834)
+ * Bump syn from 2.0.70 to 2.0.71 in /src/_bcrypt (#833)
+ * Bump actions/setup-python from 5.1.0 to 5.1.1 (#832)
+ * Bump syn from 2.0.69 to 2.0.70 in /src/_bcrypt (#831)
+ * Bump target-lexicon from 0.12.14 to 0.12.15 in /src/_bcrypt (#830)
+ * Don't import things from prelude (#829)
+ * Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#824)
+ * Bump actions/download-artifact from 4.1.7 to 4.1.8 (#825)
+ * Bump syn from 2.0.68 to 2.0.69 in /src/_bcrypt (#827)
+ * Bump pyo3 from 0.22.0 to 0.22.1 in /src/_bcrypt (#828)
+ * Update for new ruff syntax (#826)
+ * Switch to using the new pyo3 syntax for declarative modules (#823)
+ * Bump pyo3 to 0.22 (#822)
+ * Bump bitflags from 2.5.0 to 2.6.0 in /src/_bcrypt (#821)
+ * Bump syn from 2.0.67 to 2.0.68 in /src/_bcrypt (#818)
+ * Bump syn from 2.0.66 to 2.0.67 in /src/_bcrypt (#817)
+ * Bump proc-macro2 from 1.0.85 to 1.0.86 in /src/_bcrypt (#816)
+ * Bump subtle from 2.5.0 to 2.6.0 in /src/_bcrypt (#814)
+ * Bump redox_syscall from 0.5.1 to 0.5.2 in /src/_bcrypt (#813)
+ * Bump actions/checkout from 4.1.6 to 4.1.7 (#812)
+ * Bump proc-macro2 from 1.0.84 to 1.0.85 in /src/_bcrypt (#811)
+ * Bump proc-macro2 from 1.0.83 to 1.0.84 in /src/_bcrypt (#808)
+ * Bump zeroize from 1.7.0 to 1.8.1 in /src/_bcrypt (#809)
+ * Bump parking_lot from 0.12.2 to 0.12.3 in /src/_bcrypt (#810)
+ * Bump syn from 2.0.65 to 2.0.66 in /src/_bcrypt (#806)
+ * alpine is 3.12 now (#807)
+ * Bump proc-macro2 from 1.0.82 to 1.0.83 in /src/_bcrypt (#804)
+ * Bump syn from 2.0.64 to 2.0.65 in /src/_bcrypt (#803)
+ * Bump libc from 0.2.154 to 0.2.155 in /src/_bcrypt (#802)
+ * Bump actions/checkout from 4.1.5 to 4.1.6 (#800)
+ * Apply the wacky staticnode workaround to this repo (#801)
+ * Bump syn from 2.0.63 to 2.0.64 in /src/_bcrypt (#799)
+ * Bump syn from 2.0.61 to 2.0.63 in /src/_bcrypt (#798)
+ * Try upgrading ubuntu in CI (#797)
+ * Bump proc-macro2 from 1.0.81 to 1.0.82 in /src/_bcrypt (#796)
+ * Bump syn from 2.0.60 to 2.0.61 in /src/_bcrypt (#795)
+ * Bump getrandom from 0.2.14 to 0.2.15 in /src/_bcrypt (#794)
+ * Bump actions/checkout from 3.6.0 to 4.1.5 (#793)
+
-------------------------------------------------------------------
Tue May 7 16:22:09 UTC 2024 - Dirk Müller
diff --git a/python-bcrypt.spec b/python-bcrypt.spec
index e6c6436..271c3ef 100644
--- a/python-bcrypt.spec
+++ b/python-bcrypt.spec
@@ -20,7 +20,7 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%{?sle15_python_module_pythons}
Name: python-bcrypt
-Version: 4.1.3
+Version: 4.2.0
Release: 0
Summary: BSD type 2a and 2b password hashing
License: Apache-2.0
@@ -30,7 +30,7 @@ Source0: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%
Source1: vendor.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.2.1}
-BuildRequires: %{python_module setuptools-rust}
+BuildRequires: %{python_module setuptools-rust >= 1.7.0}
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
diff --git a/vendor.tar.gz b/vendor.tar.gz
index 71eed57..f5410ac 100644
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c5ac446438216f833f22a335e503f4b0c1e5e9ff557a4fc042f3d158cdb72783
-size 8570562
+oid sha256:87091e3e39e2103bc214264ece25eb10caf267af8ecadccd6ff3de183cceefca
+size 2600259