-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use geoana 0.2.1 for building the website (#579)
Use an older version of geoana to build the website to avoid errors coming from incompatibilities with the latest version. Install `geoana==0.2.1` in GitHub Actions to run tests and to build the website. Just pinning it in the `requirements.txt` file doesn't work because of missing build dependencies for that old version. So the build requirements (listed in a new `requirements-build-geoana.txt` file) are installed along with other needed packages (e.g. Sphinx), and `geoana=0.2.1` gets installed with `pip` but disabling the build isolation (passing `--no-build-isolation`). This fix is just a patch, we should make the repo compatible with latest geoana at some point. By then, we should revert these changes.
- Loading branch information
1 parent
b2cecdb
commit ef1646a
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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,13 @@ | ||
# Requirements to build geoana 0.2.1 without isolation | ||
# | ||
# This file was added as a way to install geoana 0.2.1 (old version) in GitHub | ||
# Actions and build the website using an this old version of geoana. | ||
# | ||
# We should remove this file after updating the repo to work with the latest | ||
# version of geoana. The easiest way to do so would be to revert the commit | ||
# that added this file. | ||
# | ||
numpy<1.23 | ||
cython | ||
setuptools<60 | ||
wheel |
This file contains 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 |
---|---|---|
|
@@ -3,4 +3,4 @@ sphinxcontrib-bibtex | |
sphinx_rtd_theme | ||
pytest | ||
matplotlib | ||
geoana | ||
geoana==0.2.1 |