Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flb/passing instances dlite0.5.24 #331

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions oteapi_dlite/strategies/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def get(self) -> DLiteResult:

for inst, output_config in zip(outputs, config.outputs):
coll.add(output_config.label, inst)
inst._incref()

update_collection(coll)
return DLiteResult(collection_id=coll.uuid)
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ dynamic = ["version"]

dependencies = [
# Core dependencies
#"DLite-Python>=0.4.5,<1",
"DLite-Python>=0.4.5,<0.5.24",
"numpy>=1.21,<3",
"DLite-Python>=0.4.5,<0.5.28",
"numpy>=1.21,<2", # To increase to numpy2 with tripper=0.3.5
# The reason for this is that pint is not updated to numpy2
# but also does not specify that it depends numpy1
"oteapi-core>=0.7.0.dev3,<1",
"pydantic>=2.1,<3",
"pydantic-settings>=2.0,<3",
"typing-extensions>=4.8,<5; python_version<'3.10'",
"Pillow>=9.0.1,<12",
"tripper>=0.3.4, <0.3.5",
#"tripper[mappings] @ git+https://github.com/EMMC-ASBL/tripper@master",
]

[project.optional-dependencies]
Expand Down
Loading