From 8520492bf3a1a631af47059761d94b6762453712 Mon Sep 17 00:00:00 2001 From: Anna Wendler <106674756+annawendler@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:11:31 +0200 Subject: [PATCH 1/2] upload to testpypi --- .github/workflows/pypi.yml | 4 ++-- pycode/memilio-simulation/pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 56cdd075a8..e95600a915 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,7 +6,7 @@ on: - published ### Uncomment the "push:" together with the "repository-url:" field of action pypa/gh-action-pypi-publish ### to make a release to TestPyPI. Building this is rather expensive so do not merge this uncommented! - #push: + push: ### @Reviewer: MAKE SURE THE LINE ABOVE IS COMMENTED OUT BEFORE MERGE! ### jobs: @@ -73,4 +73,4 @@ jobs: with: skip-existing: true ### To test uploads to TestPyPI in a PR, uncomment the following, as well as the "push:" line at the top: - #repository-url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ diff --git a/pycode/memilio-simulation/pyproject.toml b/pycode/memilio-simulation/pyproject.toml index c120d78d74..8ba9bdfbab 100644 --- a/pycode/memilio-simulation/pyproject.toml +++ b/pycode/memilio-simulation/pyproject.toml @@ -1,6 +1,7 @@ [project] name = "memilio-simulation" -dynamic = ["version"] +# dynamic = ["version"] +version = "2.4.0" description = "Part of MEmilio project, Python bindings to the C++ libraries that contain the models and simulations." readme = "README.md" requires-python = ">=3.8" From 851d05998ba28c25ea19913251a276d114917c64 Mon Sep 17 00:00:00 2001 From: Anna Wendler <106674756+annawendler@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:16:20 +0200 Subject: [PATCH 2/2] CI on PR --- .github/workflows/pypi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index e95600a915..2d7c4a1d8a 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,7 +6,8 @@ on: - published ### Uncomment the "push:" together with the "repository-url:" field of action pypa/gh-action-pypi-publish ### to make a release to TestPyPI. Building this is rather expensive so do not merge this uncommented! - push: + pull_request: + types: [opened, reopened, synchronize, ready_for_review] ### @Reviewer: MAKE SURE THE LINE ABOVE IS COMMENTED OUT BEFORE MERGE! ### jobs: