Skip to content

Commit 387c69f

Browse files
authored
CI: Install pyarrow-core instead of pyarrow from conda-forge (#3698)
Reduce unnecessary optional dependencies when installing `pyarrow` from conda-forge. Xref conda-forge/pyarrow-feedstock#111 * doc: Suggest installing pyarrow-core in installation instructions
1 parent f42c09c commit 387c69f

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

.github/workflows/benchmarks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
netCDF4
6666
packaging
6767
geopandas
68-
pyarrow
68+
pyarrow-core
6969
pytest
7070
pytest-codspeed
7171
pytest-mpl

.github/workflows/ci_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
contextily
104104
geopandas
105105
ipython
106-
pyarrow
106+
pyarrow-core
107107
rioxarray
108108
make
109109
pip

.github/workflows/ci_doctests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
contextily
6161
geopandas
6262
ipython
63-
pyarrow
63+
pyarrow-core
6464
rioxarray
6565
make
6666
pip

.github/workflows/ci_tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ jobs:
7373
numpy-version: '1.25'
7474
pandas-version: '=2.0'
7575
xarray-version: '=2023.04'
76-
optional-packages: ' contextily geopandas<1 ipython pyarrow rioxarray sphinx-gallery'
76+
optional-packages: ' contextily geopandas<1 ipython pyarrow-core rioxarray sphinx-gallery'
7777
# Python 3.13 + core packages (latest versions) + optional packages
7878
- python-version: '3.13'
7979
numpy-version: '2.2'
8080
pandas-version: ''
8181
xarray-version: ''
82-
optional-packages: ' contextily geopandas>=1.0 ipython pyarrow rioxarray sphinx-gallery'
82+
optional-packages: ' contextily geopandas>=1.0 ipython pyarrow-core rioxarray sphinx-gallery'
8383
# Python 3.12 + core packages (Linux only)
8484
- os: 'ubuntu-latest'
8585
python-version: '3.12'

.github/workflows/ci_tests_legacy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
contextily
7171
geopandas
7272
ipython
73-
pyarrow
73+
pyarrow-core
7474
rioxarray
7575
sphinx-gallery
7676
make

ci/requirements/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- contextily
1717
- geopandas
1818
- ipython
19-
- pyarrow
19+
- pyarrow-core
2020
- rioxarray
2121
# Development dependencies (general)
2222
- make

doc/install.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,20 @@ From now on, all commands will take place inside the virtual environment called
162162
and won't affect your default `base` installation.
163163

164164
::::: {tip}
165-
You can also enable more PyGMT functionality by installing PyGMT's optional dependencies in the environment.
165+
You can also enable more PyGMT functionalities by installing PyGMT's optional
166+
dependencies in the environment.
166167
:::: {tab-set}
167168
::: {tab-item} mamba
168169
:sync: mamba
169170
```
170-
mamba install contextily geopandas ipython pyarrow rioxarray
171+
mamba install contextily geopandas ipython pyarrow-core rioxarray
171172
```
172173
:::
173174

174175
::: {tab-item} conda
175176
:sync: conda
176177
```
177-
conda install contextily geopandas ipython pyarrow rioxarray
178+
conda install contextily geopandas ipython pyarrow-core rioxarray
178179
```
179180
:::
180181
::::

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- contextily
1717
- geopandas
1818
- ipython
19-
- pyarrow
19+
- pyarrow-core
2020
- rioxarray
2121
# Development dependencies (general)
2222
- dvc

0 commit comments

Comments
 (0)