mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-19 07:35:19 +00:00
Don't update uv.lock in copilot runtime environment (#4915)
This commit is contained in:
@@ -9,8 +9,8 @@ Your environment has all extra dependencies and groups installed, on Python 3.13
|
||||
and for any scripts or tools you need to run.
|
||||
|
||||
Some example commands on `uv`:
|
||||
- `uv sync --all-extras --all-groups` to install all dependencies and groups required by the project.
|
||||
- `uv run -p 3.14 --all-groups --all-extras tests/` to run tests on a specific Python version. Please use the `-p` flag often.
|
||||
- `uv sync --all-extras --all-groups --locked` to install all dependencies and groups required by the project.
|
||||
- `uv run -p 3.14 --all-groups --all-extras --locked tests/` to run tests on a specific Python version. Please use the `-p` flag often.
|
||||
- `uv pip install <package>` to install a package in the current environment.
|
||||
|
||||
If uv is somehow not available, you can install it using `pip install uv`.
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
python-version: 3.13
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --all-extras --all-groups
|
||||
run: uv sync --all-extras --all-groups --locked
|
||||
|
||||
- name: Install linting dependencies
|
||||
# Make sure the pinned versions here match the ones in .pre-commit-config.yaml
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
internal = "Don't update ``uv.lock`` in copilot runtime environment"
|
||||
[[pull_requests]]
|
||||
uid = "4915"
|
||||
author_uid = "harshil21"
|
||||
closes_threads = []
|
||||
Reference in New Issue
Block a user