From 0f2ce892391b138bce98ed29fc20b01e8a8a6323 Mon Sep 17 00:00:00 2001 From: Matthew Howard Date: Thu, 25 Apr 2024 14:30:54 +0100 Subject: [PATCH 1/2] add requirements.txt and update readme in wheel --- wheel/README.md | 11 +++++++++++ wheel/requirements.txt | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 wheel/requirements.txt diff --git a/wheel/README.md b/wheel/README.md index abb5d1ba4..3b55f61d7 100644 --- a/wheel/README.md +++ b/wheel/README.md @@ -1 +1,12 @@ The `chia_rs` wheel contains python bindings for code from the `chia` crate. + +To run the tests: +``` +cd wheel +python -m venv venv +. ./venv/bin/activate +python -m pip install -r requirements.txt +maturin develop +python -m pytest ../tests +``` + diff --git a/wheel/requirements.txt b/wheel/requirements.txt new file mode 100644 index 000000000..678d1ff75 --- /dev/null +++ b/wheel/requirements.txt @@ -0,0 +1,6 @@ +iniconfig==2.0.0 +maturin==1.4.0 +chia-blockchain==2.1.4 +packaging==23.2 +pluggy==1.4.0 +pytest==8.0.1 \ No newline at end of file From a4a3f3af8a446231d81ead6d4cc28c00e87e2562 Mon Sep 17 00:00:00 2001 From: Matthew Howard Date: Tue, 30 Apr 2024 13:34:10 +0100 Subject: [PATCH 2/2] change requirements to >= --- wheel/requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wheel/requirements.txt b/wheel/requirements.txt index 678d1ff75..671afc2e3 100644 --- a/wheel/requirements.txt +++ b/wheel/requirements.txt @@ -1,6 +1,6 @@ -iniconfig==2.0.0 -maturin==1.4.0 -chia-blockchain==2.1.4 -packaging==23.2 -pluggy==1.4.0 -pytest==8.0.1 \ No newline at end of file +iniconfig>=2.0.0 +maturin>=1.4.0 +chia-blockchain>=2.1.4 +packaging>=23.2 +pluggy>=1.4.0 +pytest>=8.0.1 \ No newline at end of file