Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
Expand All @@ -35,4 +35,4 @@ jobs:
if: success() && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

2025-05-13 (0.13.5)
-------------------
- Fix compatibility issue in MagicNetworkLayerProtocol due to changes in netsquid-magic
- Add requirement on netsquid-magic >= 16.0.0, < 17.0.0

2024-12-16 (0.13.4)
------------------
- Bugfix for simulation time not resetting between different calls of the `squidasm.run.stack.run.run` method
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ install_requires =
pydantic >=1.8.2, < 3.0
pydynaa >=0.3, <2.0
netsquid >=1.1.2, <2.0
netsquid-magic >= 16.0.0, <17.0.0
bitarray >=2.8.0, <3.0.0
netqasm >=0.11.2
pytest >=7.1, <8.0
Expand Down
3 changes: 2 additions & 1 deletion squidasm/sim/network/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ def _handle_label_delivery(self, event):
# netsquid_magic package, with one change: the `messages` dict is
# returned at the end, so that their contents can be logged.
try:
queue_item = self._pop_from_requests_in_process(event)
delivery = self._magic_distributor.peek_delivery(event)
queue_item = self._pop_from_requests_in_process(delivery)
except KeyError:
# This indicates that this delivery event is not the "reference" delivery event returned by add_delivery
# of the magic distributor. Since the below operations only need to be executed once, we can skip this.
Expand Down