diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker/run-ptest b/meta-python/recipes-extended/python3-portalocker/python3-portalocker/run-ptest
index 8d2017d39c..dc3c910109 100644
--- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker/run-ptest
+++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker/run-ptest
@@ -1,3 +1,4 @@
 #!/bin/sh
 
-pytest --automake
+# reads portalocker/__init__.py from the source tree, which is not installed
+pytest --automake --deselect portalocker_tests/test_optional_redis.py::test_redislock_stub_import_and_raise_in_process
diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_4.4.2.bb
similarity index 63%
rename from meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb
rename to meta-python/recipes-extended/python3-portalocker/python3-portalocker_4.4.2.bb
index 1d70b586c7..e528ec1541 100644
--- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb
+++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_4.4.2.bb
@@ -4,11 +4,11 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c"
 
-SRC_URI[sha256sum] = "1f3002956a54a8c3730586c5c77bf18fae4149e07eaf1c29fc3faf4d5a3f89ac"
+SRC_URI[sha256sum] = "7ac85bb2aa3c7873bf2ac72586fc6154afa4671ac786994a16617a6b7ccb3e5e"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_uv_build ptest
 
 SRC_URI += " \
 	file://run-ptest \
@@ -18,6 +18,7 @@ RDEPENDS:${PN}-ptest += " \
 	python3-multiprocessing \
 	python3-pytest \
 	python3-redis \
+	python3-typing-extensions \
 	python3-unittest-automake-output \
 	redis \
 "
@@ -26,6 +27,10 @@ do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/portalocker_tests
 	cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/portalocker_tests/
 	rm -rf ${D}${PTEST_PATH}/portalocker_tests/test_combined.py
+	# the redis lock tests need fakeredis, which isn't packaged
+	rm -f ${D}${PTEST_PATH}/portalocker_tests/test_redis.py ${D}${PTEST_PATH}/portalocker_tests/test_redis_random_sleep.py
+	# test_readme.py runs the examples from README.md
+	install -m 0644 ${S}/README.md ${D}${PTEST_PATH}/
 }
 
 RDEPENDS:${PN} += " \
