Skip to content

Release automation#194

Merged
fbaensch-beilstein merged 17 commits into
devfrom
release-automation
Feb 16, 2026
Merged

Release automation#194
fbaensch-beilstein merged 17 commits into
devfrom
release-automation

Conversation

@JanCBrammer
Copy link
Copy Markdown
Collaborator

@JanCBrammer JanCBrammer commented Feb 12, 2026

This PR implements #1.

Have a look at the logs of the CI run on this PR to get an impression of how the release automation builds artifacts for the different platforms.

giallu and others added 14 commits February 12, 2026 14:28
Python instantiates processes differently across platforms.
On Linux, processes are instantiated using "fork",
whereas on Windows and macOS, processes are instantiated using "spawn".
Prior to this commit, multiprocessing failed on Windows and macOS,
due to the assumption that processes are always forked
(and hence inherit resources from the parent process).
The failure was related to the dynamic import of the configuration modules.
See https://book-of-gehn.github.io/articles/2022/03/06/Multiprocessing-Spawn-of-Dynamically-Imported-Code.html.
This commit re-writes multiprocessing such that processes are spawned on all platforms,
which will be the default as of Python 3.14 anyway,
see https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods.
Parse arguments (kind of test and path to InChI library) directly from the command line.
Before this commit, those arguments were configured as TestConfig in dedicated files, which was less flexible and more complex.
Copy link
Copy Markdown
Collaborator

@fbaensch-beilstein fbaensch-beilstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me, would be awesome if we could integrate it for the next release

Comment thread .github/actions/invariance_tests/action.yml Outdated
Comment thread .github/workflows/build_matrix.json
Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
@fbaensch-beilstein fbaensch-beilstein merged commit 520e408 into dev Feb 16, 2026
7 checks passed
@JanCBrammer JanCBrammer deleted the release-automation branch February 17, 2026 10:56
@JanCBrammer JanCBrammer mentioned this pull request Feb 17, 2026
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants