Skip to content

Commit

Permalink
no zero padding
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Nov 13, 2023
1 parent 67e3f3e commit 5f2d543
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- No more waiting around for growth-rate-calculating to get to "Ready" state
- The "Label" step in the New Experiment flow is skipped if there is only 1 active Pioreactor in the cluster.
- Silenced the "LED is locked" warning - now it's a DEBUG level message.
- Fixed bug that wasn't passing lists correctly in `TopicToParserToTable`
-

### 23.11.08

Expand Down
2 changes: 1 addition & 1 deletion pioreactor/background_jobs/leader/mqtt_to_db_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def initialize_callbacks(self, topics_and_callbacks: list[TopicToCallback]) -> N
for topic_and_callback in topics_and_callbacks:
self.subscribe_and_callback(
topic_and_callback.callback,
topic_and_callback.topic,
topic_and_callback.topic, # this can be a str, or list of str
qos=QOS.EXACTLY_ONCE,
allow_retained=False,
)
Expand Down
10 changes: 10 additions & 0 deletions pioreactor/tests/test_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from __future__ import annotations

from pioreactor.version import __version__


def test_no_zero_padding():
parts = __version__.split(".")
for p in parts:
assert not p.startswith("0")
3 changes: 2 additions & 1 deletion pioreactor/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

# Append "dev" if a dev version
# Append "rc0" if a rc version
__version__ = "23.11.08dev"
# No zero padding!
__version__ = "23.11.8dev"


def _get_hardware_version() -> tuple[int, int] | tuple[int, int, str]:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"plotext==5.2.8",
]


setup(
name="pioreactor",
version=__version__, # type: ignore # noqa: F821
Expand Down

0 comments on commit 5f2d543

Please sign in to comment.