Skip to content

Commit

Permalink
Sync with main
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Sep 17, 2024
2 parents 2692565 + 7716291 commit 614dd14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: nbconvert
package_spec: pip install -e ".[test]"
package_spec: -e ".[test]"

jupyter_server:
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
fail_under: 78

docs:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
Expand All @@ -86,8 +86,9 @@ jobs:
# If this fails run `hatch run docs:api` locally
# and commit.
git status --porcelain
git status -s | grep "A" && exit 1
git status -s | grep "M" && exit 1
if git status -s | grep "^\s*[AM]"; then
exit 1
fi
echo "API docs done"
- run: hatch run docs:build

Expand Down
4 changes: 2 additions & 2 deletions jupyter_client/jsonutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from datetime import datetime
from typing import Any, Optional, Union

from dateutil.parser import parse as _dateutil_parse
from dateutil.parser import isoparse as _dateutil_parse
from dateutil.tz import tzlocal

next_attr_name = "__next__" # Not sure what downstream library uses this, but left it to be safe
Expand All @@ -28,7 +28,7 @@

# holy crap, strptime is not threadsafe.
# Calling it once at import seems to help.
datetime.strptime("1", "%d") # noqa
datetime.strptime("2000-01-01", "%Y-%m-%d") # noqa

# -----------------------------------------------------------------------------
# Classes and functions
Expand Down

0 comments on commit 614dd14

Please sign in to comment.