Skip to content

Commit

Permalink
Update build system (home-assistant#95237)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Jun 26, 2023
1 parent 1525901 commit f5975d4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -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/"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

0 comments on commit f5975d4

Please sign in to comment.