Skip to content

Commit

Permalink
Upgrade zhinst-comms to 1.1.0
Browse files Browse the repository at this point in the history
Upgrade to the first "official" version of zhinst-comms. The only
practical change from version 0.0.1 is that 1.1.0 supports string
representation for all types. This is not a breaking change, and
normally a switch of the major version would not be required, but
I wanted to move away from the 0.x versions.
  • Loading branch information
Fabio Rossetto authored and fabiorossetto committed Jul 2, 2024
1 parent a7f73f8 commit 8b441b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
dependencies = [
"typing_extensions>=4.8.0",
"numpy>=1.20",
"zhinst-comms~=0.0.1",
"zhinst-comms~=1.1.0",
]

[project.urls]
Expand Down Expand Up @@ -88,7 +88,7 @@ dependencies = [
"mypy>=1.0.0",
"ruff>=0.4.0",
"numpy>=1.20",
"zhinst-comms~=0.0.1",
"zhinst-comms~=1.1.0",
]

[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/labone/nodetree/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def split_path(path: LabOneNodePath) -> list[NormalizedPathSegment]:
return []
path_segments = path.split(PATH_SEPERATOR)
first_item_index = 0
if path_segments[0] == "": #
if path_segments[0] == "":
# this happens if the path started with '/'
# ignore leading '/'
first_item_index = 1
Expand Down

0 comments on commit 8b441b8

Please sign in to comment.