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
4 changes: 2 additions & 2 deletions .github/workflows/auto_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e . --group dev
python -m pip install -e . --group test
- name: Test with pytest
run: |
pytest tests/ --cov=src/ --cov-report=term-missing
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e . --group dev
python -m pip install -e . --group type-check
- name: Check type stub files
run: |
python -m mypy.stubtest ducktools.classbuilder
10 changes: 5 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.12"
python: "3.14"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -18,7 +18,7 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- method: uv
command: sync
groups:
- docs
35 changes: 19 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,32 @@ dependencies = [
"reannotate>=0.1.3 ; python_full_version >= '3.14'",
]

[project.optional-dependencies]
# Needed for the current readthedocs.yaml
docs = [
"sphinx>=8.1",
"myst-parser>=4.0",
"sphinx_rtd_theme>=3.0",
]

[project.urls]
"Homepage" = "https://github.com/davidcellis/ducktools-classbuilder"

[dependency-groups]
dev = [
"pytest>=8.4",
"pytest-cov>=6.1",
"mypy>=1.16; platform_python_implementation == 'CPython'",
"typing-extensions>=4.14",
"coverage-simple-excludes>=1.1.1",
{include-group = "test"},
{include-group = "type-check"},
]
test = [
"pytest>=9.1",
"pytest-cov>=7.1",
"coverage-simple-excludes>=1.1",
]
type-check = [
"mypy>=2.3; platform_python_implementation == 'CPython'",
"typing-extensions>=4.16",
]
performance = [
"attrs>=25.0",
"pydantic>=2.11",
"msgspec>=0.20",
"attrs>=26.0",
"pydantic>=2.13; python_full_version < '3.15'", # Don't bother building pydantic on unsupported python
"msgspec>=0.21",
]
docs = [
"sphinx>=9.1",
"myst-parser>=5.1",
"sphinx_rtd_theme>=3.1",
]

[tool.setuptools.packages.find]
Expand Down
Loading