-
Notifications
You must be signed in to change notification settings - Fork 51
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
Optional Dependencies #967
Conversation
Add instructions to the documentation for installing dependencies for the following features:
|
Tutorial language: "...this package may not be included in some Tethys installations, so you should include it as a dependency of your app to ensure it is installed." |
@swainn We need to rebase this branch on master. I'm inclined to squash the commits and then rebase and force push. That would require you (and anyone else that has this branch checked out) to re-set it (or delete and re-checkout). Do you have any changes to push before I do that? |
Sounds like a good plan to me. I don't have any changes that I need to merge. |
49d9960
to
e0765a8
Compare
9269b9e
to
2188b00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from my other comments I have one other concern: how are we testing the micro version / optional dependencies. I think we decided that it was too complex to test both ways, but I wonder if there is a straightforward way to modify tests that are affected by an optional dependency. Something like a try: except:
that catches the exception raised? Maybe as a decorator so we can easily add it to the tests that need it. Have you tried anything like that?
make all possible dependencies optional tests passing add min env file add additional_url_patterns add oauth2_provider remove warning about user keys Fix pygments lexer warnings in docs build Add install dependency tip box to plot gizmos. black formatting fix lint Removed lingering references to the old developer tools page Add "Starting with Tethys 5.0..." Update tutorial to require installing plotly optional dep notes for Tethys Portal configuration Fixes typo in GRAVATAR_DEFAULT_SECURE setting Replace deprecated Axes setting in docs. Note: settings.py is updated in master docs for social_auth, mf2, and simple_captcha Reviewed manual production configuration docs for optional args REST API and Terms and conditions optional deps JSON Custom setting optional dependency docs MapLayout and pyshp optional dependency. document template tags most optional dependencies documented
2188b00
to
8058cb1
Compare
…le Gizmo statuses, and allow sorting of the JobsTable.
update tutorial docs for optional dependencies remove references to UrlMaps in gizmo docs
@swainn I've finished the docs for this PR, so it should be ready to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I Approve
This PR makes most Python dependencies optional.
TODO:
tethys gen metayaml
to generate minimal and full versions of the environmentmicro-tethys-platform
package in addition to the "normal/full" build