Make ax-platform an optional dependency and incorporate into environment.yml#269
Conversation
Co-authored-by: sgbaird <45469701+sgbaird@users.noreply.github.com>
sgbaird
left a comment
There was a problem hiding this comment.
@copilot are there any other notebooks or places where installations occur that should get this optional dependency installed? (I.e., other pip install locations). Also, use [ax-platform] as the optional dependency specifier, to avoid confusion with people thinking it can be installed via pip install ax
…pdate all relevant notebooks Co-authored-by: sgbaird <45469701+sgbaird@users.noreply.github.com>
I've found and updated all pip install locations that use Bayesian optimization functionality to include the
I also updated the README.md to document the optional dependency installation. Commit: b2e82f4 |
|
@copilot see recent test logs. Looks like you may need to update this in the test files as well. |
…eded Co-authored-by: sgbaird <45469701+sgbaird@users.noreply.github.com>
I've updated the CI workflows and test dependencies to properly include the
This should resolve the test failures while maintaining the optional dependency structure. Commit: 1703095 |
Co-authored-by: sgbaird <45469701+sgbaird@users.noreply.github.com>
|
Note to self - after doing a search (https://github.com/search?q=%22self-driving-lab-demo%22&type=code&p=2) I also realized I need to check upstream a bit. |
Pull Request Test Coverage Report for Build 15482247679Details
💛 - Coveralls |
This PR makes
ax-platforman optional dependency as requested in issue #268, allowing users to install the package without the heavy Bayesian optimization dependencies when they don't need that functionality.Changes Made
1. setup.cfg
ax-platform < 1frominstall_requiresto a new[ax]section inextras_requirepip install self-driving-lab-demo[ax]to get Bayesian optimization functionality2. environment.yml
ax-platformto pip dependencies list3. notebooks/4.2-paho-mqtt-colab-sdl-demo-test.ipynb
%pip install git+https://github.com/sparks-baird/self-driving-lab-demo.git%pip install "git+https://github.com/sparks-baird/self-driving-lab-demo.git[ax]"Benefits
Usage Examples
Testing
Fixes #268.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.