-
Notifications
You must be signed in to change notification settings - Fork 179
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
refactor(hardware): constants from firmware #8995
Conversation
Pipenv can add git repo dependencies, so we can add the opentrons_ot3_firmware repo here. If you want to switch branches you can edit the pipfile (there's not really a better way to do this). This will become a problem if we ever want to depend on this module and get its transitive dependencies because that stuff only reads setup.py, but we don't really do that yet.
This lets us take a bunch of code out how nice
Codecov Report
@@ Coverage Diff @@
## edge #8995 +/- ##
==========================================
+ Coverage 74.72% 74.74% +0.01%
==========================================
Files 1860 1861 +1
Lines 49407 49573 +166
Branches 4857 4931 +74
==========================================
+ Hits 36918 37051 +133
- Misses 11644 11669 +25
- Partials 845 853 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Looks good to me. As long as we aren't losing anything from #8772
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.
LGTM.
* chore(hardware): add firmware python module as dep Pipenv can add git repo dependencies, so we can add the opentrons_ot3_firmware repo here. If you want to switch branches you can edit the pipfile (there's not really a better way to do this). This will become a problem if we ever want to depend on this module and get its transitive dependencies because that stuff only reads setup.py, but we don't really do that yet. * chore(hardware): rely on constants from firmware This lets us take a bunch of code out how nice * add pushing to ot3
Make hardware rely on opentrons-ot3-firmware.
This adds a pipenv git dependency which means you'll have to re-run install a lot. It needs to be editable but that needs some changes to the pyproject.toml itself (which perhaps indicates a failing of the system).
For now, this will probably work.