-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Switch to UV from PDM #40
Conversation
.github/workflows/llm_checks.yml
Outdated
- name: Set up Python | ||
uses: pdm-project/setup-pdm@v3 | ||
with: | ||
python-version: '3.10' | ||
cache: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
.github/workflows/llm_checks.yml
Outdated
pdm install | ||
uv python install 3.10 | ||
uv venv | ||
uv pip install -r pyproject.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we install from the locked versions instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe? Let me see if that's possible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing a way to install from the lock file instead of the toml.
docs here: https://docs.astral.sh/uv/pip/packages/#installing-packages-from-files
local-dev.sh
Outdated
pdm install | ||
pdm run pytest -sxvvra | ||
python -m pip install uv | ||
uv pip install -r pyproject.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
scripts/refresh_project.sh
Outdated
pdm install -v | ||
pip install uv | ||
uv venv | ||
uv pip install -r pyproject.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
llm-service/Dockerfile
Outdated
WORKDIR /app | ||
RUN pdm install | ||
RUN uv install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other places used uv pip install -r pyproject.toml
. Why is this different? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that seems right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be uv sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
No description provided.