From c20318af64fddb2959ba90f2d510af42f4e2e20e Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 29 Apr 2025 17:11:35 +0200 Subject: [PATCH] Upgrade pytest --- tests/README.md | 8 ++++++++ tests/requirements.txt | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/README.md b/tests/README.md index 7466c474..9d131e56 100644 --- a/tests/README.md +++ b/tests/README.md @@ -24,6 +24,14 @@ repository. ### Test dependencies +Before running the tests, you might need to install some system packages. Here's an example for Ubuntu: + +``` +sudo apt update +sudo apt install build-essential libssl-dev libffi-dev python3-dev +sudo apt install autoconf automake libtool +``` + Functional tests dependencies can be installed using `pip`. Use a virtual environment. ``` # Create a new virtual environment, preferably. diff --git a/tests/requirements.txt b/tests/requirements.txt index bc55b0ca..5dec68f1 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,7 +1,7 @@ -pytest==7.2 -pytest-xdist==1.31.0 -pytest-timeout==1.3.4 -ephemeral_port_reserve==1.1.1 +pytest>=8.3.5 +pytest-xdist>=3.6.1 +pytest-timeout>=2.3.1 +ephemeral_port_reserve>=1.1.4 bip32~=3.0 https://github.com/darosior/python-bip380/archive/fb61971d9128e663f110ea2734c1d023e7e0266b.zip