Title: Replace polars with curated data-analysis packages in embeddable Python workflow by Copilot · Pull Request #3 · toyfer/embeddable_python_init · GitHub
Open Graph Title: Replace polars with curated data-analysis packages in embeddable Python workflow by Copilot · Pull Request #3 · toyfer/embeddable_python_init
X Title: Replace polars with curated data-analysis packages in embeddable Python workflow by Copilot · Pull Request #3 · toyfer/embeddable_python_init
Description: Swap out polars (requires Rust toolchain) for a set of pure-Python-compatible data-analysis packages suitable for embeddable distributions. Changes Dependency installation: Replace single polars install with 9 packages: pandas, numpy, matplotlib, seaborn, scikit-learn, openpyxl, xlrd, ipykernel, jupyterlab Release metadata: Update package list in release body to reflect actual installed packages - name: Python Embeddable Setup Dependencies run: | .\Python\Python.exe -m pip install \ pandas \ numpy \ matplotlib \ seaborn \ scikit-learn \ openpyxl \ xlrd \ ipykernel \ jupyterlab All packages selected to avoid native compilation dependencies (no Rust/C++ toolchains needed). Original prompt Modify the workflow file .github/workflows/init-python.yml to install a curated set of data-analysis packages that do not require extra native toolchains (Rust/C/C++). The current workflow downloads and prepares the Python 3.13.7 embeddable distribution, bootstraps pip, installs dependencies, compresses the folder and uploads it as a GitHub Release latest asset. Change only the dependency installation step to install the following packages (no polars, no pyarrow): pandas numpy matplotlib seaborn scikit-learn openpyxl xlrd ipykernel jupyterlab Requirements for the change: Keep the rest of the workflow identical (checkout, download, expand, enable site, get-pip, pip upgrade, compress, release upload). Use the Windows PowerShell pip install command already present: .\Python\Python.exe -m pip install \ with the list of packages. Update the release body to list the added packages (as in the sample provided in the conversation). Do not add or remove other steps, permissions, or actions versions. Provide the modified file contents for .github/workflows/init-python.yml exactly as it should be committed. Modified file contents: name: init-python on: push: jobs: build: runs-on: windows-latest # Release作成に必要 permissions: contents: write steps: - name: Check out code uses: actions/checkout@v5 - name: Python Embeddable Download run: Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.13.7/python-3.13.7-embed-amd64.zip -OutFile Python.zip - name: Python Embeddable Setup run: | Expand-Archive .\Python.zip -DestinationPath .\Python\ (Get-Content .\Python\Python313._pth) -replace '#import site', 'import site' | Set-Content .\Python\Python313._pth Invoke-WebRequest -Uri https://bootstrap.pypa.io/get-pip.py -OutFile .\Python\get-pip.py .\Python\Python.exe .\Python\get-pip.py .\Python\Python.exe -m pip install -U pip - name: Python Embeddable Setup Dependencies run: | .\Python\Python.exe -m pip install \ pandas \ numpy \ matplotlib \ seaborn \ scikit-learn \ openpyxl \ xlrd \ ipykernel \ jupyterlab - name: Compress Python run: Compress-Archive -Path .\Python\* -DestinationPath .\Python_Embeddable.zip - name: Update Release (always update latest release) uses: softprops/action-gh-release@v2 with: tag_name: latest name: Python Embeddable body: | ## Python Embeddable - **Python Version**: 3.13.7 - **Package Manager**: pip - **Added Package**: pandas, numpy, matplotlib, seaborn, scikit-learn, openpyxl, xlrd, ipykernel, jupyterlab - **Build Date**: ${{ github.event.head_commit.timestamp }} - **Commit**: ${{ github.sha }} *This release is automatically updated on every push* files: | ./Python_Embeddable.zip make_latest: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} This pull request was created from Copilot chat. ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Open Graph Description: Swap out polars (requires Rust toolchain) for a set of pure-Python-compatible data-analysis packages suitable for embeddable distributions. Changes Dependency installation: Replace single polars i...
X Description: Swap out polars (requires Rust toolchain) for a set of pure-Python-compatible data-analysis packages suitable for embeddable distributions. Changes Dependency installation: Replace single polars i...
Opengraph URL: https://github.com/toyfer/embeddable_python_init/pull/3
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ff6b9f1a-b91e-c278-be5b-c9ded492495a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AFFC:361874:8DCA:C0DD:6A4D0219 |
| html-safe-nonce | 6d495dc4738868d2c21e049f3845df01e81584b0d9ec9556e145b6a948ba49ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkZDOjM2MTg3NDo4RENBOkMwREQ6NkE0RDAyMTkiLCJ2aXNpdG9yX2lkIjoiNjcwNjYzNzg0NTkwNDAzMjI4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27306f9bc9beb1c0e6cc884191c5bf9e1bf045ef46a2c8b57f0fca61c4be0b6e |
| hovercard-subject-tag | pull_request:3179343557 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/toyfer/embeddable_python_init/pull/3/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Swap out polars (requires Rust toolchain) for a set of pure-Python-compatible data-analysis packages suitable for embeddable distributions. Changes Dependency installation: Replace single polars i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/toyfer/embeddable_python_init git https://github.com/toyfer/embeddable_python_init.git |
| octolytics-dimension-user_id | 15968477 |
| octolytics-dimension-user_login | toyfer |
| octolytics-dimension-repository_id | 705418231 |
| octolytics-dimension-repository_nwo | toyfer/embeddable_python_init |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 705418231 |
| octolytics-dimension-repository_network_root_nwo | toyfer/embeddable_python_init |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width