Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/pyright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
python -m pip install hatch
uv pip install --system hatch hatch-pip-compile
hatch env create dev
- run: echo "$(hatch env find dev)/bin" >> $GITHUB_PATH
- name: Run pyright
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test matrix now only includes Python 3.10-3.13, but pyproject.toml declares requires-python = ">=3.6". This creates an inconsistency where the package claims to support Python 3.6-3.9, but these versions are no longer being tested in CI.

Consider either:

  1. Updating requires-python in pyproject.toml to ">=3.10" to match the tested versions, or
  2. If Python 3.6-3.9 support is still needed, add a comment explaining why these versions aren't tested (e.g., due to dev dependency constraints like click 8.3.0 requiring Python >=3.10)
Suggested change
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
# Note: pyproject.toml may declare support for Python >=3.6, but CI only runs on 3.10+
# here due to tooling/dev-dependency constraints. Python 3.6–3.9 are not exercised by
# this workflow.

Copilot uses AI. Check for mistakes.
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
python -m pip install hatch
uv pip install --system hatch hatch-pip-compile
hatch env create dev
- name: Test with pytest
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
python -m pip install hatch
uv pip install --system hatch hatch-pip-compile
hatch env create dev
- name: Lint with Ruff (check)
run: |
Expand Down
20 changes: 3 additions & 17 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@
# - pytest-cov
# - pytest-freezer
# - pytest-github-actions-annotate-failures
# - pytest-memray
# - pytest-mock
# - pytest-randomly
# - requests-mock
# - ruff
# - typing_extensions
# - makefun
# - pychoir
# - python-json-logger>=3.1.0
# - requests
# - pychoir
#

certifi==2025.10.5
Expand All @@ -45,8 +44,6 @@ idna==3.10
# via requests
iniconfig==2.1.0
# via pytest
jinja2==3.1.6
# via memray
libcst==1.7.0
# via mutmut
linkify-it-py==2.0.3
Expand All @@ -58,14 +55,10 @@ markdown-it-py==4.0.0
# mdit-py-plugins
# rich
# textual
markupsafe==3.0.3
# via jinja2
mdit-py-plugins==0.5.0
# via markdown-it-py
mdurl==0.1.2
# via markdown-it-py
memray==1.19.1
# via pytest-memray
mutmut==3.3.1
# via hatch.envs.dev
nodeenv==1.9.1
Expand Down Expand Up @@ -100,7 +93,6 @@ pytest==8.4.2
# pytest-cov
# pytest-freezer
# pytest-github-actions-annotate-failures
# pytest-memray
# pytest-mock
# pytest-randomly
pytest-cov==7.0.0
Expand All @@ -109,8 +101,6 @@ pytest-freezer==0.4.9
# via hatch.envs.dev
pytest-github-actions-annotate-failures==0.3.0
# via hatch.envs.dev
pytest-memray==1.8.0
# via hatch.envs.dev
pytest-mock==3.15.1
# via hatch.envs.dev
pytest-randomly==4.0.1
Expand All @@ -130,19 +120,15 @@ requests==2.32.5
requests-mock==1.12.1
# via hatch.envs.dev
rich==14.2.0
# via
# memray
# textual
# via textual
ruff==0.14.0
# via hatch.envs.dev
setproctitle==1.3.7
# via mutmut
six==1.17.0
# via python-dateutil
textual==6.2.1
# via
# memray
# mutmut
# via mutmut
typing-extensions==4.15.0
# via
# hatch.envs.dev
Expand Down
Loading