mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-17 09:14:04 +02:00
Remove --use-pep517 from pip install and change Python version in devcontainer (#963)
* Remove --use-pep517 from pip install * Update Python version of devcontainer
This commit is contained in:
parent
2f31b42cb2
commit
a388656448
2 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "basnijholt/adaptive_lighting",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.12",
|
||||
"postCreateCommand": "scripts/setup-devcontainer",
|
||||
"forwardPorts": [
|
||||
8123
|
||||
|
|
|
|||
|
|
@ -2,15 +2,15 @@
|
|||
set -ex
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
pip install -r core/requirements.txt --use-pep517
|
||||
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`
|
||||
# however it is removed from PyPI, so we cannot install it
|
||||
sed -i '/codecov/d' core/requirements_test.txt
|
||||
fi
|
||||
pip install -r core/requirements_test.txt --use-pep517
|
||||
pip install -r core/requirements_test.txt
|
||||
|
||||
pip install -e core/ --use-pep517
|
||||
pip install -e core/
|
||||
pip install ulid-transform # this is in Adaptive-lighting's manifest.json
|
||||
pip install $(python test_dependencies.py) --use-pep517
|
||||
pip install $(python test_dependencies.py)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue