Skip to content

Commit 761ff35

Browse files
committed
Simplified optional dependency keys used in 'pyproject.toml'; 'instrument-server' as a key is no longer needed
1 parent bc15f7e commit 761ff35

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Dockerfiles/murfey-instrument-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN apt-get update && \
3232
pip \
3333
build \
3434
importlib-metadata && \
35-
/venv/bin/python -m pip install /python-murfey[client,instrument-server]
35+
/venv/bin/python -m pip install /python-murfey[client]
3636

3737

3838
# Transfer completed Murfey build to base image

pyproject.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ classifiers = [
2929
"Programming Language :: Python :: 3.12",
3030
]
3131
dependencies = [
32+
"aiohttp",
3233
"defusedxml", # For safely parsing XML files
34+
"fastapi[standard-no-fastapi-cloud-cli]>=0.116.0",
3335
"pydantic>=2",
3436
"pydantic-settings",
37+
"python-jose",
3538
"requests",
3639
"rich",
3740
"werkzeug",
@@ -42,7 +45,6 @@ cicd = [
4245
"pytest-cov", # Used for generating PyTest coverage reports
4346
]
4447
client = [
45-
"textual==0.42.0",
4648
"websocket-client",
4749
]
4850
developer = [
@@ -52,15 +54,8 @@ developer = [
5254
"pytest", # Test code functionality
5355
"pytest-mock", # Additional mocking tools for unit tests
5456
]
55-
instrument-server = [
56-
"aiohttp",
57-
"fastapi[standard-no-fastapi-cloud-cli]>=0.116.0",
58-
"python-jose",
59-
]
6057
server = [
61-
"aiohttp",
6258
"cryptography",
63-
"fastapi[standard-no-fastapi-cloud-cli]>=0.116.0",
6459
"graypy",
6560
"ispyb>=10.2.4", # Responsible for setting requirements for SQLAlchemy and mysql-connector-python;
6661
"jinja2",
@@ -70,7 +65,6 @@ server = [
7065
"passlib",
7166
"pillow",
7267
"prometheus_client",
73-
"python-jose[cryptography]",
7468
"sqlalchemy[postgresql]", # Add as explicit dependency
7569
"sqlmodel",
7670
"stomp-py>8.1.1", # 8.1.1 (released 2024-04-06) doesn't work with our project

0 commit comments

Comments
 (0)