|
@@ -38,7 +38,7 @@ description: |
|
|
|
|
|
|
Please use https://www.home-assistant.io/docs/ for documentation and https://community.home-assistant.io for help.
|
|
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
|
|
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: https://github.com/home-assistant/core.git
|
|
source-tag: ${SNAPCRAFT_PROJECT_VERSION}
|
|
source-tag: ${SNAPCRAFT_PROJECT_VERSION}
|
|
build-environment:
|
|
build-environment:
|
|
- - SNAPCRAFT_PYTHON_INTERPRETER: python3.10
|
|
|
|
|
|
+ - SNAPCRAFT_PYTHON_INTERPRETER: python3.11
|
|
python-packages:
|
|
python-packages:
|
|
- setuptools #<58
|
|
- setuptools #<58
|
|
- wheel
|
|
- wheel
|
|
@@ -205,7 +205,7 @@ parts:
|
|
- libxml2-dev
|
|
- libxml2-dev
|
|
- libxslt1-dev
|
|
- libxslt1-dev
|
|
- pkg-config
|
|
- pkg-config
|
|
- - python3.10-dev
|
|
|
|
|
|
+ - python3.11-dev
|
|
- zlib1g-dev
|
|
- zlib1g-dev
|
|
# - on arm64:
|
|
# - on arm64:
|
|
# - cargo
|
|
# - cargo
|
|
@@ -230,12 +230,12 @@ parts:
|
|
- netbase
|
|
- netbase
|
|
- tcpdump
|
|
- tcpdump
|
|
- zlib1g
|
|
- zlib1g
|
|
- - python3.10-venv
|
|
|
|
|
|
+ - python3.11-venv
|
|
- nmap
|
|
- nmap
|
|
stage:
|
|
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:
|
|
- requirements.txt
|
|
- requirements.txt
|
|
- requirements_all.txt
|
|
- requirements_all.txt
|
|
@@ -246,7 +246,7 @@ parts:
|
|
|
|
|
|
override-stage: |
|
|
override-stage: |
|
|
snapcraftctl 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
|
|
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' $SNAPCRAFT_STAGE/pyvenv.cfg
|
|
updater:
|
|
updater:
|
|
after: [homeassistant]
|
|
after: [homeassistant]
|
|
@@ -254,7 +254,7 @@ parts:
|
|
source: ./src/components
|
|
source: ./src/components
|
|
source-type: local
|
|
source-type: local
|
|
organize:
|
|
organize:
|
|
- '*': lib/python3.10/site-packages/homeassistant/components/
|
|
|
|
|
|
+ '*': lib/python3.11/site-packages/homeassistant/components/
|
|
bins:
|
|
bins:
|
|
plugin: dump
|
|
plugin: dump
|
|
source: ./src/bin
|
|
source: ./src/bin
|