Skip to content

Commit 9e5b777

Browse files
authored
Bump python (#488)
* Update dependencies * Update vbl aquarium
1 parent 55d903a commit 9e5b777

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- "v*"
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
# Publish Python package to PyPI.
1013
publish-to-pypi:

.idea/ephys-link.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ name = "ephys-link"
77
dynamic = ["version"]
88
description = "A Python Socket.IO server that allows any Socket.IO-compliant application to communicate with manipulators used in electrophysiology experiments."
99
readme = "README.md"
10-
requires-python = ">=3.13"
10+
requires-python = ">=3.10"
1111
license = "GPL-3.0-only"
1212
keywords = ["socket-io", "manipulator", "electrophysiology", "ephys", "sensapex", "neuroscience", "neurotech", "virtualbrainlab", "new-scale"]
1313
authors = [{ name = "Kenneth Yang", email = "[email protected]" }]
1414
maintainers = [{ name = "Kenneth Yang", email = "[email protected]" }]
1515
classifiers = [
1616
"Programming Language :: Python",
17-
"Programming Language :: Python :: 3.13",
1817
"Programming Language :: Python :: Implementation :: CPython",
1918
"Programming Language :: Python :: Implementation :: PyPy",
2019
"Programming Language :: Python :: 3",
@@ -36,7 +35,7 @@ dependencies = [
3635
"requests==2.32.5",
3736
"sensapex==1.400.4",
3837
"rich==14.2.0",
39-
"vbl-aquarium==1.0.0"
38+
"vbl-aquarium==1.0.1"
4039
]
4140

4241
[project.urls]
@@ -57,14 +56,14 @@ exclude = ["/.github", "/.idea", "/docs"]
5756

5857
[tool.hatch.envs.default]
5958
installer = "uv"
60-
python = "3.13"
59+
python = "3.14"
6160
dependencies = [
62-
"pyinstaller==6.15.0",
63-
"basedpyright==1.31.4",
61+
"pyinstaller==6.16.0",
62+
"basedpyright==1.32.1",
6463
"pytest==8.4.2",
65-
"pytest-cov==6.3.0",
66-
"pytest-mock==3.15.0",
67-
"pytest-asyncio==1.1.0"
64+
"pytest-cov==7.0.0",
65+
"pytest-mock==3.15.1",
66+
"pytest-asyncio==1.2.0"
6867
]
6968
[tool.hatch.envs.default.scripts]
7069
exe = "pyinstaller.exe ephys_link.spec -y -- -d && pyinstaller.exe ephys_link.spec -y"
@@ -76,7 +75,7 @@ cov = "pytest --cov=ephys_link --cov-report=html --cov-report=term-missing"
7675

7776
[tool.hatch.envs.docs]
7877
installer = "uv"
79-
python = "3.13"
78+
python = "3.14"
8079
skip-install = true
8180
dependencies = [
8281
"mkdocs-material==9.6.19",

tests/back_end/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def run_coroutine(coroutine: Awaitable[None]) -> None:
146146
patched_get_event_loop.assert_called_once()
147147
spied_info_print.assert_any_call("PLATFORM", platform_handler.get_display_name())
148148
spied_info_print.assert_any_call("MANIPULATORS", str(DUMMY_STRING_LIST))
149-
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY) # pyright: ignore[reportAny]
149+
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY)
150150
patched_connect.assert_awaited_once() # pyright: ignore[reportUnusedCallResult]
151151
patched_wait.assert_awaited_once() # pyright: ignore[reportUnusedCallResult]
152152

@@ -194,7 +194,7 @@ def run_coroutine(coroutine: Awaitable[None]) -> None:
194194
patched_get_event_loop.assert_called_once()
195195
spied_info_print.assert_any_call("PLATFORM", platform_handler.get_display_name())
196196
spied_info_print.assert_any_call("MANIPULATORS", str(DUMMY_STRING_LIST))
197-
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY) # pyright: ignore[reportAny]
197+
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY)
198198
assert init_error.value.args[0] == PROXY_CLIENT_NOT_INITIALIZED_ERROR
199199
patched_connect.assert_not_awaited() # pyright: ignore[reportUnusedCallResult]
200200
patched_wait.assert_not_awaited() # pyright: ignore[reportUnusedCallResult]

0 commit comments

Comments
 (0)