Skip to content

Commit 4291fcb

Browse files
mcp-utils is now on pypiy
1 parent 3e2e13e commit 4291fcb

File tree

6 files changed

+7
-34
lines changed

6 files changed

+7
-34
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ jobs:
6060
- name: 🏗 Install dependencies
6161
run: |
6262
python -m pip install --upgrade pip
63-
- name: 🔨 Build mcp_utils wheel (from tag)
64-
run: |
65-
mkdir -p wheels
66-
# Build from the tagged version
67-
pip wheel --no-deps -w wheels git+https://github.com/pioreactor/mcp-utils.git@2.0.1
6863
- name: 🔨 Download wheels for all dependencies
6964
run: |
7065
pip download -d wheels \

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
waste_: 0.5
1919
```
2020
- Advanced config for automations: the UI’s “Advanced” menu (temporary config overrides at start) is now available when launching automations, not just individual jobs. The options shown come from the `[<job_name>.config]` section.
21+
- CLI: added leader-only experiment management commands — `pio experiment create <NAME>`, `pio experiment list`, and `pio experiment delete <NAME>`.
2122

2223
#### Bug fixes
2324

config.dev.ini

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ C=
1515
D=
1616

1717

18-
19-
[air_bubbler]
20-
# this should be tuned to produce modest bubbles
21-
duty_cycle=10
22-
23-
24-
2518
[bioreactor]
2619
# max_working_volume_ml is determined by the volume that just touches the outflow tube. I.e. if you
2720
# where to keep running the waste pump, what would the stable volume be.
@@ -91,13 +84,6 @@ leader_hostname=localhost
9184
leader_address=localhost
9285

9386

94-
[cluster.inventory]
95-
testing_unit=0
96-
localhost=0
97-
pioreactor2=1
98-
pioreactor3=0
99-
100-
10187
[ui.overview.settings]
10288
filtered_od_lookback_minutes=240
10389
raw_od_lookback_minutes=240
@@ -114,7 +100,7 @@ proto=http
114100
# 1 is show, 0 is hide
115101
implied_growth_rate=1
116102
implied_daily_growth_rate=0
117-
fraction_of_volume_that_is_alternative_media=0
103+
fraction_of_volume_that_is_alternative_media=1
118104
normalized_optical_density=1
119105
raw_optical_density=1
120106
temperature=1
@@ -124,6 +110,7 @@ temperature=1
124110
# 1 is show, 0 is hide
125111
dosings=1
126112
event_logs=1
113+
profiles=1
127114

128115

129116
[dosing_automation.pid_morbidostat]
@@ -137,16 +124,6 @@ Kp=.01
137124
Ki=.01
138125
Kd=.01
139126

140-
[data_sharing_with_pioreactor]
141-
# This enables sending error logs back to us developers at Pioreactor.
142-
# (switch to 1 to enable sending, 0 to disable any sending)
143-
send_errors_to_Pioreactor=1
144-
# This enables sending optical density statistics back to us developers at Pioreactor.
145-
# We use this data to fine tune the Pioreactor's statistical models.
146-
# (switch to 1 to enable sending, 0 to disable any sending)
147-
send_od_statistics_to_Pioreactor=1
148-
149-
150127
[mqtt]
151128
username=pioreactor
152129
password=raspberry

core/pioreactor/actions/self_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_REF_is_lower_than_0_dot_256_volts(
284284
ir_channel = cast(LedChannel, config["leds_reverse"][IR_keyword])
285285
config_ir_intensity = config.get("od_reading.config", "ir_led_intensity")
286286
if config_ir_intensity == "auto":
287-
ir_intensity = 50.0 # this has been our historical default, and should generally work. Default now is "auto", which targets 0.225 V into REF
287+
ir_intensity = 70.0 # this has been our historical default, and should generally work. Default now is "auto", which targets 0.225 V into REF
288288
else:
289289
ir_intensity = float(config_ir_intensity)
290290

@@ -467,10 +467,10 @@ def _run(self, managed_state, logger: CustomLogger, unit: str, testing_experimen
467467
for test in self.tests_to_run:
468468
test_name = test.__name__
469469

470+
res = True
470471
logger.debug(f"Starting test {test_name}...")
471472
try:
472473
test(managed_state, logger, unit, testing_experiment)
473-
res = True
474474
except Exception as e:
475475
res = False
476476
logger.debug(e, exc_info=True)

core/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
LEADER_REQUIREMENTS: list[str] = [
32-
"mcp_utils==2.0.1", # NOTE: if updating this version, create a tag in the local repo, push to gh, and update the build.yaml in this repo.
32+
"mcp-utils-msgspec==2.1.0",
3333
]
3434

3535

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
-r requirements.txt
2-
mcp_utils==2.0.1
2+
mcp-utils-msgspec==2.1.0

0 commit comments

Comments
 (0)