Skip to content

Program builder interface #241

Program builder interface

Program builder interface #241

GitHub Actions / Test Results failed Aug 20, 2023 in 0s

39 errors in 1m 43s

    6 files  ±       0  6 suites  ±0   1m 43s ⏱️ - 5m 13s
  39 tests  - 1 176  0 ✔️  - 1 157  0 💤  -   55  0  -   3    39 🔥 +  39 
234 runs   - 7 056  0 ✔️  - 6 942  0 💤  - 330  0  - 18  234 🔥 +234 

Results for commit 8bd76be. ± Comparison against earlier commit 19e23df.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.comparable_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/comparable_tests.py:4: in <module>
    from qupulse.comparable import Comparable
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.serialization_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/serialization_tests.py:14: in <module>
    import qupulse.utils
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests._program.loop_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/_program/loop_tests.py:20: in <module>
    from tests.pulses.sequencing_dummies import DummyWaveform
tests/pulses/sequencing_dummies.py:15: in <module>
    from qupulse.pulses.pulse_template import AtomicPulseTemplate
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests._program.seqc_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/_program/seqc_tests.py:18: in <module>
    from qupulse._program.seqc import BinaryWaveform, loop_to_seqc, WaveformPlayback, Repeat, SteppingRepeat, Scope,\
qupulse/_program/seqc.py:39: in <module>
    from qupulse.hardware.awgs.base import ProgramEntry
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests._program.tabor_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/_program/tabor_tests.py:19: in <module>
    from qupulse._program.tabor import TaborException, TaborProgram, find_place_for_segments_in_memory,\
qupulse/_program/tabor.py:13: in <module>
    from qupulse.hardware.awgs.base import ProgramEntry
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests._program.waveforms_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/_program/waveforms_tests.py:16: in <module>
    from tests.pulses.sequencing_dummies import DummyWaveform, DummyInterpolationStrategy
tests/pulses/sequencing_dummies.py:15: in <module>
    from qupulse.pulses.pulse_template import AtomicPulseTemplate
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.backward_compatibility.tabor_backward_compatibility_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/backward_compatibility/tabor_backward_compatibility_tests.py:14: in <module>
    from tests.hardware.tabor_simulator_based_tests import TaborSimulatorManager
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/tabor_simulator_based_tests.py:15: in <module>
    from qupulse.hardware.awgs.tabor import TaborAWGRepresentation, TaborChannelPair
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.alazar_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/alazar_tests.py:7: in <module>
    from qupulse.hardware.dacs.alazar import AlazarCard, AlazarProgram
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.base_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/base_tests.py:9: in <module>
    from qupulse.hardware.awgs.base import ProgramEntry
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.setup_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/setup_tests.py:6: in <module>
    from qupulse.hardware.setup import HardwareSetup, PlaybackChannel, MarkerChannel, MeasurementMask
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.tabor_dummy_based_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/tabor_dummy_based_tests.py:11: in <module>
    from qupulse.hardware.awgs.base import AWGAmplitudeOffsetHandling
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.tabor_simulator_based_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/tabor_simulator_based_tests.py:15: in <module>
    from qupulse.hardware.awgs.tabor import TaborAWGRepresentation, TaborChannelPair
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.tabor_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/tabor_tests.py:10: in <module>
    from qupulse.hardware.awgs.tabor import TaborException, TaborProgram, \
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.tektronix_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/tektronix_tests.py:12: in <module>
    import qupulse.hardware.awgs.tektronix as tektronix
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.util_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/util_tests.py:11: in <module>
    from qupulse.hardware.util import voltage_to_uint16, find_positions, get_sample_times, not_none_indices, \
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.zihdawg_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/zihdawg_tests.py:30: in <module>
    from tests.pulses.sequencing_dummies import DummyWaveform
tests/pulses/sequencing_dummies.py:15: in <module>
    from qupulse.pulses.pulse_template import AtomicPulseTemplate
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.feature_awg.awg_new_driver_base_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/feature_awg/awg_new_driver_base_tests.py:5: in <module>
    from qupulse import ChannelID
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.feature_awg.channel_tuple_wrapper_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/feature_awg/channel_tuple_wrapper_tests.py:3: in <module>
    from qupulse.hardware.feature_awg.features import ProgramManagement, VolatileParameters
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.feature_awg.tabor_new_driver_simulator_based_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/feature_awg/tabor_new_driver_simulator_based_tests.py:14: in <module>
    from qupulse._program.tabor import TableDescription, TableEntry
qupulse/_program/tabor.py:13: in <module>
    from qupulse.hardware.awgs.base import ProgramEntry
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.hardware.feature_awg.tabor_new_driver_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/hardware/feature_awg/tabor_new_driver_tests.py:8: in <module>
    from qupulse.hardware.feature_awg.tabor import with_configuration_guard
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.pulses.abstract_pulse_template_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/pulses/abstract_pulse_template_tests.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate, NotSpecifiedError, UnlinkWarning
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.pulses.arithmetic_pulse_template_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/pulses/arithmetic_pulse_template_tests.py:10: in <module>
    from qupulse.pulses import ConstantPT
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.pulses.bug_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/pulses/bug_tests.py:6: in <module>
    from qupulse.pulses.table_pulse_template import TablePulseTemplate
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.pulses.constant_pulse_template_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/pulses/constant_pulse_template_tests.py:3: in <module>
    import qupulse.plotting
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: tests.pulses.function_pulse_tests

artifacts/Unit Test Results ( 3.10-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.10-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.8-gmpy2 )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-fractions )/pytest.xml [took 0s]
artifacts/Unit Test Results ( 3.9-gmpy2 )/pytest.xml [took 0s]
Raw output
collection failure
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
    exec(co, module.__dict__)
tests/pulses/function_pulse_tests.py:6: in <module>
    from qupulse.pulses.function_pulse_template import FunctionPulseTemplate
qupulse/__init__.py:10: in <module>
    from qupulse import pulses
<frozen importlib._bootstrap>:1075: in _handle_fromlist
    ???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/lazy_loader/__init__.py:74: in __getattr__
    return importlib.import_module(f"{package_name}.{name}")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
qupulse/pulses/__init__.py:6: in <module>
    from qupulse.pulses.abstract_pulse_template import AbstractPulseTemplate as AbstractPT
qupulse/pulses/abstract_pulse_template.py:8: in <module>
    from qupulse.pulses.pulse_template import PulseTemplate
qupulse/pulses/pulse_template.py:29: in <module>
    from qupulse.program import ProgramBuilder
qupulse/program/__init__.py:66: in <module>
    class ProgramBuilder(Protocol):
qupulse/program/__init__.py:104: in ProgramBuilder
    def with_iteration(self, index_name: str, rng: range) -> Tuple[ContextManager['ProgramBuilder'], Any]:
E   NameError: name 'Any' is not defined