-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-31167][BUILD] Refactor how we track Python test/build dependencies #27928
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
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7a20608
missing test dependencies
nchammas 7273851
add docs requirements file
nchammas 0a9cbbc
reference new docs requirements file
nchammas 9c3a7af
pin doc gem requirements in github workflow
nchammas de9fbbd
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas 1086d81
merge docs reqs into general dev reqs
nchammas cd05e25
merged reqs
nchammas 4326933
open python reqs to latest patch version
nchammas 75682a6
Unidecode 04 -> 4
nchammas bb83262
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas 839669d
add requirements and pinned requirements
nchammas 473c85d
requirements.txt -> requirements-pinned.txt
nchammas 4b540a9
run pip-tools from within dev/
nchammas b088d15
add dev readme
nchammas 9704c60
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas 7df0040
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas bae2c0c
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas e21d97d
Merge branch 'master' of https://github.com/apache/spark into SPARK-3…
nchammas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,20 @@ | ||
| # Spark Developer Scripts | ||
|
|
||
| This directory contains scripts useful to developers when packaging, | ||
| testing, or committing to Spark. | ||
|
|
||
| Many of these scripts require Apache credentials to work correctly. | ||
|
|
||
| ## Managing Python-based Development Requirements | ||
|
|
||
| * For local development, use `requirements.txt`. | ||
| * For continuous integration and release engineering, use `requirements-pinned.txt`. | ||
| * `requirements-pinned.txt` is generated automatically from `requirements.txt`, so don't update it by hand. | ||
|
|
||
| To update `requirements-pinned.txt`, use pip-tools: | ||
|
|
||
| ```sh | ||
| pip install pip-tools | ||
| cd dev/ | ||
| pip-compile requirements.txt --output-file requirements-pinned.txt | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # | ||
| # This file is autogenerated by pip-compile | ||
| # To update, run: | ||
| # | ||
| # pip-compile --output-file=requirements-pinned.txt requirements.txt | ||
| # | ||
| alabaster==0.7.12 # via sphinx | ||
| babel==2.8.0 # via sphinx | ||
| certifi==2019.11.28 # via requests | ||
| cffi==1.14.0 # via cryptography | ||
| chardet==3.0.4 # via requests | ||
| click==7.1.1 # via mkdocs, pip-tools | ||
| cryptography==2.8 # via oauthlib | ||
| defusedxml==0.6.0 # via jira | ||
| deprecated==1.2.7 # via pygithub | ||
| docutils==0.16 # via sphinx | ||
| entrypoints==0.3 # via flake8 | ||
| flake8==3.7.9 # via -r requirements.txt | ||
| future==0.18.2 # via lunr | ||
| idna==2.9 # via requests | ||
| imagesize==1.2.0 # via sphinx | ||
| jinja2==2.11.1 # via mkdocs, sphinx | ||
| jira==2.0.0 # via -r requirements.txt | ||
| livereload==2.6.1 # via mkdocs | ||
| lunr[languages]==0.5.6 # via mkdocs | ||
| markdown==3.2.1 # via mkdocs | ||
| markupsafe==1.1.1 # via jinja2 | ||
| mccabe==0.6.1 # via flake8 | ||
| mkdocs==1.1 # via -r requirements.txt | ||
| nltk==3.4.5 # via lunr | ||
| numpy==1.18.2 # via -r requirements.txt, pandas, pyarrow | ||
| oauthlib[signedtoken]==3.1.0 # via jira, requests-oauthlib | ||
| packaging==20.3 # via sphinx | ||
| pandas==1.0.3 # via -r requirements.txt | ||
| pbr==5.4.4 # via jira | ||
| pip-tools==4.5.1 # via -r requirements.txt | ||
| pyarrow==0.16.0 # via -r requirements.txt | ||
| pycodestyle==2.5.0 # via -r requirements.txt, flake8 | ||
| pycparser==2.20 # via cffi | ||
| pyflakes==2.1.1 # via flake8 | ||
| pygithub==1.47 # via -r requirements.txt | ||
| pygments==2.6.1 # via sphinx | ||
| pyjwt==1.7.1 # via oauthlib, pygithub | ||
| pyparsing==2.4.6 # via packaging | ||
| python-dateutil==2.8.1 # via pandas | ||
| pytz==2019.3 # via babel, pandas | ||
| pyyaml==5.3.1 # via mkdocs | ||
| requests-oauthlib==1.3.0 # via jira | ||
| requests-toolbelt==0.9.1 # via jira | ||
| requests==2.23.0 # via jira, pygithub, requests-oauthlib, requests-toolbelt, sphinx | ||
| six==1.14.0 # via cryptography, jira, livereload, lunr, nltk, packaging, pip-tools, pyarrow, python-dateutil | ||
| snowballstemmer==2.0.0 # via sphinx | ||
| sphinx==2.4.4 # via -r requirements.txt | ||
| sphinxcontrib-applehelp==1.0.2 # via sphinx | ||
| sphinxcontrib-devhelp==1.0.2 # via sphinx | ||
| sphinxcontrib-htmlhelp==1.0.3 # via sphinx | ||
| sphinxcontrib-jsmath==1.0.1 # via sphinx | ||
| sphinxcontrib-qthelp==1.0.3 # via sphinx | ||
| sphinxcontrib-serializinghtml==1.1.4 # via sphinx | ||
| tornado==6.0.4 # via livereload, mkdocs | ||
| unidecode==1.1.1 # via -r requirements.txt | ||
| urllib3==1.25.8 # via requests | ||
| wrapt==1.12.1 # via deprecated | ||
|
|
||
| # The following packages are considered to be unsafe in a requirements file: | ||
| # setuptools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,21 @@ | ||
| flake8==3.5.0 | ||
| jira==1.0.3 | ||
| PyGithub==1.26.0 | ||
| Unidecode==0.04.19 | ||
| # testing | ||
| flake8 | ||
| pycodestyle | ||
|
|
||
| # dev/release tools | ||
| jira | ||
| pip-tools | ||
| PyGithub | ||
| Unidecode | ||
|
|
||
| # docs | ||
| mkdocs | ||
| sphinx | ||
|
|
||
| # PySpark | ||
| # It's difficult to compile dependencies by directly referencing | ||
| # python/setup.py due to a limitation of pip-tools. | ||
| # See: https://github.com/jazzband/pip-tools/issues/908 | ||
| numpy | ||
| pandas | ||
| pyarrow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.