Skip to content

Commit c406dd4

Browse files
authored
396 update to python 313 (#405)
* Bump version, enabled 3.13 * Update to 3.13.1, removed pythonnet, added packaging
1 parent 8c367f5 commit c406dd4

File tree

2 files changed

+39
-41
lines changed

2 files changed

+39
-41
lines changed

pyproject.toml

Lines changed: 38 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ 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.10, <3.13"
10+
requires-python = ">=3.10, <3.14"
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.8",
18-
"Programming Language :: Python :: 3.9",
1917
"Programming Language :: Python :: 3.10",
2018
"Programming Language :: Python :: 3.11",
2119
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2221
"Programming Language :: Python :: Implementation :: CPython",
2322
"Programming Language :: Python :: Implementation :: PyPy",
2423
"Programming Language :: Python :: 3",
@@ -32,14 +31,14 @@ classifiers = [
3231
dependencies = [
3332
"aiohttp==3.11.10",
3433
"colorama==0.4.6",
34+
"packaging==24.2",
3535
"platformdirs==4.3.6",
3636
"pyserial==3.5",
3737
"python-socketio[asyncio_client]==5.11.4",
38-
"pythonnet==3.0.4",
3938
"requests==2.32.3",
4039
"sensapex==1.400.3",
4140
"rich==13.9.4",
42-
"vbl-aquarium==0.0.22"
41+
"vbl-aquarium==0.0.23"
4342
]
4443

4544
[project.urls]
@@ -59,29 +58,28 @@ path = "src/ephys_link/__about__.py"
5958
exclude = ["/.github", "/.idea"]
6059

6160
[tool.hatch.envs.default]
62-
python = "3.12"
61+
python = "3.13.1"
6362
dependencies = [
64-
"mypy",
65-
"coverage[toml]>=6.5",
66-
"pytest",
67-
]
68-
[tool.hatch.envs.default.scripts]
69-
test = "pytest {args:tests}"
70-
test-cov = "coverage run -m pytest {args:tests}"
71-
cov-report = [
72-
"- coverage combine",
73-
"coverage report",
74-
]
75-
cov = [
76-
"test-cov",
77-
"cov-report",
63+
# "coverage[toml]>=6.5",
64+
# "pytest",
7865
]
66+
#[tool.hatch.envs.default.scripts]
67+
#test = "pytest {args:tests}"
68+
#test-cov = "coverage run -m pytest {args:tests}"
69+
#cov-report = [
70+
# "- coverage combine",
71+
# "coverage report",
72+
#]
73+
#cov = [
74+
# "test-cov",
75+
# "cov-report",
76+
#]
7977

8078
#[[tool.hatch.envs.all.matrix]]
8179
#python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
8280

8381
[tool.hatch.envs.exe]
84-
python = "3.12"
82+
python = "3.13"
8583
dependencies = [
8684
"pyinstaller",
8785
]
@@ -91,32 +89,32 @@ build_onefile = "pyinstaller.exe ephys_link.spec -y"
9189
build_clean = "pyinstaller.exe ephys_link.spec -y --clean"
9290

9391
[tool.hatch.envs.types]
94-
python = "3.12"
92+
python = "3.13"
9593
skip-install = true
9694
dependencies = [
9795
"mypy",
9896
]
9997
[tool.hatch.envs.types.scripts]
10098
check = "mypy --strict --install-types --non-interactive --ignore-missing-imports {args:src/ephys_link tests}"
10199

102-
[tool.coverage.run]
103-
source_pkgs = ["ephys_link", "tests"]
104-
branch = true
105-
parallel = true
106-
omit = [
107-
"src/ephys_link/__about__.py",
108-
]
109-
110-
[tool.coverage.paths]
111-
ephys_link = ["src/ephys_link", "*/ephys-link/src/ephys_link"]
112-
tests = ["tests", "*/ephys-link/tests"]
113-
114-
[tool.coverage.report]
115-
exclude_lines = [
116-
"no cov",
117-
"if __name__ == .__main__.:",
118-
"if TYPE_CHECKING:",
119-
]
100+
#[tool.coverage.run]
101+
#source_pkgs = ["ephys_link", "tests"]
102+
#branch = true
103+
#parallel = true
104+
#omit = [
105+
# "src/ephys_link/__about__.py",
106+
#]
107+
#
108+
#[tool.coverage.paths]
109+
#ephys_link = ["src/ephys_link", "*/ephys-link/src/ephys_link"]
110+
#tests = ["tests", "*/ephys-link/tests"]
111+
#
112+
#[tool.coverage.report]
113+
#exclude_lines = [
114+
# "no cov",
115+
# "if __name__ == .__main__.:",
116+
# "if TYPE_CHECKING:",
117+
#]
120118

121119
[tool.ruff.lint]
122120
extend-ignore = ["DTZ005"]

src/ephys_link/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.0b6"
1+
__version__ = "2.0.0b7"

0 commit comments

Comments
 (0)