|
@@ -38,7 +38,7 @@ description: |
|
|
|
|
|
|
Please use https://www.home-assistant.io/docs/ for documentation and https://community.home-assistant.io for help.
|
|
|
|
|
|
- **Necessary plugs**
|
|
|
+ **Necessary plugs**z2m-2-zui
|
|
|
|
|
|
See `snap connections home-assistant-snap` for necessary plugs (such as access to USB, removable media etc) and connect them with
|
|
|
|
|
@@ -172,7 +172,7 @@ parts:
|
|
|
source: https://github.com/home-assistant/core.git
|
|
|
source-tag: ${SNAPCRAFT_PROJECT_VERSION}
|
|
|
build-environment:
|
|
|
- - SNAPCRAFT_PYTHON_INTERPRETER: python3.10
|
|
|
+ - SNAPCRAFT_PYTHON_INTERPRETER: python3.11
|
|
|
python-packages:
|
|
|
- setuptools #<58
|
|
|
- wheel
|
|
@@ -205,7 +205,7 @@ parts:
|
|
|
- libxml2-dev
|
|
|
- libxslt1-dev
|
|
|
- pkg-config
|
|
|
- - python3.10-dev
|
|
|
+ - python3.11-dev
|
|
|
- zlib1g-dev
|
|
|
# - on arm64:
|
|
|
# - cargo
|
|
@@ -230,12 +230,12 @@ parts:
|
|
|
- netbase
|
|
|
- tcpdump
|
|
|
- zlib1g
|
|
|
- - python3.10-venv
|
|
|
+ - python3.11-venv
|
|
|
- nmap
|
|
|
stage:
|
|
|
- - -lib/python3.10/site-packages/homeassistant/components/updater
|
|
|
- - -lib/python3.10/site-packages/aiogithubapi*
|
|
|
- - -lib/python3.10/site-packages/icalendar
|
|
|
+ - -lib/python3.11/site-packages/homeassistant/components/updater
|
|
|
+ - -lib/python3.11/site-packages/aiogithubapi*
|
|
|
+ - -lib/python3.11/site-packages/icalendar
|
|
|
requirements:
|
|
|
- requirements.txt
|
|
|
- requirements_all.txt
|
|
@@ -246,7 +246,7 @@ parts:
|
|
|
|
|
|
override-stage: |
|
|
|
snapcraftctl stage
|
|
|
- find $SNAPCRAFT_STAGE/bin -type f -executable -exec sed -i 's/!\/usr\/bin\/env python3.10/!\/usr\/bin\/env python3/' {} \;
|
|
|
+ find $SNAPCRAFT_STAGE/bin -type f -executable -exec sed -i 's/!\/usr\/bin\/env python3.11/!\/usr\/bin\/env python3/' {} \;
|
|
|
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' $SNAPCRAFT_STAGE/pyvenv.cfg
|
|
|
updater:
|
|
|
after: [homeassistant]
|
|
@@ -254,7 +254,7 @@ parts:
|
|
|
source: ./src/components
|
|
|
source-type: local
|
|
|
organize:
|
|
|
- '*': lib/python3.10/site-packages/homeassistant/components/
|
|
|
+ '*': lib/python3.11/site-packages/homeassistant/components/
|
|
|
bins:
|
|
|
plugin: dump
|
|
|
source: ./src/bin
|