mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-10 06:04:28 +00:00
python 3.10 compat & update lockfiles
This commit is contained in:
parent
de30f83edd
commit
1de70a1aae
4 changed files with 10 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
groups = ["default", "dev"]
|
groups = ["default", "dev"]
|
||||||
strategy = ["cross_platform", "inherit_metadata"]
|
strategy = ["cross_platform", "inherit_metadata"]
|
||||||
lock_version = "4.4.2"
|
lock_version = "4.4.2"
|
||||||
content_hash = "sha256:8400c0a688063dce308afa6d2db8500688953be4199c186f592c9f0ca84ad1f9"
|
content_hash = "sha256:94d398adc70609c1254f79f19c1b8ee5feb0adfc6c38b58415f7f506b94e8782"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "annotated-types"
|
name = "annotated-types"
|
||||||
|
|
|
@ -21,6 +21,7 @@ dependencies = [
|
||||||
"dask>=2023.9.2",
|
"dask>=2023.9.2",
|
||||||
"blosc2>=2.2.7",
|
"blosc2>=2.2.7",
|
||||||
"tqdm>=4.66.1",
|
"tqdm>=4.66.1",
|
||||||
|
'typing-extensions>=4.12.2;python_version<"3.11"',
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|
|
@ -12,10 +12,10 @@ from typing import (
|
||||||
Tuple,
|
Tuple,
|
||||||
Type,
|
Type,
|
||||||
TypeVar,
|
TypeVar,
|
||||||
TypeVarTuple,
|
|
||||||
Union,
|
Union,
|
||||||
Unpack,
|
Unpack,
|
||||||
)
|
)
|
||||||
|
import sys
|
||||||
|
|
||||||
from linkml_runtime.linkml_model import (
|
from linkml_runtime.linkml_model import (
|
||||||
ClassDefinition,
|
ClassDefinition,
|
||||||
|
@ -28,6 +28,11 @@ from pydantic import BaseModel
|
||||||
|
|
||||||
from nwb_schema_language import Attribute, Dataset, Group, Schema
|
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)
|
T = TypeVar("T", Dataset, Attribute, Schema, Group, BaseModel)
|
||||||
Ts = TypeVarTuple("Ts")
|
Ts = TypeVarTuple("Ts")
|
||||||
Td = TypeVar("Td", bound=Union[Definition, SchemaDefinition, TypeDefinition])
|
Td = TypeVar("Td", bound=Union[Definition, SchemaDefinition, TypeDefinition])
|
||||||
|
|
3
pdm.lock
3
pdm.lock
|
@ -1466,7 +1466,7 @@ files = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nwb-linkml"
|
name = "nwb-linkml"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
requires_python = "<3.13,>=3.10"
|
requires_python = "<3.13,>=3.10"
|
||||||
editable = true
|
editable = true
|
||||||
path = "./nwb_linkml"
|
path = "./nwb_linkml"
|
||||||
|
@ -1485,6 +1485,7 @@ dependencies = [
|
||||||
"pyyaml>=6.0",
|
"pyyaml>=6.0",
|
||||||
"rich>=13.5.2",
|
"rich>=13.5.2",
|
||||||
"tqdm>=4.66.1",
|
"tqdm>=4.66.1",
|
||||||
|
"typing-extensions>=4.12.2; python_version < \"3.11\"",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
Loading…
Reference in a new issue