Skip to content

Commit b95ec12

Browse files
Upgrade dependencies on Particle, hepunits, and adapt accordingly (#522)
* Adapt to update of Particle for 2025 PDG data * Update dependencies
1 parent 18a4c47 commit b95ec12

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ Required and compatibility dependencies will be automatically installed by pip.
5151
- [lark](https://github.com/lark-parser/lark): A modern parsing library for Python
5252
- [graphviz](https://gitlab.com/graphviz/graphviz/) to render (DOT language) graph
5353
descriptions and visualizations of decay chains.
54-
55-
### Python compatibility:
56-
- [importlib_resources](http://importlib-resources.readthedocs.io/en/latest/) backport if using Python /< 3.9
5754
</p></details>
5855

5956

environment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: decaylanguage_demo
22
dependencies:
3-
- python>=3.7
4-
- pandas>=0.24
3+
- python>=3.9
4+
- pandas>=1
55
- attrs>=19.2
66
- pip>=9
77
- jupyterlab>=0.35
8-
- numpy>=1.12
8+
- numpy>=1.19.3
99
- graphviz>=0.12.0
1010
- plumbum>=1.7.0
1111
- lark>=1.0.0
1212
- RISE
13-
- hepunits>=2.2.0
14-
- particle>=0.22.0
13+
- hepunits>=2.4.0
14+
- particle>=0.26.0
1515
- pip:
1616
- .

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ dependencies = [
4444
"attrs>=19.2",
4545
"graphviz>=0.12.0",
4646
"lark>=1.0.0",
47-
"numpy>=1.12",
48-
"pandas>=0.22",
49-
"particle>=0.25.4",
50-
"hepunits>=2.3.5",
47+
"numpy>=1.9.3",
48+
"pandas>=1",
49+
"particle>=0.26.0",
50+
"hepunits>=2.4.0",
5151
"plumbum>=1.7.0",
5252
]
5353
dynamic = ["version"]

tests/dec/test_dec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_particle_property_definitions():
198198
"MyPhi": {"mass": 1.02, "width": 0.004},
199199
"rho0": {"mass": 0.8, "width": 0.2},
200200
"MyRho0": {"mass": 0.77, "width": 0.1474},
201-
"chi_c0": {"mass": 3.42, "width": 0.0107},
201+
"chi_c0": {"mass": 3.42, "width": 0.0109},
202202
}
203203

204204

0 commit comments

Comments
 (0)