Skip to content

v3.4.0

@dihm dihm tagged this 29 Apr 17:42
commit 41d6e1c050d222343bd9dfee7d65214fb89d77ea
Merge: bfc65fe b3869b7
Author: David Meyer <[email protected]>
Date:   Fri Apr 11 13:59:24 2025 -0400

    Merge pull request #113 from dihm/workflow_refresh

    Workflow refresh

commit b3869b7d9b905073860c1e910a93422b408b9bfb
Author: David Meyer <[email protected]>
Date:   Fri Apr 11 13:54:15 2025 -0400

    Update project metadata and remove old dependencies

commit 98be5f3a22244dc733cb7ae4145bb79619cf2698
Author: David Meyer <[email protected]>
Date:   Fri Apr 11 13:54:02 2025 -0400

    Update workflow to latest and greatest

commit bfc65febc417c0e6ae9c7ad591f9a4d52fcebe14
Author: David Meyer <[email protected]>
Date:   Fri Jul 12 17:15:52 2024 -0400

    Fix typo in metadata

commit 346ee1d5d1cc6acfd34fd5595107e5ce3e762e97
Merge: 24f2d6a b3358c9
Author: David Meyer <[email protected]>
Date:   Fri Jul 12 17:11:01 2024 -0400

    Merge pull request #110 from dihm/setuptools_scm_fix2

    Add setuptools_scm build arguments to pyproject.toml

commit b3358c9f0806fc6cf0702f215ca40bc46105c5ad
Author: David Meyer <[email protected]>
Date:   Thu Feb 29 16:24:39 2024 -0500

    Make editable installs use `pyproject.toml` setuptools_scm config.

    Removes no longer necessary `setup.py`.

commit 225bbee6699e17af724fbab943a1a5cb8f520146
Author: David Meyer <[email protected]>
Date:   Thu Apr 4 13:57:59 2024 -0400

    Move all project metadata to `pyproject.toml`

commit f41d9567ed6eace6b8d29286a4ae01554c34bf44
Author: David Meyer <[email protected]>
Date:   Thu Feb 29 20:30:15 2024 -0500

    Make `setuptools_scm` optional, even if installed in editable mode.

commit 67a5a89dae340fce91accc378eb4da0a054cce7f
Author: David Meyer <[email protected]>
Date:   Thu Feb 29 16:19:46 2024 -0500

    Remove environment checks in `setup.py` for setuptools_scm

commit 003ce6c04042f7b49af09a148c7e3f53eb24e019
Author: David Meyer <[email protected]>
Date:   Thu Feb 29 16:19:14 2024 -0500

    Remove environment checks on `__version__.py` setuptools_scm

commit dfb3b0018fa404a8efa78c26dcd8616c1ca36a99
Author: David Meyer <[email protected]>
Date:   Fri Feb 23 15:16:30 2024 -0500

    Remove `SCM_LOCAL_SCHEME` environment variable in release workflow as it is no longer used.

commit 06b0b4484483a1d390c641939e2f4d0a3b4b196f
Author: David Meyer <[email protected]>
Date:   Fri Feb 23 13:47:37 2024 -0500

    Add setuptools_scm build arguments to pyproject.toml

commit 24f2d6a315205adcd658319c6e5bc471315b0f2a
Merge: 37be1bf 554968f
Author: David Meyer <[email protected]>
Date:   Tue Mar 19 10:27:24 2024 -0400

    Merge pull request #111 from dihm/runmanager_dep_break

    Remove latent dependency on runmanager due to `get_shot_globals`.

commit 554968ff53ded368264e2aa05762b21a64796908
Author: David Meyer <[email protected]>
Date:   Tue Mar 19 10:22:34 2024 -0400

    Remove latent dependency on runmanager due to `get_shot_globals`.

    Bumps required version of `labscript_utils` to match.

commit 37be1bf387c035b49a42629cb4ed54f67ec1d707
Merge: 332c180 714d982
Author: Phil Starkey <[email protected]>
Date:   Sat Feb 17 15:13:13 2024 +1100

    Merge pull request #102 from philipstarkey/philipstarkey/v3-refactor

    This is a first pass attempt at breaking up `labscript.py` into separate files. The idea here is that, while this might not be how we ultimately want things to be split up, at this point something is better than nothing. This should provide enough of a base that other people begin to feel comfortable moving things around and/or breaking things up logically. It also introduces some conceptual boundaries between output classes and the base device classes that handle timing/clock generation. My hope is that this split will open up the possibility of actually writing tests for some of this stuff. That's probably still a long way off (with several more refactors in between) but it's a step towards that goal!

    Other changes:
    * More modern context managers for warning suppression that can actually be used to enable/disable warnings, not just disable.
    * `config` is moved into `compiler` which means it should get reset between labscript shots and not just globally changed until you reload the compiler subprocess in runmanager.
    * Some better/more consistent formatting. I didn't run `black`/`ruff` but I think we should think about it soon.
    * Updated error message string formatting to use `f` strings for increased code readability
    * Fixed a mistake with trigger error detection that was never raised (and also the `if` condition around the unraised error was wrong anyway)
    * Fixed a minor bug in an error message for shutters (had open/close the wrong way around)
    * Probably some other small changes.

commit 332c180ddb97650fdd54bb58cfa036cd40df2961
Merge: a99573e 1071fee
Author: David Meyer <[email protected]>
Date:   Fri Feb 9 13:24:34 2024 -0500

    Merge pull request #107 from dihm/update_workflow

    Update workflow pins to use node.js=20

commit a99573e5d73d1dd1de0d92fb90879c1c85361522
Merge: 6f38c9a bf0d2b7
Author: David Meyer <[email protected]>
Date:   Fri Feb 9 13:24:20 2024 -0500

    Merge pull request #106 from dihm/setuptools_scm_fix

    Ensure setuptools_scm uses `release-branch-semver`

commit bf0d2b7009bc5fc59b503ec49cc5218e81614041
Author: David Meyer <[email protected]>
Date:   Fri Feb 9 13:21:32 2024 -0500

    Ensure setuptools_scm uses `release-branch-semver`

    Updates setuptools and setuptools_scm pin in the build.

commit 1071feecff8825b294f933e75a00643e7fa256a7
Author: David Meyer <[email protected]>
Date:   Fri Feb 9 13:19:20 2024 -0500

    Update workflow pins to use node.js=20

commit 714d982a7d1116d2b6a4d0c90304aae6280f1c6b
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 16:24:56 2024 +1100

    Remove `compiler` module from autosummary documentation due to a bug that breaks documentation.

commit 7e0ab10ee29af1af3e072a04660af620719e0098
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 16:20:40 2024 +1100

    Reamed `Compiler` class to work around an autosummary bug

commit 32b3d6ebb7972a9eab2f793c4c61bf7f347612f3
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 16:15:18 2024 +1100

    Updated module doc strings so they are only a single sentence and relocated `print_time()` function to utils.

commit 5ea15e8b15e99926b52552ea4d30bfd16d9a661c
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 16:05:28 2024 +1100

    Added copyright notices and docstrings to new files

commit 5c04f428470a820f1348b889a989c360c2bd1840
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 15:49:00 2024 +1100

    Split `AnalogIn` into it's own module so that documentation makes a little more sese

commit 59757a4d2d0519996e9a5200787c180aa9f32752
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 13:08:04 2024 +1100

    Added note about not using generic classes directly

commit 9a9e2050ed8d968f8d04e657b27f72549908608e
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 13:00:34 2024 +1100

    Attempt to fix module cross reference

commit 8775e249d71334a82acfdbfdf294ae2b21ebdd4f
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 12:55:17 2024 +1100

    Updated connection table documentation with links to class documentation.

commit 36dad35b5bf6da7e3baf7418bbfeacfd5d3c5f84
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 12:37:53 2024 +1100

    First pass at getting new files included in the docs

commit ba082c1673aba8f3647740624489e6ca817f85f4
Merge: 91025be 6f38c9a
Author: Phil Starkey <[email protected]>
Date:   Sat Jan 27 12:24:42 2024 +1100

    Merge branch 'labscript-suite:master' into philipstarkey/v3-refactor

commit 91025be54935bed9429f1f7075654100847512b7
Author: philipstarkey <[email protected]>
Date:   Sat Jan 27 12:16:47 2024 +1100

    Revert change to use public property in `ClockLine.add_device` internals

commit 6f38c9a07bfa8a4354938999f5d985bc48dd8063
Merge: 01cc205 dd410e4
Author: David Meyer <[email protected]>
Date:   Thu Jan 18 20:55:11 2024 -0500

    Merge pull request #103 from dihm/rtd_build

    Modernize RTD build

commit dd410e48bc3f78c989f2731d42350acc8f0b9408
Author: David Meyer <[email protected]>
Date:   Thu Jan 18 20:51:16 2024 -0500

    Modernize RTD build

commit 5b580ad2cfcf9ec36597eb167d2228e3b8601caf
Author: philipstarkey <[email protected]>
Date:   Thu Jan 4 17:30:11 2024 +1100

    Fix bug with cached imports in utils

commit 4d0089b6e4127717f153ea3844f7d1107d9f786b
Author: philipstarkey <[email protected]>
Date:   Thu Jan 4 17:29:52 2024 +1100

    Fix bug in error condition. This was an error that perviously wasn't raised (message was formed, but not raised), hence why the incorrect condition was never noticed.

commit 96b3dd3722e2919bf07b9e7d345c5498eae637a8
Author: philipstarkey <[email protected]>
Date:   Thu Jan 4 17:28:26 2024 +1100

    Revert change made that tried to write to a property

commit 6d4535b0555b16e7c83fd48a6314b14792336c38
Author: philipstarkey <[email protected]>
Date:   Wed Jan 3 20:40:40 2024 +1100

    * Move `Output` classes to a separate file.
    * `config` also refactored to be inside `compiler`.
    * constants moved into their own file.
    * warnings context managers moved into the `utils` file

commit 63ce8134d4f952b4656bbe62a5203cf2f49263eb
Author: philipstarkey <[email protected]>
Date:   Wed Jan 3 19:59:13 2024 +1100

    Updated output classes to more modern Python and improved some formatting.

    Also fixed a couple of bugs with error messages (not being raised, having incorrect text, etc.)

commit 6e438727738198ca4a64e1b5696bf42bad442d99
Author: philipstarkey <[email protected]>
Date:   Wed Jan 3 16:31:23 2024 +1100

    Moved core classes into their own files. Also moved some utils functions out of labscript.py.

commit 994ccc6d38b8ca525d5536f4f4068ebd5f29f42c
Author: philipstarkey <[email protected]>
Date:   Wed Jan 3 16:14:57 2024 +1100

    Updated core device subclasses (`Pseudoclock`, `ClockLine`, `TriggerableDevice`, `IntermediateDevice`, etc.) to more modern Python and improved some formatting.

    Also fixed a bug in an error message.

commit 461344e37e6ad280de64ccd86a05e38af64ce7d6
Author: philipstarkey <[email protected]>
Date:   Sat Dec 30 21:14:30 2023 +1100

    Break out `Device` class into it's own file

commit 5345e6d0ace1786cca3b2a8cc00d58c71727a3a2
Author: philipstarkey <[email protected]>
Date:   Sat Dec 30 21:11:48 2023 +1100

    Initial work centered around refactoring the `Device` and `compiler` classes, and updating code to take advantage of more modern Python (3.6+) features.
Assets 2
Loading