Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3 -o src/pymadng/bin/mad_Linux
curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.3 -o src/pymadng/bin/mad_Darwin
curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.5 -o src/pymadng/bin/mad_Linux
curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.5 -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pymadng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3 -o ./src/pymadng/bin/mad_Linux
curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.3 -o ./src/pymadng/bin/mad_Darwin
curl https://madx.web.cern.ch/releases/madng/1.1/mad-linux-1.1.5 -o ./src/pymadng/bin/mad_Linux
curl https://madx.web.cern.ch/releases/madng/1.1/mad-macos-1.1.5 -o ./src/pymadng/bin/mad_Darwin
chmod +x ./src/pymadng/bin/mad_Linux ./src/pymadng/bin/mad_Darwin
- name: Install dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.7.1 (2025/08/04)
Update to MAD-NG 1.1.5 \

0.7.0 (2025/06/05)
Update to MAD-NG 1.1.3 \
Breaking change: tables in lua are always returned as references, so you must use `eval` to get the value of the table. Or use the optional second argument in `py:send` such as `py:send(data, true)` to return the value of the table. \
Expand Down
2 changes: 1 addition & 1 deletion src/pymadng/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .madp_object import MAD

__title__ = "pymadng"
__version__ = "0.7.0"
__version__ = "0.7.1"

__summary__ = "Python interface to MAD-NG running as subprocess"
__uri__ = "https://github.com/MethodicalAcceleratorDesign/MAD-NG.py"
Expand Down
2 changes: 1 addition & 1 deletion tests/inputs/example.log
Original file line number Diff line number Diff line change
Expand Up @@ -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.3] 5 bytes
***pymad.send: [1.1.5] 5 bytes
***pymad.recv: binary data 4 bytes
***pymad.recv: [
function __mklast__ (a, b, ...)
Expand Down
Loading