python 3.10 compat & update lockfiles

This commit is contained in:
sneakers-the-rat 2024-07-02 00:10:28 -07:00
parent de30f83edd
commit 1de70a1aae
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
4 changed files with 10 additions and 3 deletions

View file

@ -5,7 +5,7 @@
groups = ["default", "dev"]
strategy = ["cross_platform", "inherit_metadata"]
lock_version = "4.4.2"
content_hash = "sha256:8400c0a688063dce308afa6d2db8500688953be4199c186f592c9f0ca84ad1f9"
content_hash = "sha256:94d398adc70609c1254f79f19c1b8ee5feb0adfc6c38b58415f7f506b94e8782"
[[package]]
name = "annotated-types"

View file

@ -21,6 +21,7 @@ dependencies = [
"dask>=2023.9.2",
"blosc2>=2.2.7",
"tqdm>=4.66.1",
'typing-extensions>=4.12.2;python_version<"3.11"',
]
[project.urls]

View file

@ -12,10 +12,10 @@ from typing import (
Tuple,
Type,
TypeVar,
TypeVarTuple,
Union,
Unpack,
)
import sys
from linkml_runtime.linkml_model import (
ClassDefinition,
@ -28,6 +28,11 @@ from pydantic import BaseModel
from nwb_schema_language import Attribute, Dataset, Group, Schema
if sys.version_info.minor >= 11:
from typing import TypeVarTuple
else:
from typing_extensions import TypeVarTuple
T = TypeVar("T", Dataset, Attribute, Schema, Group, BaseModel)
Ts = TypeVarTuple("Ts")
Td = TypeVar("Td", bound=Union[Definition, SchemaDefinition, TypeDefinition])

View file

@ -1466,7 +1466,7 @@ files = [
[[package]]
name = "nwb-linkml"
version = "0.1.0"
version = "0.2.0"
requires_python = "<3.13,>=3.10"
editable = true
path = "./nwb_linkml"
@ -1485,6 +1485,7 @@ dependencies = [
"pyyaml>=6.0",
"rich>=13.5.2",
"tqdm>=4.66.1",
"typing-extensions>=4.12.2; python_version < \"3.11\"",
]
[[package]]