packaging: Bring dependencies up to date

- python 3.10 -> 3.11
This commit is contained in:
Andrew Hamilton 2023-09-10 21:03:17 +10:00
parent 9fde870c37
commit 4001692b52
25 changed files with 48 additions and 48 deletions

View file

@ -3,8 +3,8 @@ FROM ubuntu:kinetic
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
RUN apt-get install -y sudo python3.10 python3-pip
RUN python3.10 -m pip install --upgrade pip
RUN apt-get install -y sudo python3.11 python3-pip
RUN python3.11 -m pip install --upgrade pip
COPY . eris
RUN cd eris && ./install

View file

@ -3,7 +3,7 @@
- Allow custom config files.
- Can install with pip.
- Minor bug fixes.
- Don't have a new snap until core22 is released with python3.10.
- Don't have a new snap until core22 is released with python3.11.
6 December 2021

View file

@ -13,7 +13,7 @@ export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/local/bin/:"${PATH}"
export UNION_PRELOAD="${HERE}"
export LD_PRELOAD="${HERE}/libunionpreload.so"
export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
export PYTHONPATH=/usr/local/lib/python3.10/dist-packages:"${PYTHONPATH}"
export PYTHONPATH=/usr/local/lib/python3.11/dist-packages:"${PYTHONPATH}"
if [ -z $APPIMAGE_ENTER ]; then
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g')
exec ${EXEC} $@

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.10
#!/usr/bin/env python3.11
import os

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.10
#!/usr/bin/env python3.11
# -*- coding: utf-8 -*-

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.10
#!/usr/bin/env python3.11
# -*- coding: utf-8 -*-
@ -27,13 +27,13 @@ apps:
eris:
command: bin/eris
environment:
PYTHONPATH: $SNAP/lib/python3.10/site-packages:$SNAP/lib/python3.10/dist-packages:$PYTHONPATH
PYTHONPATH: $SNAP/lib/python3.11/site-packages:$SNAP/lib/python3.11/dist-packages:$PYTHONPATH
plugs:
- home
webserver:
command: bin/eris-webserver
environment:
PYTHONPATH: $SNAP/lib/python3.10/site-packages:$SNAP/lib/python3.10/dist-packages:$PYTHONPATH
PYTHONPATH: $SNAP/lib/python3.11/site-packages:$SNAP/lib/python3.11/dist-packages:$PYTHONPATH
plugs:
- home
- network-bind
@ -53,9 +53,9 @@ parts:
- ./fill3
- ./eris
build-environment:
- SNAPCRAFT_PYTHON_INTERPRETER: python3.10
- SNAPCRAFT_PYTHON_INTERPRETER: python3.11
stage-packages:
- python3.10-venv
- python3.11-venv
- python3-distutils
- python3-pkg-resources
- """, end="")