From b7151682893f933a0287e378a4618ae943b3204a Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Sun, 6 Apr 2025 12:09:03 -0400 Subject: [PATCH 1/3] requires-python = "=3.10" --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b116289..c3280f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "pydantic>=2.0.0", ] -requires-python = ">=3.11" +requires-python = ">=3.10" [project.optional-dependencies] dev = [ From 1acc46ec7100dd075541fa8ad0344d63f24bd599 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Sun, 6 Apr 2025 12:12:53 -0400 Subject: [PATCH 2/3] update README --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 21fe1f2..abf8ab4 100644 --- a/README.md +++ b/README.md @@ -256,18 +256,17 @@ export UV_LINK_MODE=copy ### Running tests -Make sure your virtual environment is activated, then run: +Make sure your virtual environment is activated. It's recommended to run `pytest` as a module with `python -m pytest` to ensure the Python path is set up correctly, especially for editable installs: ```bash # Run all tests -pytest +python -m pytest # Run with verbose output -pytest -v +python -m pytest -v # Run with coverage information -pytest --cov=pydantic_prompt -``` +python -m pytest --cov=pydantic_prompt ### Code formatting and linting From b6591a12008ec560a78a9c1d89f584b0322a8f1c Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Sun, 6 Apr 2025 12:14:50 -0400 Subject: [PATCH 3/3] python-version 3.10 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09f94af..319531d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4