feature: allow local runs on windows/macOS (#974)
* feature: allow local runs on windows/macOS Cache python installations to a user cache folder using platformdirs. The build environment is now a virtual environment to allow proper isolation. Allows to run tests in parallel. Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Joe Rickerby
parent
81243337fd
commit
ab13f7a9de
+2
-1
@@ -56,11 +56,12 @@ def update_constraints(session: nox.Session) -> None:
|
||||
@nox.session
|
||||
def update_pins(session: nox.Session) -> None:
|
||||
"""
|
||||
Update the python and docker pins version inplace.
|
||||
Update the python, docker and virtualenv pins version inplace.
|
||||
"""
|
||||
session.install("-e", ".[bin]")
|
||||
session.run("python", "bin/update_pythons.py", "--force")
|
||||
session.run("python", "bin/update_docker.py")
|
||||
session.run("python", "bin/update_virtualenv.py", "--force")
|
||||
|
||||
|
||||
@nox.session
|
||||
|
||||
Reference in New Issue
Block a user