Skip to content

Commit

Permalink
Python bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgiaever committed Oct 15, 2024
1 parent a609f04 commit 400550b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ parts:
source-tag: ${SNAPCRAFT_PROJECT_VERSION}

build-environment:
- PARTS_PYTHON_INTERPRETER: python3.12
- PARTS_PYTHON_INTERPRETER: python3.13
python-packages:
- setuptools #<58
- wheel
Expand Down Expand Up @@ -213,7 +213,7 @@ parts:
- libxml2-dev
- libxslt1-dev
- pkg-config
- python3.12-dev
- python3.13-dev
- zlib1g-dev
# - on arm64:
# - cargo
Expand All @@ -237,15 +237,15 @@ parts:
- netbase
- tcpdump
- zlib1g
- python3.12-venv
- python3.13-venv
- nmap
stage:
- -lib/$PARTS_PYTHON_INTERPRETER/site-packages/homeassistant/components/updater
- -lib/$PARTS_PYTHON_INTERPRETER/site-packages/aiogithubapi*
- -lib/$PARTS_PYTHON_INTERPRETER/site-packages/icalendar*
override-stage: |
craftctl default
find "${CRAFT_STAGE}/bin" -type f -executable -exec sed -i 's/!\/usr\/bin\/env python3.12/!\/usr\/bin\/env python3/' {} \;
find "${CRAFT_STAGE}/bin" -type f -executable -exec sed -i 's/!\/usr\/bin\/env python3.13/!\/usr\/bin\/env python3/' {} \;
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' "${CRAFT_STAGE}/pyvenv.cfg"
updater:
Expand Down

0 comments on commit 400550b

Please sign in to comment.