Skip to content
Open
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
28 changes: 21 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,30 @@ jobs:
- run: pipx run check-manifest

test:
uses: pyapp-kit/workflows/.github/workflows/test-pyrepo.yml@v2
with:
os: ${{ matrix.platform }}
python-version: ${{ matrix.python-version }}
coverage-upload: artifact
name: Test
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
platform: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest]
resolution: ["highest", "lowest-direct"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v7
- run: uv run --group test coverage run -p -m pytest -v --color=yes
env:
UV_NO_DEV: "1"
UV_RESOLUTION: ${{ matrix.resolution }}
PYTEST_ADDOPTS: ${{ matrix.resolution == 'lowest-direct' && '-W ignore' || '' }}

- name: Upload coverage
uses: actions/upload-artifact@v5
with:
name: covreport-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.resolution }}
path: ./.coverage*
include-hidden-files: true

upload_coverage:
if: always()
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ ENV/
# IDE settings
.vscode/
.idea/
uv.lock
32 changes: 16 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"

# read more about configuring hatch at:
# https://hatch.pypa.io/latest/config/build/
[tool.hatch.build.targets.wheel]
only-include = ["src"]
sources = ["src"]

# https://peps.python.org/pep-0621/
[project]
Expand All @@ -31,23 +26,28 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = ['pydantic', 'requests']
dependencies = ["pydantic>=2.8", "requests>=2.31"]

# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
[dependency-groups]
test = [
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
]
dev = [
"ipython",
"types-requests",
"mypy",
"pdbpp", # https://github.com/pdbpp/pdbpp
"pre-commit",
"rich", # https://github.com/Textualize/rich
"ruff",
{ include-group = "test" },
"ipython>=8.18.1",
"mypy>=1.19.0",
"pdbpp>=0.11.7",
"pre-commit>=4.3.0",
"rich>=14.2.0",
"ruff>=0.14.7",
"types-requests>=2.32.4.20250913",
]


[project.urls]
homepage = "https://github.com/tlambert03/fpbasepy"
repository = "https://github.com/tlambert03/fpbasepy"
Expand Down
Loading