From c149bd35d32ee6e8fc2effe77a5a5cd3200965d1 Mon Sep 17 00:00:00 2001 From: jgray-19 <61458311+jgray-19@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:08:09 +0000 Subject: [PATCH 1/2] Bump MAD-NG to 1.1.10 and package to 0.8.3 --- .github/workflows/python-publish.yml | 4 ++-- .github/workflows/test-pymadng.yml | 4 ++-- CHANGELOG.md | 3 +++ src/pymadng/__init__.py | 2 +- tests/inputs/example.log | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 00a69bc..e0e18c7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -37,8 +37,8 @@ jobs: - name: Get MAD Binaries run: | mkdir src/pymadng/bin - curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.8 -o src/pymadng/bin/mad_Linux - curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.8 -o src/pymadng/bin/mad_Darwin + curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.10 -o src/pymadng/bin/mad_Linux + curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.10 -o src/pymadng/bin/mad_Darwin chmod +x src/pymadng/bin/mad_Linux src/pymadng/bin/mad_Darwin - name: Build package run: python -m build diff --git a/.github/workflows/test-pymadng.yml b/.github/workflows/test-pymadng.yml index d53a26c..4e00c1e 100644 --- a/.github/workflows/test-pymadng.yml +++ b/.github/workflows/test-pymadng.yml @@ -33,8 +33,8 @@ jobs: - name: Get MAD Binaries run: | mkdir ./src/pymadng/bin - curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.8 -o ./src/pymadng/bin/mad_Linux - curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.8 -o ./src/pymadng/bin/mad_Darwin + curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.10 -o ./src/pymadng/bin/mad_Linux + curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.10 -o ./src/pymadng/bin/mad_Darwin chmod +x ./src/pymadng/bin/mad_Linux ./src/pymadng/bin/mad_Darwin - name: Install dependencies run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index d9c366a..dba81cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +0.8.3 (2026/01/14) \ +Bump MAD-NG to 1.1.10, no major changes to pymadng. + 0.8.2 (2025/11/29) \ Update to MAD-NG 1.1.8 diff --git a/src/pymadng/__init__.py b/src/pymadng/__init__.py index 5b367c1..14ffe44 100644 --- a/src/pymadng/__init__.py +++ b/src/pymadng/__init__.py @@ -1,7 +1,7 @@ from .madp_object import MAD __title__ = "pymadng" -__version__ = "0.8.2" +__version__ = "0.8.3" __summary__ = "Python interface to MAD-NG running as subprocess" __uri__ = "https://github.com/MethodicalAcceleratorDesign/MAD-NG.py" diff --git a/tests/inputs/example.log b/tests/inputs/example.log index 5ca9b0c..3b4c837 100644 --- a/tests/inputs/example.log +++ b/tests/inputs/example.log @@ -27,7 +27,7 @@ match = MAD.match ***pymad.recv: [py:__err(true):send(MAD['env']['version'], false):__err(false)] 62 bytes ***pymad.send: [str_] 4 bytes ***pymad.send: binary data 4 bytes -***pymad.send: [1.1.8] 5 bytes +***pymad.send: [1.1.10] 5 bytes ***pymad.recv: binary data 4 bytes ***pymad.recv: [ function __mklast__ (a, b, ...) From a55713537c324dc5733b4eada838b187e76e1cd4 Mon Sep 17 00:00:00 2001 From: Joshua Gray <61458311+jgray-19@users.noreply.github.com> Date: Wed, 14 Jan 2026 15:15:03 +0100 Subject: [PATCH 2/2] Stupid fix --- tests/inputs/example.log | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/inputs/example.log b/tests/inputs/example.log index 3b4c837..98e9ffe 100644 --- a/tests/inputs/example.log +++ b/tests/inputs/example.log @@ -27,7 +27,7 @@ match = MAD.match ***pymad.recv: [py:__err(true):send(MAD['env']['version'], false):__err(false)] 62 bytes ***pymad.send: [str_] 4 bytes ***pymad.send: binary data 4 bytes -***pymad.send: [1.1.10] 5 bytes +***pymad.send: [1.1.10] 6 bytes ***pymad.recv: binary data 4 bytes ***pymad.recv: [ function __mklast__ (a, b, ...)