Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- "v*"

permissions:
contents: write

jobs:
# Publish Python package to PyPI.
publish-to-pypi:
Expand Down
2 changes: 1 addition & 1 deletion .idea/ephys-link.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ name = "ephys-link"
dynamic = ["version"]
description = "A Python Socket.IO server that allows any Socket.IO-compliant application to communicate with manipulators used in electrophysiology experiments."
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.10"
license = "GPL-3.0-only"
keywords = ["socket-io", "manipulator", "electrophysiology", "ephys", "sensapex", "neuroscience", "neurotech", "virtualbrainlab", "new-scale"]
authors = [{ name = "Kenneth Yang", email = "kjy5@uw.edu" }]
maintainers = [{ name = "Kenneth Yang", email = "kjy5@uw.edu" }]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
Expand All @@ -36,7 +35,7 @@ dependencies = [
"requests==2.32.5",
"sensapex==1.400.4",
"rich==14.2.0",
"vbl-aquarium==1.0.0"
"vbl-aquarium==1.0.1"
]

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

[tool.hatch.envs.default]
installer = "uv"
python = "3.13"
python = "3.14"
dependencies = [
"pyinstaller==6.15.0",
"basedpyright==1.31.4",
"pyinstaller==6.16.0",
"basedpyright==1.32.1",
"pytest==8.4.2",
"pytest-cov==6.3.0",
"pytest-mock==3.15.0",
"pytest-asyncio==1.1.0"
"pytest-cov==7.0.0",
"pytest-mock==3.15.1",
"pytest-asyncio==1.2.0"
]
[tool.hatch.envs.default.scripts]
exe = "pyinstaller.exe ephys_link.spec -y -- -d && pyinstaller.exe ephys_link.spec -y"
Expand All @@ -76,7 +75,7 @@ cov = "pytest --cov=ephys_link --cov-report=html --cov-report=term-missing"

[tool.hatch.envs.docs]
installer = "uv"
python = "3.13"
python = "3.14"
skip-install = true
dependencies = [
"mkdocs-material==9.6.19",
Expand Down
4 changes: 2 additions & 2 deletions tests/back_end/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def run_coroutine(coroutine: Awaitable[None]) -> None:
patched_get_event_loop.assert_called_once()
spied_info_print.assert_any_call("PLATFORM", platform_handler.get_display_name())
spied_info_print.assert_any_call("MANIPULATORS", str(DUMMY_STRING_LIST))
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY) # pyright: ignore[reportAny]
spied_info_print.assert_any_call("PINPOINT ID", mocker.ANY)
patched_connect.assert_awaited_once() # pyright: ignore[reportUnusedCallResult]
patched_wait.assert_awaited_once() # pyright: ignore[reportUnusedCallResult]

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