Update build system (#95237)

This commit is contained in:
Marc Mueller 2023-06-26 19:03:56 +02:00 committed by GitHub
parent 1525901ffc
commit f5975d4039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 12 deletions

View File

@ -492,10 +492,10 @@ jobs:
python -m venv venv
. venv/bin/activate
python --version
pip install --cache-dir=$PIP_CACHE -U "pip>=21.0,<23.2" setuptools wheel
pip install --cache-dir=$PIP_CACHE -U "pip>=21.3.1,<23.2" setuptools wheel
pip install --cache-dir=$PIP_CACHE -r requirements_all.txt
pip install --cache-dir=$PIP_CACHE -r requirements_test.txt
pip install -e .
pip install .
hassfest:
name: Check hassfest

View File

@ -33,7 +33,7 @@ mutagen==1.46.0
orjson==3.9.1
paho-mqtt==1.6.1
Pillow==9.5.0
pip>=21.0,<23.2
pip>=21.3.1,<23.2
psutil-home-assistant==0.0.1
PyJWT==2.7.0
PyNaCl==1.5.0

View File

@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools~=62.3", "wheel~=0.37.1"]
requires = ["setuptools~=68.0", "wheel~=0.40.0"]
build-backend = "setuptools.build_meta"
[project]
@ -19,6 +19,7 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Home Automation",
]
requires-python = ">=3.10.0"
@ -45,7 +46,7 @@ dependencies = [
# pyOpenSSL 23.2.0 is required to work with cryptography 41+
"pyOpenSSL==23.2.0",
"orjson==3.9.1",
"pip>=21.0,<23.2",
"pip>=21.3.1,<23.2",
"python-slugify==4.0.1",
"PyYAML==6.0",
"requests==2.31.0",
@ -57,6 +58,7 @@ dependencies = [
]
[project.urls]
"Homepage" = "https://www.home-assistant.io/"
"Source Code" = "https://github.com/home-assistant/core"
"Bug Reports" = "https://github.com/home-assistant/core/issues"
"Docs: Dev" = "https://developers.home-assistant.io/"

View File

@ -19,7 +19,7 @@ PyJWT==2.7.0
cryptography==41.0.1
pyOpenSSL==23.2.0
orjson==3.9.1
pip>=21.0,<23.2
pip>=21.3.1,<23.2
python-slugify==4.0.1
PyYAML==6.0
requests==2.31.0

View File

@ -24,7 +24,7 @@ fi
script/bootstrap
pre-commit install
python3 -m pip install -e . --constraint homeassistant/package_constraints.txt
python3 -m pip install -e . --config-settings editable_mode=compat --constraint homeassistant/package_constraints.txt
python3 -m script.translations develop --all
hass --script ensure_config -c config

View File

@ -1,5 +0,0 @@
# Setuptools v62.3 doesn't support editable installs with just 'pyproject.toml' (PEP 660).
# Keep this file until it does!
[metadata]
url = https://www.home-assistant.io/