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 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 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 = [