-
Notifications
You must be signed in to change notification settings - Fork 178
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
fix: ensure that pipenv is installed. #14469
fix: ensure that pipenv is installed. #14469
Conversation
The current "out-of-the-box" dev experience fails in the following way - `make setup` first invokes - `make setup-js` before it runs `make setup-py` - setup-js invokes a sub-make for the app shell which requires pipenv already setup to build the python protocol analysis sandbox. This is fine if you've already run things before and have pipenv installed locally but it means the standard experience following the dev guides fails. This pulls out the minimal python setup as a dependency of both the setup-py and setup-js build targets
# Both the python and JS setup targets depend on a minimal python setup so they can create | ||
# virtual envs using pipenv. | ||
.PHONY: setup-py-toolchain | ||
setup-py-toolchain: |
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.
open to any naming suggestions here.
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 great to me, thank you for the pull!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #14469 +/- ##
==========================================
- Coverage 67.79% 67.72% -0.07%
==========================================
Files 2518 1628 -890
Lines 72017 54953 -17064
Branches 9244 4147 -5097
==========================================
- Hits 48823 37219 -11604
+ Misses 20990 17043 -3947
+ Partials 2204 691 -1513
Flags with carried forward coverage won't be shown. Click here to find out more. |
The current "out-of-the-box" dev experience fails in the following way - `make setup` first invokes - `make setup-js` before it runs `make setup-py` - setup-js invokes a sub-make for the app shell which requires pipenv already setup to build the python protocol analysis sandbox. This is fine if you've already run things before and have pipenv installed locally but it means the standard experience following the dev guides fails. This pulls out the minimal python setup as a dependency of both the setup-py and setup-js build targets
The current "out-of-the-box" dev experience fails in the following way - `make setup` first invokes - `make setup-js` before it runs `make setup-py` - setup-js invokes a sub-make for the app shell which requires pipenv already setup to build the python protocol analysis sandbox. This is fine if you've already run things before and have pipenv installed locally but it means the standard experience following the dev guides fails. This pulls out the minimal python setup as a dependency of both the setup-py and setup-js build targets
The current "out-of-the-box" dev experience fails in the following way - `make setup` first invokes - `make setup-js` before it runs `make setup-py` - setup-js invokes a sub-make for the app shell which requires pipenv already setup to build the python protocol analysis sandbox. This is fine if you've already run things before and have pipenv installed locally but it means the standard experience following the dev guides fails. This pulls out the minimal python setup as a dependency of both the setup-py and setup-js build targets
Overview
The current "out-of-the-box" dev experience fails in the following way
make setup
first invokesmake setup-js
before it runsmake setup-py
This is fine if you've already run things before and have pipenv installed locally but it means the standard experience following the dev guides fails.
This pulls out the minimal python setup as a dependency of both the setup-py and setup-js build targets
Test Plan
Manually tested from a clean repo and then re-ran setup in a repo that was already setup.
Changelog
Risk assessment
n/a