Skip to content

Commit fb591ce

Browse files
committed
MAINT: upgrade to ComPWA/ampform#484
* FIX: always restore `output-files` cache
1 parent c0f7eb4 commit fb591ce

File tree

9 files changed

+78
-76
lines changed

9 files changed

+78
-76
lines changed

.github/workflows/ci-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ jobs:
109109
uses: actions/cache@v4
110110
with:
111111
key: output-files-${{hashFiles('uv.lock', 'data/*.json', 'data/*.yaml', 'src/**/*.py')}}-${{hashFiles('docs/**/*.ipynb')}}
112-
restore-keys: output-files-${{hashFiles('uv.lock', 'data/*.json', 'data/*.yaml', 'src/**/*.py')}}
112+
restore-keys: |
113+
output-files-${{hashFiles('uv.lock', 'data/*.json', 'data/*.yaml', 'src/**/*.py')}}
114+
output-files
113115
path: |
114116
./docs/_images
115117
./docs/_static/export

docs/amplitude-model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@
531531
"name": "python",
532532
"nbconvert_exporter": "python",
533533
"pygments_lexer": "ipython3",
534-
"version": "3.12.11"
534+
"version": "3.13.9"
535535
}
536536
},
537537
"nbformat": 4,

docs/appendix/ls-model.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@
488488
" \"L(1600)\": 0.05156508524716793,\n",
489489
" \"L(1670)\": 0.01152765176461734,\n",
490490
" \"L(1690)\": 0.011620347822014715,\n",
491-
" \"L(2000)\": 0.09545104884536636,\n",
492-
" \"D(1232)\": 0.28734702629964143,\n",
491+
" \"L(2000)\": 0.09545104884536634,\n",
492+
" \"D(1232)\": 0.2873470262996413,\n",
493493
" \"D(1600)\": 0.044995124448580635,\n",
494494
" \"D(1700)\": 0.03886137420714165,\n",
495495
" \"K(700)\": 0.029895286408557133,\n",
@@ -529,7 +529,7 @@
529529
"name": "python",
530530
"nbconvert_exporter": "python",
531531
"pygments_lexer": "ipython3",
532-
"version": "3.12.11"
532+
"version": "3.13.9"
533533
}
534534
},
535535
"nbformat": 4,

docs/appendix/pc-pv-currents.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@
937937
"name": "python",
938938
"nbconvert_exporter": "python",
939939
"pygments_lexer": "ipython3",
940-
"version": "3.12.11"
940+
"version": "3.13.9"
941941
}
942942
},
943943
"nbformat": 4,

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ def print(self) -> None:
215215

216216
execute_pluto_notebooks()
217217
set_intersphinx_version_remapping({
218+
"ampform": {
219+
"0.15.11.dev20+g30a966bf9": "0.15.10",
220+
},
218221
"ipywidgets": {
219222
"8.1.1": "8.1.2",
220223
"8.1.7": "8.1.5",

docs/cross-check.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@
498498
"name": "python",
499499
"nbconvert_exporter": "python",
500500
"pygments_lexer": "ipython3",
501-
"version": "3.12.9"
501+
"version": "3.13.9"
502502
}
503503
},
504504
"nbformat": 4,

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,4 +389,5 @@ spaces_indent_inline_array = 4
389389
trailing_comma_inline_array = true
390390

391391
[tool.uv.sources]
392+
ampform = {git = "https://github.com/ComPWA/ampform", rev = "30a966bf9a45c56b24ad3bc53714d9d40d6b25c3"}
392393
ampform-dpd = {git = "https://github.com/ComPWA/ampform-dpd", rev = "980d5ebbe80ffc0a891129615b14d60344adafd9"}

tests/test_dynamics.py

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
formulate_breit_wigner,
4141
[
4242
[
43-
(3.1879237244582677 + 0.6723793982835011j),
44-
(-1.4463367213423046 + 1.4219501754895838j),
45-
(-0.6972370370457636 + 0.5545283926872141j),
43+
(3.187923724458265 + 0.6723793982835j),
44+
(-1.4463367213423053 + 1.4219501754895836j),
45+
(-0.6972370370457632 + 0.5545283926872139j),
4646
],
4747
[
48-
(3.229409123039008 + 0.6811292711619713j),
49-
(-1.3598033106780638 + 1.3368757964296827j),
50-
(-0.3637396197523502 + 0.2892903503126588j),
48+
(3.2294091230390074 + 0.681129271161971j),
49+
(-1.3598033106780643 + 1.3368757964296825j),
50+
(-0.3637396197523502 + 0.2892903503126587j),
5151
],
5252
],
5353
),
@@ -56,14 +56,14 @@
5656
formulate_breit_wigner,
5757
[
5858
[
59-
(0.2710347852652632 + 0.00413056821040814j),
60-
(1.1744416876390549 + 0.4997258940032302j),
61-
(-0.6235368677063432 + 1.3175500554559383j),
59+
(0.2710347852652631 + 0.004130568210408139j),
60+
(1.1744416876390544 + 0.49972589400323003j),
61+
(-0.6235368677063433 + 1.3175500554559378j),
6262
],
6363
[
64-
(0.36888301140431373 + 0.005621774484684802j),
65-
(1.4834968059344198 + 0.6312290983870059j),
66-
(-0.43703958234775686 + 0.9234763103533312j),
64+
(0.3688830114043136 + 0.005621774484684802j),
65+
(1.4834968059344196 + 0.631229098387006j),
66+
(-0.4370395823477569 + 0.9234763103533312j),
6767
],
6868
],
6969
),
@@ -72,14 +72,14 @@
7272
formulate_breit_wigner,
7373
[
7474
[
75-
(0.05440680189842112 + 4.219215707636137e-05j),
76-
(0.7096200532917741 + 0.11897536374158689j),
77-
(-0.19033478821404695 + 1.3163096550591395j),
75+
(0.054406801898421134 + 4.2192157076361384e-05j),
76+
(0.7096200532917745 + 0.11897536374158701j),
77+
(-0.19033478821404676 + 1.316309655059139j),
7878
],
7979
[
80-
(0.08783500566719082 + 6.81155338413808e-05j),
81-
(1.0632413313758629 + 0.17826373924852945j),
82-
(-0.1582441348439172 + 1.0943784082039711j),
80+
(0.08783500566719082 + 6.811553384138082e-05j),
81+
(1.0632413313758629 + 0.17826373924852953j),
82+
(-0.15824413484391706 + 1.094378408203971j),
8383
],
8484
],
8585
),
@@ -115,24 +115,24 @@
115115
formulate_breit_wigner,
116116
[
117117
[
118-
(1.6106080680274741 + 0.03158685433213549j),
118+
(1.6106080680274737 + 0.03158685433213549j),
119119
(-5.798347035134785 + 2.097498626516587j),
120-
(-1.8381729460342473 + 0.29436136284355285j),
120+
(-1.8381729460342475 + 0.2943613628435529j),
121121
],
122122
[
123-
(1.627073261656379 + 0.03190976571140331j),
124-
(-5.744577658470813 + 2.0780480498232734j),
125-
(-1.5596243472853126 + 0.24975514375911056j),
123+
(1.6270732616563792 + 0.03190976571140332j),
124+
(-5.744577658470812 + 2.078048049823273j),
125+
(-1.559624347285313 + 0.24975514375911062j),
126126
],
127127
[
128-
(1.627073261656379 + 0.03190976571140331j),
129-
(-5.744577658470813 + 2.0780480498232734j),
130-
(-1.5596243472853126 + 0.24975514375911056j),
128+
(1.6270732616563792 + 0.03190976571140332j),
129+
(-5.744577658470812 + 2.078048049823273j),
130+
(-1.559624347285313 + 0.24975514375911062j),
131131
],
132132
[
133-
(1.6717559227313357 + 0.03278607121027949j),
134-
(-5.5977681625977675 + 2.024941067076743j),
135-
(-0.9602905295863794 + 0.15377901716193432j),
133+
(1.6717559227313352 + 0.032786071210279495j),
134+
(-5.597768162597767 + 2.0249410670767416j),
135+
(-0.9602905295863792 + 0.15377901716193426j),
136136
],
137137
],
138138
),
@@ -168,14 +168,14 @@
168168
formulate_flatte_1405,
169169
[
170170
[
171-
(-2.3041770091552602 + 1.6572083133216777j),
172-
(-0.7469620689351583 + 0.2246413308846193j),
173-
(-0.41324873584663085 + 0.07975156887710629j),
171+
(-2.30417700915526 + 1.6572083133216777j),
172+
(-0.7469620689351583 + 0.22464133088461932j),
173+
(-0.41324873584663085 + 0.07975156887710633j),
174174
],
175175
[
176176
(-2.286201762761729 + 1.644280171239275j),
177-
(-0.702741374356551 + 0.211342401667314j),
178-
(-0.2588509546461646 + 0.049954828527363826j),
177+
(-0.7027413743565507 + 0.211342401667314j),
178+
(-0.2588509546461646 + 0.04995482852736384j),
179179
],
180180
],
181181
),
@@ -184,14 +184,14 @@
184184
formulate_breit_wigner,
185185
[
186186
[
187-
(16.35520530261141 + 5.327731299952113j),
188-
(-2.5390775187062373 + 2.2287535598743053j),
189-
(-0.7266872291636765 + 1.0959216306941388j),
187+
(16.355205302611402 + 5.327731299952124j),
188+
(-2.539077518706233 + 2.228753559874306j),
189+
(-0.7266872291636742 + 1.095921630694138j),
190190
],
191191
[
192-
(16.42231759922914 + 5.349593225662386j),
193-
(-2.1776814474732817 + 1.9115270182067412j),
194-
(-0.23296608483836545 + 0.35133763377997224j),
192+
(16.422317599229135 + 5.349593225662396j),
193+
(-2.177681447473277 + 1.9115270182067416j),
194+
(-0.23296608483836473 + 0.35133763377997196j),
195195
],
196196
],
197197
),
@@ -200,14 +200,14 @@
200200
formulate_breit_wigner,
201201
[
202202
[
203-
(1.500916330518528 + 0.3958255988816235j),
204-
(-0.7161889637173755 + 1.0658517878040505j),
205-
(-0.5226198956883473 + 0.4531021629059485j),
203+
(1.500916330518528 + 0.39582559888162366j),
204+
(-0.716188963717375 + 1.0658517878040503j),
205+
(-0.5226198956883471 + 0.45310216290594857j),
206206
],
207207
[
208-
(1.5242890504510038 + 0.40198951400244076j),
209-
(-0.6896626872456154 + 1.0263746656567632j),
210-
(-0.3350705873438278 + 0.2905002452149088j),
208+
(1.5242890504510036 + 0.4019895140024409j),
209+
(-0.6896626872456146 + 1.0263746656567625j),
210+
(-0.33507058734382783 + 0.2905002452149088j),
211211
],
212212
],
213213
),
@@ -216,14 +216,14 @@
216216
formulate_breit_wigner,
217217
[
218218
[
219-
(1.8861010191054925 + 0.1049170973486188j),
220-
(-2.3727294353163586 + 0.336997489157645j),
221-
(-0.657148215606705 + 0.03090971404562307j),
219+
(1.8861010191054925 + 0.10491709734861879j),
220+
(-2.3727294353163586 + 0.33699748915764494j),
221+
(-0.657148215606705 + 0.03090971404562308j),
222222
],
223223
[
224-
(1.9286929136646251 + 0.10728633309074354j),
225-
(-2.3006185210233765 + 0.3267556146750801j),
226-
(-0.4242296210381687 + 0.019954122927757733j),
224+
(1.9286929136646251 + 0.10728633309074352j),
225+
(-2.300618521023376 + 0.32675561467507996j),
226+
(-0.4242296210381687 + 0.01995412292775774j),
227227
],
228228
],
229229
),
@@ -232,14 +232,14 @@
232232
formulate_breit_wigner,
233233
[
234234
[
235-
(0.4654680460487038 + 0.003831435962280073j),
236-
(-2.504196242196581 + 1.8806796658542846j),
237-
(-0.7498382369129406 + 0.515093279641933j),
235+
(0.46546804604870395 + 0.003831435962280081j),
236+
(-2.504196242196578 + 1.8806796658542866j),
237+
(-0.7498382369129396 + 0.5150932796419334j),
238238
],
239239
[
240-
(0.5023142911137491 + 0.004134730741837138j),
241-
(-2.308309109724075 + 1.7335662165822747j),
242-
(-0.2583568441894517 + 0.17747544422295913j),
240+
(0.5023142911137491 + 0.0041347307418371435j),
241+
(-2.3083091097240733 + 1.7335662165822754j),
242+
(-0.25835684418945143 + 0.17747544422295922j),
243243
],
244244
],
245245
),
@@ -249,13 +249,13 @@
249249
[
250250
[
251251
(0.5810314284422579 + 0.052383661274103814j),
252-
(1.1251566026793989 + 0.4514599573685283j),
252+
(1.1251566026793989 + 0.45145995736852834j),
253253
(-1.3312729961106082 + 1.4650550204028105j),
254254
],
255255
[
256-
(0.7185693849654652 + 0.06478357868676422j),
257-
(1.319411658565389 + 0.5294032223683239j),
258-
(-1.0393832872156312 + 1.1438327882461754j),
256+
(0.7185693849654651 + 0.06478357868676422j),
257+
(1.3194116585653886 + 0.5294032223683237j),
258+
(-1.039383287215631 + 1.1438327882461752j),
259259
],
260260
],
261261
),

uv.lock

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)