Skip to content

Commit 56f6448

Browse files
committed
feat: use uv for e2e-tests and add to devshell
* replace requirements.txt with pyproject.toml. this brings the e2e-tests python environment in line with modern python projects. It also allows specifying others useful properties like linters and formatters * add uv and uv.lock. uv is a modern python package manager that achieves both better speeds and reproducability through locking the exact dependencies required, much like Cargo.lock * add these to the nix devshell * bump omegaconf to the latest preview, because 2.3.0 included an older version of antlr4-python3-binary that used an older manifest version from the rest of the toolchain
1 parent 84b78f3 commit 56f6448

File tree

5 files changed

+1061
-27
lines changed

5 files changed

+1061
-27
lines changed

e2e-tests/pyproject.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[project]
2+
name = "partner-chains-e2e-tests"
3+
version = "1.0.0"
4+
description = "E2E tests for Partner Chains"
5+
requires-python = ">=3.12"
6+
dependencies = [
7+
"omegaconf==2.4.0.dev3",
8+
"pytest==8.3.4",
9+
"pytest-xdist==3.6.1",
10+
"pytest-dependency==0.6.0",
11+
"substrate-interface==1.7.11",
12+
"sqlalchemy==2.0.38",
13+
"psycopg2-binary==2.9.10",
14+
"filelock==3.17.0",
15+
"pytest-json-report==1.5.0",
16+
"pydantic==2.10.6",
17+
"scalecodec==1.2.11",
18+
"pytest-json-ctrf==0.3.5",
19+
"numpy==2.2.3",
20+
"ecdsa==0.19.1",
21+
"bech32==1.2.0",
22+
]
23+
24+
[build-system]
25+
requires = ["setuptools>=61.0", "wheel"]
26+
build-backend = "setuptools.build_meta"

e2e-tests/requirements.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)