mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2024-10-29 19:47:00 +00:00
Fix installing package deps when skipdist is true
This commit is contained in:
parent
78efd82c82
commit
c9f1f41163
@ -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
|
# 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
|
# 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)
|
_install_package_dependencies(venv, poetry)
|
||||||
else:
|
else:
|
||||||
reporter.verbosity1(
|
if venv.envconfig.skip_install:
|
||||||
f"{_REPORTER_PREFIX} env specifies 'skip_install = true', skipping installation of project package"
|
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"
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user