From a000f910670ec84bfd7798bea048dbf4d60b6af5 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Tue, 17 Dec 2024 14:14:07 -0700 Subject: [PATCH 1/3] Rename requirements.txt as the input for pip-compile --- requirements-dev.txt => requirements-dev.in | 0 requirements.txt => requirements.in | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename requirements-dev.txt => requirements-dev.in (100%) rename requirements.txt => requirements.in (100%) diff --git a/requirements-dev.txt b/requirements-dev.in similarity index 100% rename from requirements-dev.txt rename to requirements-dev.in diff --git a/requirements.txt b/requirements.in similarity index 100% rename from requirements.txt rename to requirements.in From 0c3a3c7370da74517dba4a1bdeb40110ef69bbc6 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Tue, 17 Dec 2024 14:19:43 -0700 Subject: [PATCH 2/3] Add locked down dependencies using pip-compile --- requirements-dev.txt | 28 ++++++++++++++++++++++++++++ requirements.txt | 8 ++++++++ 2 files changed, 36 insertions(+) create mode 100644 requirements-dev.txt create mode 100644 requirements.txt diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 00000000..dc541d1a --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,28 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --output-file=requirements-dev.txt requirements-dev.in +# +backports-datetime-fromisoformat==2.0.2 ; python_version < "3.11" + # via -r requirements.txt +bottle==0.13.2 + # via -r requirements-dev.in +coverage==7.6.9 + # via pytest-cov +exceptiongroup==1.2.2 + # via pytest +iniconfig==2.0.0 + # via pytest +packaging==24.2 + # via pytest +pluggy==1.5.0 + # via pytest +pytest==8.3.4 + # via + # -r requirements-dev.in + # pytest-cov +pytest-cov==2.5.1 + # via -r requirements-dev.in +tomli==2.2.1 + # via pytest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..3870cb86 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --output-file=requirements.txt requirements.in +# +backports-datetime-fromisoformat==2.0.2 ; python_version < "3.11" + # via -r requirements.in From 5cbf176ae925ee413398bc85133889cad04c1534 Mon Sep 17 00:00:00 2001 From: Dave Johansen Date: Tue, 17 Dec 2024 14:20:37 -0700 Subject: [PATCH 3/3] Specify versions in the input for pip-compile --- requirements-dev.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.in b/requirements-dev.in index 56806d35..565ddb2e 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -1,8 +1,8 @@ -r requirements.txt -bottle -pytest +bottle~=0.13.0 +pytest~=8.3.0 # pytest-cov 2.6.0 has increased the version requirement # for the coverage package from >=3.7.1 to >=4.4, # which is in conflict with the version requirement # defined by the python-coveralls package for coverage==4.0.3 -pytest-cov>=2.4.0,<2.6 +pytest-cov~=2.5.0