Skip to content

Commit 9c1a5d2

Browse files
committed
deps: remove amor.data from __init__, add pooch to basetest
1 parent fd13732 commit 9c1a5d2

File tree

15 files changed

+271
-80
lines changed

15 files changed

+271
-80
lines changed

docs/user-guide/amor/amor-reduction.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"source": [
2727
"import scipp as sc\n",
2828
"from ess import amor\n",
29+
"from ess.amor import data # noqa: F401\n",
2930
"from ess.reflectometry.types import *\n",
3031
"from ess.amor.types import *"
3132
]

docs/user-guide/amor/compare-to-eos.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"import scipp as sc\n",
2525
"import plopp as pp\n",
2626
"from ess import amor\n",
27+
"from ess.amor import data # noqa: F401\n",
2728
"from ess.reflectometry.types import *\n",
2829
"from ess.amor.types import ChopperPhase"
2930
]

requirements/base.txt

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
#
88
asttokens==2.4.1
99
# via stack-data
10-
certifi==2024.7.4
11-
# via requests
12-
charset-normalizer==3.3.2
13-
# via requests
1410
click==8.1.7
1511
# via dask
1612
cloudpickle==3.0.0
@@ -23,11 +19,11 @@ cyclebane==24.6.0
2319
# via sciline
2420
cycler==0.12.1
2521
# via matplotlib
26-
dask==2024.7.1
22+
dask==2024.8.0
2723
# via -r base.in
2824
decorator==5.1.1
2925
# via ipython
30-
essreduce==24.7.1
26+
essreduce==24.8.0
3127
# via -r base.in
3228
exceptiongroup==1.2.2
3329
# via ipython
@@ -43,9 +39,7 @@ h5py==3.11.0
4339
# via
4440
# scippneutron
4541
# scippnexus
46-
idna==3.7
47-
# via requests
48-
importlib-metadata==8.0.0
42+
importlib-metadata==8.2.0
4943
# via dask
5044
ipydatawidgets==4.3.5
5145
# via pythreejs
@@ -63,7 +57,7 @@ kiwisolver==1.4.5
6357
# via matplotlib
6458
locket==1.0.0
6559
# via partd
66-
matplotlib==3.9.1
60+
matplotlib==3.9.2
6761
# via
6862
# mpltoolbox
6963
# plopp
@@ -90,7 +84,6 @@ packaging==24.1
9084
# via
9185
# dask
9286
# matplotlib
93-
# pooch
9487
parso==0.8.4
9588
# via jedi
9689
partd==1.4.2
@@ -99,14 +92,10 @@ pexpect==4.9.0
9992
# via ipython
10093
pillow==10.4.0
10194
# via matplotlib
102-
platformdirs==4.2.2
103-
# via pooch
10495
plopp==24.6.0
10596
# via
10697
# -r base.in
10798
# scippneutron
108-
pooch==1.8.2
109-
# via scippneutron
11099
prompt-toolkit==3.0.47
111100
# via ipython
112101
ptyprocess==0.7.0
@@ -124,12 +113,10 @@ python-dateutil==2.9.0.post0
124113
# scippnexus
125114
pythreejs==2.4.2
126115
# via -r base.in
127-
pyyaml==6.0.1
116+
pyyaml==6.0.2
128117
# via
129118
# dask
130119
# orsopy
131-
requests==2.32.3
132-
# via pooch
133120
sciline==24.6.2
134121
# via -r base.in
135122
scipp==24.6.0
@@ -138,9 +125,9 @@ scipp==24.6.0
138125
# essreduce
139126
# scippneutron
140127
# scippnexus
141-
scippneutron==24.7.0
128+
scippneutron==24.8.0
142129
# via -r base.in
143-
scippnexus==24.6.0
130+
scippnexus==24.8.1
144131
# via
145132
# essreduce
146133
# scippneutron
@@ -170,11 +157,9 @@ traittypes==0.2.1
170157
# via ipydatawidgets
171158
typing-extensions==4.12.2
172159
# via ipython
173-
urllib3==2.2.2
174-
# via requests
175160
wcwidth==0.2.13
176161
# via prompt-toolkit
177162
widgetsnbextension==4.0.11
178163
# via ipywidgets
179-
zipp==3.19.2
164+
zipp==3.20.0
180165
# via importlib-metadata

requirements/basetest.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
# Do not make an environment from this file, use test.txt instead!
33

44
pytest
5+
pooch

requirements/basetest.txt

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
1-
# SHA1:0eaa389e1fdb3a1917c0f987514bd561be5718ee
1+
# SHA1:54ed0e3deb2d458e91bae14067e84eaad659f5fd
22
#
33
# This file is autogenerated by pip-compile-multi
44
# To update, run:
55
#
66
# pip-compile-multi
77
#
8+
certifi==2024.7.4
9+
# via requests
10+
charset-normalizer==3.3.2
11+
# via requests
812
exceptiongroup==1.2.2
913
# via pytest
14+
idna==3.7
15+
# via requests
1016
iniconfig==2.0.0
1117
# via pytest
1218
packaging==24.1
13-
# via pytest
19+
# via
20+
# pooch
21+
# pytest
22+
platformdirs==4.2.2
23+
# via pooch
1424
pluggy==1.5.0
1525
# via pytest
16-
pytest==8.3.1
26+
pooch==1.8.2
27+
# via -r basetest.in
28+
pytest==8.3.2
1729
# via -r basetest.in
30+
requests==2.32.3
31+
# via pooch
1832
tomli==2.0.1
1933
# via pytest
34+
urllib3==2.2.2
35+
# via requests

requirements/ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tomli==2.0.1
4848
# via
4949
# pyproject-api
5050
# tox
51-
tox==4.16.0
51+
tox==4.18.0
5252
# via -r ci.in
5353
urllib3==2.2.2
5454
# via requests

requirements/dev.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ arrow==1.3.0
2626
# via isoduration
2727
async-lru==2.0.4
2828
# via jupyterlab
29-
cffi==1.16.0
29+
cffi==1.17.0
3030
# via argon2-cffi-bindings
3131
copier==9.3.1
3232
# via -r dev.in
33-
dunamai==1.21.2
33+
dunamai==1.22.0
3434
# via copier
3535
fqdn==1.5.1
3636
# via jsonschema
@@ -119,11 +119,11 @@ types-python-dateutil==2.9.0.20240316
119119
# via arrow
120120
uri-template==1.3.0
121121
# via jsonschema
122-
webcolors==24.6.0
122+
webcolors==24.8.0
123123
# via jsonschema
124124
websocket-client==1.8.0
125125
# via jupyter-server
126-
wheel==0.43.0
126+
wheel==0.44.0
127127
# via pip-tools
128128

129129
# The following packages are considered to be unsafe in a requirements file:

requirements/docs.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ sphinx
88
sphinx-autodoc-typehints
99
sphinx-copybutton
1010
sphinx-design
11+
pooch
12+
matplotlib<=3.7.1

0 commit comments

Comments
 (0)