Skip to content

Commit 0d544d2

Browse files
authored
Update dependency versions and replace np.NaN with np.nan for consistency (#1644)
1 parent ec44bdb commit 0d544d2

3 files changed

Lines changed: 16 additions & 17 deletions

File tree

activity_browser/bwutils/metadata/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def on_signaleddataset_save(self, sender, old, new):
3636
return
3737

3838
node_data = {f: getattr(new, f) for f in primary}
39-
node_data = node_data | {f: new.data.get(f, np.NaN) for f in secondary}
39+
node_data = node_data | {f: new.data.get(f, np.nan) for f in secondary}
4040
node_data["key"] = new.key
4141
node_data = pd.Series(node_data, name=new.key)
4242

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,28 @@ classifiers = [
3333
requires-python = ">=3.10, <3.13"
3434
dependencies = [
3535
"arrow",
36+
"bw-functional>=0b97",
3637
"bw2analyzer>=0.11.5",
3738
"bw2calc>=2.0",
3839
"bw2data>=4.1",
39-
"bw2parameters>=1.1",
4040
"bw2io>=0.9.3",
41+
"bw2parameters>=1.1",
4142
"bw_graph_tools>=0.5",
4243
"bw_processing>=1.0",
4344
"bw_simapro_csv >=0.2.6",
4445
"ecoinvent_interface",
46+
"loguru>=0.7",
4547
"matrix_utils>=0.5",
46-
"bw-functional==0b97",
4748
"networkx",
48-
"numpy>=1.23.5,<2",
49+
"numpy>=1.23.5,<3",
4950
"pandas>=2.2.1",
50-
"pint<=0.21",
51-
"py7zr==0.22.0",
51+
"py7zr>=0.22.0",
5252
"pyperclip",
53-
"pyside6>=6.5.0, <6.10",
54-
"pypardiso ; platform_system == 'Windows'",
5553
"pyprind",
54+
"pyside6>=6.5.0, <6.10",
5655
"qtpy",
5756
"salib>=1.4",
5857
"seaborn",
59-
"loguru>=0.7",
6058
]
6159

6260

recipe/meta.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,28 @@ requirements:
2020
run:
2121
- python >=3.10, <3.12
2222
- arrow
23+
- bw_functional>=0.b.97
2324
- bw2analyzer >=0.11.5
25+
- bw2calc >=2.0
2426
- bw2data >=4.1
25-
- bw2parameters >=1.1
2627
- bw2io >=0.9.3
28+
- bw2parameters >=1.1
2729
- bw_graph_tools >=0.5
2830
- bw_processing >=1.0
2931
- bw_simapro_csv >=0.2.6
30-
- bw_functional=0.b.97
3132
- ecoinvent_interface
33+
- loguru>=0.7
3234
- matrix_utils >=0.5
33-
- numpy >=1.23.5, <2
34-
- pint <=0.21
35-
- py7zr <=0.22.0
36-
- pyperclip
37-
- pyprind
3835
- networkx
36+
- numpy >=1.23.5, <3
3937
- pandas >=2.2.1
38+
- py7zr >=0.22.0
39+
- pyperclip
40+
- pyprind
4041
- pyside2 >=5.15.5
4142
- qt-webengine
4243
- qtpy
43-
- salib >=1.4, <1.5.1
44+
- salib >=1.4
4445
- seaborn
4546

4647
about:

0 commit comments

Comments
 (0)