diff --git a/.github/workflows/pyright.yaml b/.github/workflows/pyright.yaml index d7be324..9a9d3ca 100644 --- a/.github/workflows/pyright.yaml +++ b/.github/workflows/pyright.yaml @@ -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 diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index f4b4fb1..538a0ea 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -15,17 +15,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - 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: | diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml index d2001be..ef9ec82 100644 --- a/.github/workflows/ruff.yaml +++ b/.github/workflows/ruff.yaml @@ -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: | diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index dc7d7af..11f608a 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -130,9 +120,7 @@ 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 @@ -140,9 +128,7 @@ setproctitle==1.3.7 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