From c78de65fe6db44ef6e8b6d939b3f1f89665e2d69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Feb 2025 02:35:53 +0000 Subject: [PATCH 1/2] Bump the all-minor-and-patch-dependency-updates group with 7 updates Bumps the all-minor-and-patch-dependency-updates group with 7 updates: | Package | From | To | | --- | --- | --- | | [bandit](https://github.com/PyCQA/bandit) | `1.8.0` | `1.8.2` | | [setuptools](https://github.com/pypa/setuptools) | `75.7.0` | `75.8.0` | | [fastapi](https://github.com/fastapi/fastapi) | `0.115.6` | `0.115.8` | | [numpy](https://github.com/numpy/numpy) | `2.2.1` | `2.2.2` | | [scipy](https://github.com/scipy/scipy) | `1.15.0` | `1.15.1` | | [tox](https://github.com/tox-dev/tox) | `4.23.2` | `4.24.1` | | [ruff](https://github.com/astral-sh/ruff) | `0.8.6` | `0.9.4` | Updates `bandit` from 1.8.0 to 1.8.2 - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.8.0...1.8.2) Updates `setuptools` from 75.7.0 to 75.8.0 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.7.0...v75.8.0) Updates `fastapi` from 0.115.6 to 0.115.8 - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](https://github.com/fastapi/fastapi/compare/0.115.6...0.115.8) Updates `numpy` from 2.2.1 to 2.2.2 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v2.2.1...v2.2.2) Updates `scipy` from 1.15.0 to 1.15.1 - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](https://github.com/scipy/scipy/compare/v1.15.0...v1.15.1) Updates `tox` from 4.23.2 to 4.24.1 - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.23.2...4.24.1) Updates `ruff` from 0.8.6 to 0.9.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.8.6...0.9.4) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-and-patch-dependency-updates - dependency-name: setuptools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-minor-and-patch-dependency-updates - dependency-name: fastapi dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-and-patch-dependency-updates - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-and-patch-dependency-updates - dependency-name: scipy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-minor-and-patch-dependency-updates - dependency-name: tox dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-minor-and-patch-dependency-updates - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-minor-and-patch-dependency-updates ... Signed-off-by: dependabot[bot] --- requirements/build.txt | 2 +- requirements/dev.txt | 2 +- requirements/prd.txt | 6 +++--- requirements/test.txt | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements/build.txt b/requirements/build.txt index 4db5d3ed..b81541f7 100644 --- a/requirements/build.txt +++ b/requirements/build.txt @@ -1,3 +1,3 @@ build==1.2.2.post1 -setuptools==75.7.0 +setuptools==75.8.0 setuptools_scm[toml]==8.1.0 diff --git a/requirements/dev.txt b/requirements/dev.txt index 97475114..fc411d57 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1 +1 @@ -tox==4.23.2 +tox==4.24.1 diff --git a/requirements/prd.txt b/requirements/prd.txt index 2e42906c..eff8caf1 100644 --- a/requirements/prd.txt +++ b/requirements/prd.txt @@ -1,8 +1,8 @@ -fastapi==0.115.6 -numpy==2.2.1 +fastapi==0.115.8 +numpy==2.2.2 duckdb==1.1.3 pydantic==2.7.4 pydantic-settings==2.7.1 pyserial==3.5 uvicorn[standard]==0.34.0 -scipy==1.15.0 +scipy==1.15.1 diff --git a/requirements/test.txt b/requirements/test.txt index 3cb40284..b443ec1c 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,6 +1,6 @@ -bandit==1.8.0 +bandit==1.8.2 deepdiff==8.1.1 httpx==0.28.1 -ruff==0.8.6 +ruff==0.9.4 pytest==8.3.4 pytest-cov==6.0.0 From 6d51b9af02f693895c94c4f21da69105b1289eca Mon Sep 17 00:00:00 2001 From: Arik Mitschang Date: Wed, 5 Feb 2025 11:14:14 -0500 Subject: [PATCH 2/2] fix style for new ruff version --- evolver/hardware/standard/pump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evolver/hardware/standard/pump.py b/evolver/hardware/standard/pump.py index 60647109..257064c0 100644 --- a/evolver/hardware/standard/pump.py +++ b/evolver/hardware/standard/pump.py @@ -84,7 +84,7 @@ def commit(self): hz_a = [float(input.volume)] * 3 for solenoid, hz in enumerate(hz_a): # solenoid is 1-indexed on hardware - cmd[pump * 3 + solenoid] = f"{hz}|{pump}|{solenoid+1}" + cmd[pump * 3 + solenoid] = f"{hz}|{pump}|{solenoid + 1}" elif any(pump - i < 3 for i in self.ipp_pumps): raise ValueError(f"pump slot {pump} reserved for IPP pump, cannot address as standard") else: @@ -99,7 +99,7 @@ def off(self): cmd = [b"0"] * self.slots for pump in self.ipp_pumps: for solenoid in range(3): - cmd[pump * 3 + solenoid] = f"0|{pump}|{solenoid+1}".encode() + cmd[pump * 3 + solenoid] = f"0|{pump}|{solenoid + 1}".encode() with self.serial as comm: comm.communicate(SerialData(addr=self.addr, data=cmd))