diff --git a/.gitignore b/.gitignore index 5151182..a32ab0e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.png *.npz *.so +requirements.in # Generated directories /target diff --git a/python/justfile b/python/justfile index 0e2c88d..74c0692 100644 --- a/python/justfile +++ b/python/justfile @@ -68,7 +68,7 @@ requirements_in: with open("pyproject.toml", "rb") as pyf: config = tomllib.load(pyf) - outf.write("This file is autogenerated. Do not modify it!") + outf.write("# This file is autogenerated. Do not modify it!\n\n") outf.write("\n".join(config["build-system"]["requires"])) [private] @@ -84,6 +84,7 @@ requirements_txt: [doc('Pin dependency versions to requirements.txt')] pin: requirements_txt requirements_test_txt + cargo update --verbose # }}} # {{{ develop diff --git a/python/requirements-test.txt b/python/requirements-test.txt index ac5611e..d593937 100644 --- a/python/requirements-test.txt +++ b/python/requirements-test.txt @@ -1,5 +1,5 @@ # This file was autogenerated by uv via the following command: -# uv pip compile --universal --python-version 3.10 --extra test -o requirements-test.txt requirements.in pyproject.toml +# uv pip compile --universal --python-version 3.10 --extra test -o requirements-test.txt pyproject.toml requirements.in colorama==0.4.6 ; sys_platform == 'win32' # via pytest exceptiongroup==1.2.2 ; python_full_version < '3.11' @@ -22,7 +22,7 @@ pluggy==1.5.0 # via pytest pytest==8.3.4 # via pymittagleffler (pyproject.toml) -ruff==0.9.3 +ruff==0.9.4 # via pymittagleffler (pyproject.toml) tomli==2.2.1 ; python_full_version < '3.11' # via diff --git a/python/requirements.in b/python/requirements.in deleted file mode 100644 index 376699e..0000000 --- a/python/requirements.in +++ /dev/null @@ -1,3 +0,0 @@ -# This file is autogenerated. Do not modify it! -maturin>=1.6 -numpy diff --git a/python/requirements.txt b/python/requirements.txt index 603295b..085eae9 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,10 +1,4 @@ # This file was autogenerated by uv via the following command: -# uv pip compile --universal --python-version 3.10 -o requirements.txt requirements.in pyproject.toml -maturin==1.8.1 - # via -r requirements.in +# uv pip compile --universal --python-version 3.10 -o requirements.txt pyproject.toml numpy==2.2.2 - # via - # -r requirements.in - # pymittagleffler (pyproject.toml) -tomli==2.2.1 ; python_full_version < '3.11' - # via maturin + # via pymittagleffler (pyproject.toml)