Skip to content

Commit

Permalink
use the RTD jobs.post_create_environment hook to call pip directly. n…
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed May 10, 2024
1 parent cfdd43c commit 4910dec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ build:
tools:
python: "mambaforge-4.10"
jobs:
post_create_environment:
- pip install --upgrade-strategy=only-if-needed -r requirements.txt
- pip install --upgrade-strategy=only-if-needed -r requirements-dev.txt
- pip install --upgrade-strategy=only-if-needed -r requirements-docs.txt
post_install:
- make install
4 changes: 0 additions & 4 deletions .readthedocs_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ dependencies:
- python=3.11
- gdal>=3.4.2
- pip
- pip:
- --upgrade-strategy=only-if-needed -r requirements.txt
- --upgrade-strategy=only-if-needed -r requirements-dev.txt
- --upgrade-strategy=only-if-needed -r requirements-docs.txt

0 comments on commit 4910dec

Please sign in to comment.