-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationquestionAsking for clarification or supportAsking for clarification or supportvirtualenvRelated to virtual environmentsRelated to virtual environments
Description
Having trouble converting our pre-existing CI workflows / scripts to use uv, as you can see here. Problem relates to the virtual environments which don't seem to be retained between workflow steps.
This is maybe the easiest illustration of that:
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Set up Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.10'
- name: Install current package as editable
run: |
pip install uv
uv venv
uv pip install darglint
- name: Check docstrings
run: bash scripts/docstring.shOne step installs it, and then the next step runs a script which in turn attempts to use the package, but it fails because the CI can't be found.
I don't see any docs yet, so wondering how best to handle this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationquestionAsking for clarification or supportAsking for clarification or supportvirtualenvRelated to virtual environmentsRelated to virtual environments