Fix deps resolution.

This commit is contained in:
Sleepy Monax 2023-02-02 16:24:24 +01:00
parent 3dbcf7b9cc
commit 51f4f2ebd0
2 changed files with 2 additions and 3 deletions

View file

@ -138,7 +138,7 @@ def resolveDeps(componentSpec: str, components: list[ComponentManifest], target:
enabled, resolved = resolveInner(componentSpec)
return enabled, resolved[1:]
return enabled, resolved
def instanciate(componentSpec: str, components: list[ComponentManifest], target: TargetManifest) -> ComponentInstance | None:
@ -150,7 +150,7 @@ def instanciate(componentSpec: str, components: list[ComponentManifest], target:
if not enabled:
return None
return ComponentInstance(target, manifest, sources, resolved)
return ComponentInstance(target, manifest, sources, resolved[:-1])
def contextFor(targetSpec: str, props: Props) -> Context:

View file

@ -12,7 +12,6 @@ setup(
packages=["osdk"],
install_requires=[
"requests",
"graphviz",
],
entry_points={
"console_scripts": [