use the RTD jobs.post_create_environment hook to call pip directly. #1575

This commit is contained in:
davemfish 2024-05-10 13:19:51 -04:00
parent cfdd43c436
commit 4910dec5f1
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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