Fix release binary builds (Windows, Linux, macOS)#730
Open
evgeny-stakewise wants to merge 19 commits into
Open
Fix release binary builds (Windows, Linux, macOS)#730evgeny-stakewise wants to merge 19 commits into
evgeny-stakewise wants to merge 19 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to stabilize cross-platform release binary builds (Windows/Linux/macOS) by removing reliance on the third-party tomli parser and updating release/CI automation to better support platform-specific build requirements.
Changes:
- Replace
tomliwith stdlibtomllibfor readingpyproject.toml, and removetomlifrom dependencies/lockfile. - Simplify PyInstaller spec by removing
tomli-specific hidden imports/submodule collection. - Update GitHub Actions release workflow to fix matrix key usage, and add Windows-specific steps (Poetry PATH + Rust toolchain); additionally update CI pip-audit configuration and bump the Docker base image patch version.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/__init__.py |
Switches TOML parsing to stdlib tomllib for project metadata/version lookup. |
pyproject.toml |
Bumps project version and removes the tomli dependency. |
poetry.lock |
Removes the locked tomli package and updates lock metadata hash. |
operator.spec |
Drops tomli-specific hidden imports/submodule collection for PyInstaller. |
Dockerfile |
Updates Python base image patch version. |
.github/workflows/release.yaml |
Fixes matrix key usage, adds Windows build prerequisites (Poetry PATH, Rust toolchain). |
.github/workflows/ci.yaml |
Configures pip-audit to ignore a specific vulnerability ID. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,4 +1,4 @@ | |||
| FROM python:3.12.12-slim-bookworm as python-base | |||
| FROM python:3.12.13-slim-bookworm as python-base | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.