-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
MNT pin PyWavelet in doc-min builds #21607
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
Merged
Merged
Changes from all commits
Commits
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,8 +145,8 @@ fi | |
|
||
MINICONDA_PATH=$HOME/miniconda | ||
# Install dependencies with miniconda | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | ||
-O miniconda.sh | ||
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh \ | ||
-O miniconda.sh | ||
chmod +x miniconda.sh && ./miniconda.sh -b -p $MINICONDA_PATH | ||
export PATH="/usr/lib/ccache:$MINICONDA_PATH/bin:$PATH" | ||
|
||
|
@@ -165,7 +165,7 @@ fi | |
source build_tools/shared.sh | ||
|
||
# packaging won't be needed once setuptools starts shipping packaging>=17.0 | ||
conda create -n $CONDA_ENV_NAME --yes --quiet \ | ||
mamba create -n $CONDA_ENV_NAME --yes --quiet \ | ||
python="${PYTHON_VERSION:-*}" \ | ||
"$(get_dep numpy $NUMPY_VERSION)" \ | ||
"$(get_dep scipy $SCIPY_VERSION)" \ | ||
|
@@ -176,6 +176,11 @@ conda create -n $CONDA_ENV_NAME --yes --quiet \ | |
joblib memory_profiler packaging seaborn pillow pytest coverage | ||
|
||
source activate testenv | ||
# Pin PyWavelet to 1.1.1 that is the latest version that support our minumum | ||
# NumPy version required. If PyWavelets 1.2+ is installed, it would require | ||
# NumPy 1.17+ that trigger a bug with Pandas 0.25: | ||
# https://github.com/numpy/numpy/issues/18355#issuecomment-774610226 | ||
pip install PyWavelets==1.1.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need a comment here, or in our min dependency file, which would remind us to remove this once we bump our min numpy requirement. |
||
pip install "$(get_dep scikit-image $SCIKIT_IMAGE_VERSION)" | ||
pip install "$(get_dep sphinx-gallery $SPHINX_GALLERY_VERSION)" | ||
pip install "$(get_dep numpydoc $NUMPYDOC_VERSION)" | ||
|
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.
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.
O_o do we want to switch to mamba? why not miniforge?
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.
It was for debugging reasons first. Then, I assume that
mamba
will be faster thanconda
to resolve the dependencies required here.