From 0d27a7243537e6b77b2003f9050313bd8037d58d Mon Sep 17 00:00:00 2001 From: ptsavol <43600314+ptsavol@users.noreply.github.com> Date: Thu, 28 Nov 2024 20:25:52 +0200 Subject: [PATCH] Update bundling action (#3017) - Use upload_artifact v4 - Include the newest Python 3.12 (3.12.7) as the embedded python - Install spinedb_api and pandas for the embedded Python Re #3000 --- .github/workflows/make_bundle.yml | 6 +++--- CHANGELOG.md | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/make_bundle.yml b/.github/workflows/make_bundle.yml index aca47c640..3b102e85d 100644 --- a/.github/workflows/make_bundle.yml +++ b/.github/workflows/make_bundle.yml @@ -44,7 +44,7 @@ jobs: run: | mkdir embedded-python cd embedded-python - curl -o python.zip https://www.python.org/ftp/python/3.12.3/python-3.12.3-embed-amd64.zip + curl -o python.zip https://www.python.org/ftp/python/3.12.7/python-3.12.7-embed-amd64.zip tar xf python.zip del python.zip - name: Edit embedded Python search paths @@ -65,7 +65,7 @@ jobs: run: | cd embedded-python/Scripts ./pip.exe --version - ./pip.exe install ipykernel jill + ./pip.exe install spinedb-api pandas ipykernel jill - name: List packages in embedded Python run: | cd embedded-python/Scripts @@ -79,7 +79,7 @@ jobs: run: | python -c "from importlib.metadata import version; print('version=' + version('spinetoolbox'))" >> $GITHUB_OUTPUT - name: Upload archive - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Spine-Toolbox-win-${{ steps.toolbox-version.outputs.version }} path: "./dist/Spine Toolbox" diff --git a/CHANGELOG.md b/CHANGELOG.md index 72f81f097..7e76d8c3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/) ### Added +- [Bundled App] **Embedded Python** now includes spinedb-api and pandas +in addition to ipykernel and jill. + ### Changed ### Deprecated