python3Packages.nodriver: fix non-utf-8 source byte for python 3.14 (#518690)
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user