Skip to content

Commit

Permalink
min version 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 17, 2024
1 parent eab9ba8 commit fd5664a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.12"]
python-version: ["3.9", "3.12"]
include:
- os: windows-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "pypy-3.8"
python-version: "pypy-3.9"
- os: ubuntu-latest
python-version: "3.10"
- os: macos-latest
Expand Down
4 changes: 2 additions & 2 deletions jupyter_events/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import json
from pathlib import Path, PurePath
from typing import Any, Dict, Union
from typing import Any, Union

from jsonschema import FormatChecker, validators
from referencing import Registry
Expand All @@ -30,7 +30,7 @@ class EventSchemaFileAbsent(Exception):
"""An error for an absent event schema file."""


SchemaType = Union[Dict[str, Any], str, PurePath]
SchemaType = Union[dict[str, Any], str, PurePath]


class EventSchema:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "jupyter-events"
description = "Jupyter Event System library"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{ name = "Jupyter Development Team", email = "[email protected]" },
]
Expand Down Expand Up @@ -150,7 +150,7 @@ source = ["jupyter_events"]

[tool.mypy]
files = "jupyter_events"
python_version = "3.8"
python_version = "3.9"
strict = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
Expand Down

0 comments on commit fd5664a

Please sign in to comment.