Skip to content

Commit 2ea6c30

Browse files
committed
Different dependencies per version of Python
1 parent e127f34 commit 2ea6c30

File tree

9 files changed

+526
-98
lines changed

9 files changed

+526
-98
lines changed

.github/actions/environment/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
with:
3434
cache: 'pip'
3535
cache-dependency-path: |
36-
continuous-integration/requirements.txt
36+
continuous-integration/requirements-${{ inputs.python-version }}.txt
3737
continuous-integration/environment.yaml
3838
setup.cfg
3939
@@ -72,7 +72,7 @@ runs:
7272
7373
pip install \
7474
"${args[@]}" \
75-
-r continuous-integration/requirements.txt \
75+
-r continuous-integration/requirements-${{ inputs.python-version }}.txt \
7676
"${wheels[0]}[${{ inputs.extras }}]"
7777
pip check
7878

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch:
1313

1414
env:
15-
python-version: "3.11"
15+
python-version: "3.12"
1616

1717
jobs:
1818
build:
@@ -155,7 +155,7 @@ jobs:
155155
- uses: ./.github/actions/environment
156156
with:
157157
python-version: ${{ env.python-version }}
158-
extras: complete,docs
158+
extras: docs
159159
package-artifact-name: ${{ needs.build.outputs.artifact-name }}
160160

161161
- run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To get set up for development, make a virtual environment and install the depend
6161
$ python3 -m venv
6262
$ source venv/bin/activate
6363
$ pip install --upgrade pip>=21.3
64-
$ pip install -e . -r continuous-integration/requirements.txt
64+
$ pip install -e .[testing]
6565
```
6666

6767
## Tests

continuous-integration/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ dependencies:
66
- python =3.12
77
- wheel
88
- pip:
9-
- -r ./requirements.txt
9+
- -r ./requirements-3.12.txt
1010
- -e ..[docs]
Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --extra=testing --output-file=./continuous-integration/requirements-3.10.txt setup.cfg
6+
#
7+
bokeh==3.4.2
8+
# via dask
9+
bottleneck==1.4.0
10+
# via emsarray (setup.cfg)
11+
cartopy==0.23.0
12+
# via emsarray (setup.cfg)
13+
certifi==2024.6.2
14+
# via
15+
# netcdf4
16+
# pyproj
17+
# requests
18+
cftime==1.6.4
19+
# via
20+
# cfunits
21+
# netcdf4
22+
cfunits==3.3.7
23+
# via emsarray (setup.cfg)
24+
charset-normalizer==3.3.2
25+
# via requests
26+
click==8.1.7
27+
# via
28+
# dask
29+
# distributed
30+
cloudpickle==3.0.0
31+
# via
32+
# dask
33+
# distributed
34+
contourpy==1.2.1
35+
# via
36+
# bokeh
37+
# matplotlib
38+
coverage[toml]==7.5.4
39+
# via pytest-cov
40+
cycler==0.12.1
41+
# via matplotlib
42+
dask[array,complete,dataframe,diagnostics,distributed]==2024.6.2
43+
# via
44+
# dask-expr
45+
# distributed
46+
# xarray
47+
dask-expr==1.1.6
48+
# via dask
49+
distributed==2024.6.2
50+
# via dask
51+
exceptiongroup==1.2.1
52+
# via pytest
53+
flake8==7.1.0
54+
# via emsarray (setup.cfg)
55+
fonttools==4.53.0
56+
# via matplotlib
57+
fsspec==2024.6.1
58+
# via dask
59+
geojson==3.1.0
60+
# via emsarray (setup.cfg)
61+
idna==3.7
62+
# via requests
63+
importlib-metadata==8.0.0
64+
# via dask
65+
iniconfig==2.0.0
66+
# via pytest
67+
isort==5.13.2
68+
# via emsarray (setup.cfg)
69+
jinja2==3.1.4
70+
# via
71+
# bokeh
72+
# dask
73+
# distributed
74+
# pytest-mpl
75+
kiwisolver==1.4.5
76+
# via matplotlib
77+
locket==1.0.0
78+
# via
79+
# distributed
80+
# partd
81+
lz4==4.3.3
82+
# via dask
83+
markupsafe==2.1.5
84+
# via jinja2
85+
matplotlib==3.9.0
86+
# via
87+
# cartopy
88+
# emsarray (setup.cfg)
89+
# pytest-mpl
90+
mccabe==0.7.0
91+
# via flake8
92+
msgpack==1.0.8
93+
# via distributed
94+
mypy==1.10.1
95+
# via emsarray (setup.cfg)
96+
mypy-extensions==1.0.0
97+
# via mypy
98+
netcdf4==1.7.1.post1
99+
# via emsarray (setup.cfg)
100+
numpy==2.0.0
101+
# via
102+
# bokeh
103+
# bottleneck
104+
# cartopy
105+
# cftime
106+
# cfunits
107+
# contourpy
108+
# dask
109+
# emsarray (setup.cfg)
110+
# matplotlib
111+
# netcdf4
112+
# pandas
113+
# pandas-stubs
114+
# pyarrow
115+
# pykdtree
116+
# shapely
117+
# xarray
118+
packaging==24.1
119+
# via
120+
# bokeh
121+
# cartopy
122+
# cfunits
123+
# dask
124+
# distributed
125+
# emsarray (setup.cfg)
126+
# matplotlib
127+
# pooch
128+
# pytest
129+
# pytest-mpl
130+
# xarray
131+
pandas==2.2.2
132+
# via
133+
# bokeh
134+
# dask
135+
# dask-expr
136+
# xarray
137+
pandas-stubs==2.2.2.240603
138+
# via emsarray (setup.cfg)
139+
partd==1.4.2
140+
# via dask
141+
pillow==10.4.0
142+
# via
143+
# bokeh
144+
# matplotlib
145+
# pytest-mpl
146+
platformdirs==4.2.2
147+
# via pooch
148+
pluggy==1.5.0
149+
# via pytest
150+
pooch==1.8.2
151+
# via emsarray (setup.cfg)
152+
psutil==6.0.0
153+
# via distributed
154+
pyarrow==16.1.0
155+
# via
156+
# dask
157+
# dask-expr
158+
pyarrow-hotfix==0.6
159+
# via dask
160+
pycodestyle==2.12.0
161+
# via flake8
162+
pyflakes==3.2.0
163+
# via flake8
164+
pykdtree==1.3.12
165+
# via emsarray (setup.cfg)
166+
pyparsing==3.1.2
167+
# via matplotlib
168+
pyproj==3.6.1
169+
# via cartopy
170+
pyshp==2.3.1
171+
# via
172+
# cartopy
173+
# emsarray (setup.cfg)
174+
pytest==8.2.2
175+
# via
176+
# emsarray (setup.cfg)
177+
# pytest-cov
178+
# pytest-mpl
179+
pytest-cov==5.0.0
180+
# via emsarray (setup.cfg)
181+
pytest-mpl==0.17.0
182+
# via emsarray (setup.cfg)
183+
python-dateutil==2.9.0.post0
184+
# via
185+
# matplotlib
186+
# pandas
187+
pytz==2024.1
188+
# via pandas
189+
pyyaml==6.0.1
190+
# via
191+
# bokeh
192+
# dask
193+
# distributed
194+
requests==2.32.3
195+
# via pooch
196+
shapely==2.0.4
197+
# via
198+
# cartopy
199+
# emsarray (setup.cfg)
200+
six==1.16.0
201+
# via python-dateutil
202+
sortedcontainers==2.4.0
203+
# via distributed
204+
tblib==3.0.0
205+
# via distributed
206+
tomli==2.0.1
207+
# via
208+
# coverage
209+
# mypy
210+
# pytest
211+
toolz==0.12.1
212+
# via
213+
# dask
214+
# distributed
215+
# partd
216+
tornado==6.4.1
217+
# via
218+
# bokeh
219+
# distributed
220+
types-pytz==2024.1.0.20240417
221+
# via
222+
# emsarray (setup.cfg)
223+
# pandas-stubs
224+
typing-extensions==4.12.2
225+
# via mypy
226+
tzdata==2024.1
227+
# via pandas
228+
urllib3==2.2.2
229+
# via
230+
# distributed
231+
# requests
232+
xarray[parallel]==2024.6.0
233+
# via emsarray (setup.cfg)
234+
xyzservices==2024.6.0
235+
# via bokeh
236+
zict==3.0.0
237+
# via distributed
238+
zipp==3.19.2
239+
# via importlib-metadata

0 commit comments

Comments
 (0)