mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
Update .devcontainer
This commit is contained in:
parent
7c422f6a3a
commit
b4078b72db
4 changed files with 23 additions and 21 deletions
|
|
@ -2,7 +2,11 @@
|
|||
set -ex
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
pip install -r core/requirements.txt
|
||||
pip install uv
|
||||
uv venv
|
||||
source .venv/bin/activate
|
||||
|
||||
uv pip install -r core/requirements.txt
|
||||
|
||||
if grep -q 'codecov' core/requirements_test.txt; then
|
||||
# Older HA versions still have `codecov` in `requirements_test.txt`
|
||||
|
|
@ -14,8 +18,8 @@ if grep -q 'mypy-dev==1.10.0a3' core/requirements_test.txt; then
|
|||
# mypy-dev==1.10.0a3 seems to not be available anymore, HA 2024.4 and 2024.5 are affected
|
||||
sed -i 's/mypy-dev==1.10.0a3/mypy-dev==1.10.0b1/' core/requirements_test.txt
|
||||
fi
|
||||
pip install -r core/requirements_test.txt
|
||||
uv pip install -r core/requirements_test.txt
|
||||
|
||||
pip install -e core/
|
||||
pip install ulid-transform # this is in Adaptive-lighting's manifest.json
|
||||
pip install $(python test_dependencies.py)
|
||||
uv pip install -e core/
|
||||
uv pip install ulid-transform # this is in Adaptive-lighting's manifest.json
|
||||
uv pip install $(python test_dependencies.py)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue