Fix deps resolution.
This commit is contained in:
		
							parent
							
								
									3dbcf7b9cc
								
							
						
					
					
						commit
						51f4f2ebd0
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -12,7 +12,6 @@ setup(
 | 
			
		|||
    packages=["osdk"],
 | 
			
		||||
    install_requires=[
 | 
			
		||||
        "requests",
 | 
			
		||||
        "graphviz",
 | 
			
		||||
    ],
 | 
			
		||||
    entry_points={
 | 
			
		||||
        "console_scripts": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue