File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55rust = tomllib .load (open ("Cargo.toml" , "rb" ))
66python = tomllib .load (open ("python/Cargo.toml" , "rb" ))
7+ pyproject = tomllib .load (open ("python/pyproject.toml" , "rb" ))
78wasm = json .load (open ("wasm/package.json" , "rb" ))
89
910rust_version = rust ["package" ]["version" ]
1011python_version = python ["package" ]["version" ]
12+ pyproject_version = pyproject ["project" ]["version" ]
1113wasm_version = wasm ["version" ]
12- if rust_version == python_version == wasm_version :
14+ if rust_version == python_version == pyproject_version == wasm_version :
1315 print ("all versions are the same" )
1416 sys .exit (0 )
1517else :
1618 print (f"version mismatch\n "
1719 f" rust: { rust_version } \n "
1820 f" python: { python_version } \n "
21+ f" pyproject: { pyproject_version } \n "
1922 f" wasm: { wasm_version } \n " )
2023
2124 sys .exit (1 )
Original file line number Diff line number Diff line change 11[project ]
22name = " liblrs_python"
3- version = " 0.2.6 "
3+ version = " 0.3.0 "
44requires-python = " >=3.12"
55dependencies = [" pip>=25.2" ]
66
You can’t perform that action at this time.
0 commit comments