diff --git a/TODO.txt b/TODO.txt index 090f175..8ddd83f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -2,5 +2,5 @@ [ ] import exported data [ ] display Teil-number [ ] export CSV/excel/markdown for printing -[ ] split requirements into prod, test, dev +[x] split requirements into prod, test, dev [ ] improve handling of settings for prod, test, and dev: avoid all those if statements diff --git a/requirements/dev.in b/requirements/dev.in index 154c08f..f94c67b 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -1,11 +1,8 @@ --r base.in +-r test.in django-extensions django-stubs -hypothesis[django] ipython pip-compile-multi -pytest -pytest-django ruff uv diff --git a/requirements/dev.txt b/requirements/dev.txt index 5cca5aa..3ce78a7 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,13 +1,12 @@ -# SHA1:d0cece8f6bf419b959d3618afd4e5760e5a40a9a +# SHA1:39149ea105722c1b0bd2fea274b35b595e3eab9a # # This file is autogenerated by pip-compile-multi # To update, run: # # pip-compile-multi # --r base.txt +-r test.txt asttokens==3.0.0 -attrs==25.3.0 build==1.2.2.post1 click==8.1.8 decorator==5.2.1 @@ -15,29 +14,22 @@ django-extensions==3.2.3 django-stubs==5.1.3 django-stubs-ext==5.1.3 executing==2.2.0 -hypothesis==6.129.0 -iniconfig==2.0.0 ipython==9.0.2 ipython-pygments-lexers==1.1.1 jedi==0.19.2 matplotlib-inline==0.1.7 -packaging==24.2 parso==0.8.4 pexpect==4.9.0 pip==25.0.1 pip-compile-multi==2.8.0 pip-tools==7.4.1 -pluggy==1.5.0 prompt-toolkit==3.0.50 ptyprocess==0.7.0 pure-eval==0.2.3 pygments==2.19.1 pyproject-hooks==1.2.0 -pytest==8.3.5 -pytest-django==4.10.0 ruff==0.9.10 setuptools==76.0.0 -sortedcontainers==2.4.0 stack-data==0.6.3 toposort==1.10 traitlets==5.14.3 diff --git a/requirements/base.in b/requirements/prod.in similarity index 100% rename from requirements/base.in rename to requirements/prod.in diff --git a/requirements/base.txt b/requirements/prod.txt similarity index 100% rename from requirements/base.txt rename to requirements/prod.txt diff --git a/requirements/test.in b/requirements/test.in new file mode 100644 index 0000000..2c801fa --- /dev/null +++ b/requirements/test.in @@ -0,0 +1,5 @@ +-r prod.in + +hypothesis[django] +pytest +pytest-django diff --git a/requirements/test.txt b/requirements/test.txt new file mode 100644 index 0000000..2f8d5ca --- /dev/null +++ b/requirements/test.txt @@ -0,0 +1,16 @@ +# SHA1:9bf147356ad56dbe073ef0973141bdfb94631c9b +# +# This file is autogenerated by pip-compile-multi +# To update, run: +# +# pip-compile-multi +# +-r prod.txt +attrs==25.3.0 +hypothesis==6.129.1 +iniconfig==2.0.0 +packaging==24.2 +pluggy==1.5.0 +pytest==8.3.5 +pytest-django==4.10.0 +sortedcontainers==2.4.0