Skip to content

Commit

Permalink
Asphalt5 update
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Dec 14, 2024
1 parent af9b4ef commit 3a8c6e4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test suite

on:
push:
branches: [master]
branches: [master, "asphalt5"]
pull_request:

jobs:
Expand All @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.10", "3.11", "3.12", "pypy-3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -22,9 +22,9 @@ jobs:
cache: pip
cache-dependency-path: pyproject.toml
- name: Start external services
run: docker-compose up -d
run: docker compose up -d
- name: Install dependencies
run: pip install -e .[test]
run: pip install -e .[test] coverage
- name: Test with pytest
run: coverage run -m pytest -v
- name: Generate coverage report
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# * Run "pre-commit install".
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -16,14 +16,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"

sphinx:
configuration: docs/conf.py
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ classifiers = [
"Topic :: Database",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"asphalt ~= 4.11",
"SQLAlchemy[asyncio] >= 2.0",
Expand All @@ -40,7 +40,6 @@ test = [
"aiosqlite",
"anyio[trio] >= 4.2",
"asyncmy; platform_python_implementation == 'CPython'",
"coverage >= 7",
"pymysql",
"psycopg >= 3.1; platform_python_implementation == 'CPython'",
"pytest >= 7.4",
Expand Down Expand Up @@ -80,7 +79,7 @@ addopts = "-rsx --tb=short"
testpaths = ["tests"]

[tool.mypy]
python_version = "3.8"
python_version = "3.9"
strict = true
explicit_package_bases = true

Expand All @@ -95,7 +94,7 @@ show_missing = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311, py312, pypy3
envlist = py39, py310, py311, py312, py313, pypy3
skip_missing_interpreters = true
minversion = 4.0
Expand Down

0 comments on commit 3a8c6e4

Please sign in to comment.