You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like @jgraham's attempt to fix everything for Python 3.12 broke this:
Traceback (most recent call last):
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/wpt.py", line 7, in <module>
exec(compile(open("wpt", "r").read(), "wpt", 'exec'))
File "wpt", line 10, in <module>
wpt.main()
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wpt/wpt.py", line 233, in main
rv = script(*args, **kwargs)
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/serve/serve.py", line 1208, in run
with build_config(logger,
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/config.py", line 256, in __enter__
data[key] = getattr(self, prefix + key)(data)
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/config.py", line 334, in _get_ssl_config
key_path, cert_path = self._ssl_env.host_cert_path(data["domains_set"])
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/sslutils/openssl.py", line 367, in host_cert_path
key_cert = self._load_host_cert(hosts)
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/sslutils/openssl.py", line 384, in _load_host_cert
if self.check_key_cert(key_path, cert_path, hosts):
File "/Volumes/gsnedders/projects/Safari/OS2/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/sslutils/openssl.py", line 319, in check_key_cert
if end_date < datetime.now(timezone.utc) + time_buffer:
TypeError: can't compare offset-naive and offset-aware datetimes
The text was updated successfully, but these errors were encountered:
It seems like @jgraham's attempt to fix everything for Python 3.12 broke this:
The text was updated successfully, but these errors were encountered: