chore: update ci to python3.11-bookworm (which also ships schleuder 4 instead fo 3.6)
This commit is contained in:
parent
91e81f6931
commit
026e4987a6
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
image: python:3.9-bullseye
|
image: python:3.11-bookworm
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
@ -123,9 +123,7 @@ build_debian:
|
||||||
- python3 setup.py egg_info install --root=package/debian/multischleuder/ --prefix=/usr --optimize=1
|
- python3 setup.py egg_info install --root=package/debian/multischleuder/ --prefix=/usr --optimize=1
|
||||||
- cd package/debian
|
- cd package/debian
|
||||||
- sed -re "s/__MULTISCHLEUDER_VERSION__/${MULTISCHLEUDER_VERSION}/g" -i multischleuder/DEBIAN/control
|
- sed -re "s/__MULTISCHLEUDER_VERSION__/${MULTISCHLEUDER_VERSION}/g" -i multischleuder/DEBIAN/control
|
||||||
- mkdir -p multischleuder/usr/lib/python3/dist-packages/
|
- mv multischleuder/usr/lib/python3.11 multischleuder/usr/lib/python3
|
||||||
- rsync -a multischleuder/usr/lib/python3.9/site-packages/ multischleuder/usr/lib/python3/dist-packages/
|
|
||||||
- rm -rf multischleuder/usr/lib/python3.9/site-packages
|
|
||||||
- find multischleuder/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true
|
- find multischleuder/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true
|
||||||
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
||||||
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyo' -exec rm {} \;
|
- find multischleuder/usr/lib/python3/dist-packages -name '*.pyo' -exec rm {} \;
|
||||||
|
|
Loading…
Reference in a new issue