From ba55b7c12851d1680148621022ec6af84a9123c7 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Sat, 7 Sep 2024 10:54:09 +0200 Subject: [PATCH 1/2] pyproject: Add pyotp dependency --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index dee91f33..d756b7b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ authors = [ license = {text = "GPL-3.0"} keywords = ["vault", "keepass"] dependencies = [ + "pyotp>=2.9.0", "setuptools; python_version<'3.8'", "construct>=2.10.53", "argon2_cffi>=18.1.0", From ba725d8efabfb1e9ddd005bb20e78e15733b46b6 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Sat, 7 Sep 2024 10:54:18 +0200 Subject: [PATCH 2/2] pyproject: Add requires-python Together with the previous commit this allows to use uv to build the library and run test. See https://astral.sh/blog/uv-unified-python-packaging. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index d756b7b4..aecc4ba7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ authors = [ ] license = {text = "GPL-3.0"} keywords = ["vault", "keepass"] +requires-python = ">=3.7" dependencies = [ "pyotp>=2.9.0", "setuptools; python_version<'3.8'",