From 68ec691d2e7ce86bba7afa85d5241f47c2f6c82f Mon Sep 17 00:00:00 2001 From: lukken <lukken@astron.nl> Date: Wed, 14 Sep 2022 08:07:17 +0200 Subject: [PATCH] Add minimal versions and licensing information for requirements Requirements should clearly state their license as this aids in resolving potential licensing conflicts much more easily. In addition, these requirements should denote a minimal version based on the features they need from these requirements. Afterwards, these minimal versions can be extended with a lower-constraints job which verifies that all minimal versions results in a functional application. --- requirements.txt | 2 +- tests/requirements.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 24ce15a..56aacd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -numpy +numpy >= 1.20.0 # BSD diff --git a/tests/requirements.txt b/tests/requirements.txt index c28d83e..ada6414 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,6 +1,6 @@ -black -build -flake8 -pylint -pytest -pytest-cov +black >= 22.0.0 # MIT +build >= 0.8.0 # MIT +flake8 >= 5.0.0 # MIT +pylint >= 2.15.0 # GPLv2 +pytest >= 7.0.0 # MIT +pytest-cov >= 3.0.0 # MIT -- GitLab