mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-03 07:39:20 +00:00 
			
		
		
		
	Fix installing package deps when skipdist is true
This commit is contained in:
		@@ -276,9 +276,14 @@ def tox_testenv_install_deps(venv: ToxVirtualEnv, action: ToxAction):
 | 
			
		||||
 | 
			
		||||
    # Handle the installation of the package dependencies from the lockfile if the package is
 | 
			
		||||
    # being installed to this venv; otherwise skip installing the package dependencies
 | 
			
		||||
    if not venv.envconfig.skip_install:
 | 
			
		||||
    if not venv.envconfig.skip_install and not venv.envconfig.config.skipsdist:
 | 
			
		||||
        _install_package_dependencies(venv, poetry)
 | 
			
		||||
    else:
 | 
			
		||||
        reporter.verbosity1(
 | 
			
		||||
            f"{_REPORTER_PREFIX} env specifies 'skip_install = true', skipping installation of project package"
 | 
			
		||||
        )
 | 
			
		||||
        if venv.envconfig.skip_install:
 | 
			
		||||
            reporter.verbosity1(
 | 
			
		||||
                f"{_REPORTER_PREFIX} env specifies 'skip_install = true', skipping installation of project package"
 | 
			
		||||
            )
 | 
			
		||||
        elif venv.envconfig.config.skipsdist:
 | 
			
		||||
            reporter.verbosity1(
 | 
			
		||||
                f"{_REPORTER_PREFIX} config specifies 'skipsdist = true', skipping installation of project package"
 | 
			
		||||
            )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user