This is an automated email from the ASF dual-hosted git repository. gstein pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/steve.git
commit a994b6cc86999e7f45be102db63b8dada2cb4b15 Author: Greg Stein <[email protected]> AuthorDate: Thu Sep 25 19:32:18 2025 -0500 Move to poetry for package management. Implement a .gitignore to ignore the poetry.lock file, then move some v3 ignores from top-level into this. Add pyproject.toml with initial draft. Remove requirements.txt --- .gitignore | 5 +---- v3/.gitignore | 8 ++++++++ v3/pyproject.toml | 25 +++++++++++++++++++++++++ v3/requirements.txt | 6 ------ 4 files changed, 34 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 86ebc43..cdf389b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ -v3/bin/bs.zip -v3/server/config.yaml -v3/server/apptoken.txt - +**/.gitignore ### default/generic ignores below *.py[co] diff --git a/v3/.gitignore b/v3/.gitignore new file mode 100644 index 0000000..308f3a1 --- /dev/null +++ b/v3/.gitignore @@ -0,0 +1,8 @@ +poetry.lock + +bin/bs.zip + +server/config.yaml +server/apptoken.txt + +test/covtest.db diff --git a/v3/pyproject.toml b/v3/pyproject.toml new file mode 100644 index 0000000..401be49 --- /dev/null +++ b/v3/pyproject.toml @@ -0,0 +1,25 @@ +[tool.poetry] +name = "apache-steve" +version = "3.0.0" +description = "The Apache STeVe voting system." +authors = ["Apache STeVe Community <[email protected]>"] +license = "Apache-2.0" +readme = "README.md" +repository = "https://github.com/apache/steve" + +[tool.poetry.dependencies] +python = "^3.10" +asfpy = ">=0.56" +asfquart = ">=0.1.12" +ezt = "^1.1" +easydict = "^1.13" +passlib = "^1.7.4" +cryptography = "^44.0.3" +argon2-cffi = "^25.1.0" + +[tool.poetry.group.test.dependencies] +coverage = "^7.10.6" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/v3/requirements.txt b/v3/requirements.txt deleted file mode 100644 index 7c85e08..0000000 --- a/v3/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -passlib -argon2-cffi -cryptography - -# strictly speaking, optional: -coverage
