-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional dependencies #900
base: develop
Are you sure you want to change the base?
Add optional dependencies #900
Conversation
This is kind of an experiment. I do not know if it will go well or not, but I believe it is worth trying a bit at least. So far I managed to add quite a bit of optional dependencies. Some are still missing. |
Adding |
7651a33
to
3453155
Compare
With the following change: diff --git a/pyproject.toml b/pyproject.toml
index 7e21f97f..c1d5fd04 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,7 +26,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
-#bliss = { version = "*", optional = true , python = "<3.10" }
+bliss = { version = "*", optional = true , python = "<3.10" }
devtools = { version = "^0.12.2", optional = true }
pyepics = {version = "^3.5.2", optional = true}
pymba = {version = "^0.3.7", optional = true}
@@ -80,7 +80,7 @@ furo = "^2023.9.10"
# tine <https://tine.desy.de/>
# v4l2
-#bliss = ["bliss"]
+bliss = ["bliss"]
epics = ["pyepics"]
tango = ["pytango", "sardana" Poetry (under both Python 3.8 and 3.9) ends up failing on trying to install
|
GitHub: fixes mxcube#885
3453155
to
f7c6839
Compare
Should we keep this one open ? |
Depends if it is a worthwhile task or not... I think it would be good to have all dependencies listed. I do not know how others handle deployment if not all dependencies are listed. How do facilities know what needs to be installed? Where do they keep their list of dependencies? This is something I am interested in. This is something we discussed a bit in our breakout room at the code camp, but did not manage to get to the bottom of things. Maybe the questionnaire we worked on, could help shed some light on this. But on the other hand, if everyone is happy with things as they are, then maybe I can focus on MAX IV dependencies only and ignore the rest. |
GitHub: fixes #885