use the RTD jobs.post_create_environment hook to call pip directly. #1575
This commit is contained in:
parent
cfdd43c436
commit
4910dec5f1
|
@ -18,5 +18,9 @@ build:
|
||||||
tools:
|
tools:
|
||||||
python: "mambaforge-4.10"
|
python: "mambaforge-4.10"
|
||||||
jobs:
|
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:
|
post_install:
|
||||||
- make install
|
- make install
|
||||||
|
|
|
@ -13,7 +13,3 @@ dependencies:
|
||||||
- python=3.11
|
- python=3.11
|
||||||
- gdal>=3.4.2
|
- gdal>=3.4.2
|
||||||
- pip
|
- 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
|
|
||||||
|
|
Loading…
Reference in New Issue