Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
# We run tests against "." and not the tests directory as we test the README
# and documentation.
uv run --extra=dev pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests .
uv run --group=dev pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests .
env:
UV_PYTHON: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: sphinx-notes/pages@v3
with:
documentation_path: docs/source
pyproject_extras: dev
pyproject_group: dev
python_version: '3.14'
sphinx_build_options: -W
publish: ${{ github.ref_name == 'main' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
- name: Generate the GitHub release notes
env:
RELEASE: ${{ steps.calver.outputs.release }}
run: uv run --extra=release towncrier build --draft --version "$RELEASE" >
run: uv run --group=release towncrier build --draft --version "$RELEASE" >
release-notes.md

# Assemble the same fragments into CHANGELOG.rst under a new
# ``$RELEASE`` section and delete the consumed fragment files.
- name: Update the changelog
env:
RELEASE: ${{ steps.calver.outputs.release }}
run: uv run --extra=release towncrier build --yes --version "$RELEASE"
run: uv run --group=release towncrier build --yes --version "$RELEASE"

- uses: stefanzweifel/git-auto-commit-action@v7
id: commit
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
git fetch --tags
git checkout "$NEW_TAG"
uv build --sdist --wheel --out-dir dist/
uv run --extra=release check-wheel-contents dist/*.whl
uv run --group=release check-wheel-contents dist/*.whl

# We use PyPI trusted publishing rather than a PyPI API token.
# See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Install Python dependencies in a virtual environment.

.. code-block:: console

$ pip install --editable '.[dev]'
$ pip install --editable . --group dev

Spell checking requires ``enchant``.
This can be installed on macOS, for example, with `Homebrew`_:
Expand Down Expand Up @@ -64,7 +64,7 @@ Run the following commands to build and view documentation locally:

.. code-block:: console

$ uv run --extra=dev sphinx-build -M html docs/source docs/build -W
$ uv run --group=dev sphinx-build -M html docs/source docs/build -W
$ python -c 'import os, webbrowser; webbrowser.open("file://" + os.path.abspath("docs/build/html/index.html"))'

Continuous integration
Expand Down
Loading
Loading