Skip to content

Commit

Permalink
Update bundling action (#3017)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
ptsavol authored Nov 28, 2024
1 parent 206f459 commit 0d27a72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/make_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d27a72

Please sign in to comment.