-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Use --upgrade
flag for user environment pip install
#3077
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
Conversation
Installs the user-provided requirements with the `--upgrade` flag.
--upgrade
flag for user environment pip
install--upgrade
flag for user environment pip install
@ericholscher, by the way, I'd be happy to help out triaging tickets—would you grant me the necessary permissions? |
Sure thing. I added you. I know there is a reason we removed the call to |
Sounds good. Thanks for the permissions! |
I vaguely recall a problem with pip package caching while forcing upgrades. I'm going to bump up plans to test out feature flagging on projects this week. This is yet another case where we could push out a change on a sample and see if it blows up. |
@agjohnson, sounds good! Let me know if I can help. |
…stall (#3201) * Add feature flipping models to Projects, plus example feature flip Also, use a new pattern for API instance objects * Refactoring the make_api_* calls into the API models * Add migrations for proxy models * Add some admin features * Bump setuptools version. * Add feature flip for setuptools latest version Also, add a convenience method on the Project model for feature flag dependent values. * Use `--upgrade` instead of `-U` in `pip` args * Add upgrade flag to user environment pip install Installs the user-provided requirements with the `--upgrade` flag. * Add feature flip for always upgrading user defined packages on pip install We're not yet sure if this will blow up user defined requirements, feature here will be used to test on a sample. Refs #3077 Closes #3077 * Rework feature relationship, add default true value based on date This allows for features on deprecated code, where we can say the feature is true historically. * Fix some issues, more tests * Rename Feature.feature -> Feature.feature_id, other cleanup * Drop setuptools pinning * Use semver for setuptools version * Missed merge conflict
Addresses #3027.
I'm not sure if this will cause undesirable side-effects, so more discussion is needed—but I figured I'd make the PR in any case.