Skip to content

Add "make mini-devel" to install minimal dev dependencies (i.e. doesn't install all the test dependencies)#1407

Merged
tvst merged 6 commits intostreamlit:developfrom
tvst:mini-deps
May 11, 2020
Merged

Add "make mini-devel" to install minimal dev dependencies (i.e. doesn't install all the test dependencies)#1407
tvst merged 6 commits intostreamlit:developfrom
tvst:mini-deps

Conversation

@tvst
Copy link
Copy Markdown
Contributor

@tvst tvst commented May 3, 2020

This PR introduces the make mini-devel command to our Makefile.

make mini-devel is the same as make all-devel but only installs dependencies you need to develop locally, assuming you don't need to run tests on your own machine. This is useful because our tests bring in a ton of dependencies that don't have much to do with the majority of development that our engineers do.

For this to work, I moved the test dependencies out of Pipfile and into
test-requirements.txt

This is based on this discussion, in our old private eng forums (which is now deprecated!)
https://discuss.streamlit.io/t/reducing-streamlit-dev-dependencies/2644/3

@tvst tvst requested a review from a team as a code owner May 3, 2020 06:25
@tvst tvst requested a review from jrhone May 3, 2020 06:25
@tvst tvst force-pushed the mini-deps branch 3 times, most recently from e1decf3 to 87a1270 Compare May 5, 2020 08:28
…'t install all the test dependencies)

For this to work, I moved the test dependencies out of Pipfile and into
test-requirements.txt
@tvst tvst mentioned this pull request May 7, 2020
@tvst tvst merged commit 61b6bb6 into streamlit:develop May 11, 2020
@tvst tvst deleted the mini-deps branch May 11, 2020 09:54
tconkling added a commit that referenced this pull request May 11, 2020
* develop:
  Add "make mini-devel" to install minimal dev dependencies (i.e. doesn't install all the test dependencies) (#1407)
  Fixing date_input | min and max selectable date issues (#1426)
  Torch Tensorbase hash func (#1394)
  Change list() cast (#1401)
  Add geo layers to DeckGlJsonChart (#1306)
  Clean up use of LoDash (#1404)
  Replace st.beta.*/st.experimental.* with st.beta_*/st.experimental_* (#1403)
  Release 0.59.0 (#1405)
  Setting textarea height and unit tests (#1411)
tconkling added a commit to tconkling/streamlit that referenced this pull request May 11, 2020
* feature/plugins:
  black reformatting
  Add "make mini-devel" to install minimal dev dependencies (i.e. doesn't install all the test dependencies) (streamlit#1407)
  Fixing date_input | min and max selectable date issues (streamlit#1426)
  Torch Tensorbase hash func (streamlit#1394)
  Change list() cast (streamlit#1401)
  Component template tweaks
  Components: alpha 2 cleanup (streamlit#1425)
  Fix dataframe support
  Add geo layers to DeckGlJsonChart (streamlit#1306)
  Clean up use of LoDash (streamlit#1404)
  Replace st.beta.*/st.experimental.* with st.beta_*/st.experimental_* (streamlit#1403)
  Release 0.59.0 (streamlit#1405)
  Setting textarea height and unit tests (streamlit#1411)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants