From 7d6168a1974a2c3c3196f8fd69ac7b4ac3fb7747 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:43:09 +0100 Subject: [PATCH] Sync project metadata with `pyproject.toml` Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application. --- pyproject.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d3942fe..1f4cdb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aareDB" -version = "0.1.0a1" +version = "0.1.0a2" description = "Backend for next gen sample management system" authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}] license = {text = "MIT"} @@ -25,5 +25,11 @@ dependencies = [ "pydantic[email]", "mysqlclient~=2.1.1", "python-multipart~=0.0.6", - "uvicorn==0.23.1" -] \ No newline at end of file + "uvicorn==0.23.1", + "python-dateutil~=2.8.2" + +] +[tool.pytest.ini_options] +norecursedirs = ["backend/python-client"] +# Or limit files explicitly +python_files = ["test_auth.py"] \ No newline at end of file