We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If python-version is defined, setup-uv currently auto-activates a venv under .venv in the repository/workspace root.
python-version
setup-uv
.venv
Problems with this behavior:
working-directory
Other considerations:
pyproject-file
VIRTUAL_ENV
.python-version
with python-version
--system-site-packages
activate-environment
activate-environment: true
pyproject.toml
Optional: We always install the target python version (determined by python-version, pyproject.toml or .python-version).
Open question: What to do about --system-site-packages?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
If
python-version
is defined,setup-uv
currently auto-activates a venv under.venv
in the repository/workspace root.Problems with this behavior:
working-directory
in action configuration #271Other considerations:
pyproject-file
input?VIRTUAL_ENV
is set to wrong directory when usingpyproject-file
config #251.python-version
file: Support .python-version files as input towith python-version
#211--system-site-packages
: Flag for--system-site-packages
when initializing venv #260Solutions
Solution 1
activate-environment
working-directory
which defaults to ${{ github.workspace }}. Ifactivate-environment: true
it will activate the venv in this placepyproject.toml
and.python-version
inworking-directory
Optional: We always install the target python version (determined by
python-version
, pyproject.toml or .python-version).Open question: What to do about --system-site-packages?
The text was updated successfully, but these errors were encountered: