From 74c70324676dd85dd3c83d1d0042ed5ac0f805e9 Mon Sep 17 00:00:00 2001 From: xy Date: Sun, 12 Jan 2025 20:00:53 +0100 Subject: [PATCH] all latest, no strip --- .github/workflows/run.yml | 10 ++++++---- requirements.txt | 10 +++++----- scripts/pyinstaller.run.sh | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index ed3ae70..b750e1c 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -18,7 +18,7 @@ jobs: - name: python setup uses: actions/setup-python@v5 with: - python-version: "3.12.3" + python-version: "3.13" cache: 'pip' check-latest: true @@ -73,7 +73,7 @@ jobs: # - name: python setup # uses: actions/setup-python@v5 # with: -# python-version: "3.12.3" +# python-version: "3.13" # cache: 'pip' # check-latest: true # @@ -123,7 +123,7 @@ jobs: # - name: python setup # uses: actions/setup-python@v5 # with: -# python-version: "3.12.3" +# python-version: "3.13" # cache: 'pip' # check-latest: true # @@ -174,7 +174,7 @@ jobs: - name: python setup uses: actions/setup-python@v5 with: - python-version: "3.12.3" + python-version: "3.13" cache: 'pip' check-latest: true @@ -186,6 +186,8 @@ jobs: #- name: strip python binaries # run: find $pythonLocation -name *.so* -type f -exec strip {} \; + # problems : + #ImportError: libscipy_openblas-68440149.so: ELF load command address/offset not properly aligned ##################################### - name: version download diff --git a/requirements.txt b/requirements.txt index 08a9963..befd954 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ pyinstaller==6.11.1 appdirs==1.4.4 send2trash==1.8.3 -zstandard==0.22.0 -tkinterdnd2==0.3.0 -numpy==1.26 +zstandard==0.23.0 +tkinterdnd2==0.4.2 +numpy==2.2.1 scipy==1.15.1 exifread==3.0.0 imagehash==4.3.1 -pillow==10.3.0 -scikit-learn==1.5.0 +pillow==11.1.0 +scikit-learn==1.6.1 diff --git a/scripts/pyinstaller.run.sh b/scripts/pyinstaller.run.sh index b08b082..34e9c65 100755 --- a/scripts/pyinstaller.run.sh +++ b/scripts/pyinstaller.run.sh @@ -30,7 +30,7 @@ echo "pillow " `python3 -c "import PIL; print(PIL.__version__)"` >> distro. echo '' echo running-pyinstaller-stage_dude -pyinstaller --strip --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir --additional-hooks-dir=. --collect-binaries tkinterdnd2 --collect-binaries numpy --collect-binaries scipy --collect-data scipy --hidden-import='PIL._tkinter_finder' --optimize 2 ./dude.py +pyinstaller --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir --additional-hooks-dir=. --collect-binaries tkinterdnd2 --collect-binaries numpy --collect-binaries scipy --collect-data scipy --hidden-import='PIL._tkinter_finder' --optimize 2 ./dude.py echo '' echo packing