Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:badshah400:lapack2023
python-ipykernel
py313-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File py313-warning.patch of Package python-ipykernel
From b47db6f082ea61e9688b4eca4e92529c1e0e6c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> Date: Mon, 1 Jul 2024 15:37:07 +0200 Subject: [PATCH] Avoid a DeprecationWarning on Python 3.13+ (#1248) --- ipykernel/jsonutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipykernel/jsonutil.py b/ipykernel/jsonutil.py index 6a463cf1..e45f06e5 100644 --- a/ipykernel/jsonutil.py +++ b/ipykernel/jsonutil.py @@ -26,7 +26,7 @@ # holy crap, strptime is not threadsafe. # Calling it once at import seems to help. -datetime.strptime("1", "%d") +datetime.strptime("2000-01-01", "%Y-%m-%d") # ----------------------------------------------------------------------------- # Classes and functions
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor