mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +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"]
|
||||
strategy = ["cross_platform", "inherit_metadata"]
|
||||
lock_version = "4.4.2"
|
||||
content_hash = "sha256:8400c0a688063dce308afa6d2db8500688953be4199c186f592c9f0ca84ad1f9"
|
||||
content_hash = "sha256:94d398adc70609c1254f79f19c1b8ee5feb0adfc6c38b58415f7f506b94e8782"
|
||||
|
||||
[[package]]
|
||||
name = "annotated-types"
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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])
|
||||
|
|
3
pdm.lock
3
pdm.lock
|
@ -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]]
|
||||
|
|
Loading…
Reference in a new issue