python3Packages.nodriver: fix non-utf-8 source byte for python 3.14 (#518690)

This commit is contained in:
Sandro
2026-05-11 12:34:01 +00:00
committed by GitHub
2 changed files with 16 additions and 0 deletions
@@ -18,6 +18,11 @@ buildPythonPackage rec {
hash = "sha256-SsjNiLavEzwm3BV/t49asXRipZtKDaMwTjrxK75LQ0M=";
};
patches = [
# https://github.com/ultrafunkamsterdam/nodriver/pull/36
./python-3.14-network-py-encoding.patch
];
dependencies = [
deprecated
mss
@@ -0,0 +1,11 @@
--- a/nodriver/cdp/network.py
+++ b/nodriver/cdp/network.py
@@ -1362,7 +1362,7 @@
#: Cookie expiration date as the number of seconds since the UNIX epoch.
#: The value is set to -1 if the expiry date is not set.
#: The value can be null for values that cannot be represented in
- #: JSON (±Inf).
+ #: JSON (±Inf).
expires: typing.Optional[float] = None
#: Cookie SameSite type.