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
Simple reproduction: Run python -X dev -c "import nbclient" and see the following printed:
C:\venv\Lib\site-packages\nbclient\jsonutil.py:29: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
datetime.strptime("1", "%d")
Looking at the code, the actual date being parsed in the line datetime.strptime("1", "%d") doesn't seem to matter, so the fix is probably as simple as replacing "1" with a real date.
Simple reproduction: Run
python -X dev -c "import nbclient"
and see the following printed:Looking at the code, the actual date being parsed in the line
datetime.strptime("1", "%d")
doesn't seem to matter, so the fix is probably as simple as replacing"1"
with a real date.See jupyter/jupyter_client#1027 for the equivalent issue and fix in jupyter_client.
The text was updated successfully, but these errors were encountered: