File tree Expand file tree Collapse file tree 4 files changed +12
-13
lines changed
Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -34,31 +34,31 @@ jobs:
3434 # https://blog.jaraco.com/efficient-use-of-ci-resources/
3535 matrix :
3636 python :
37- - " 3.9 "
37+ - " 3.10 "
3838 - " 3.13"
3939 platform :
4040 - ubuntu-latest
4141 - macos-latest
4242 - windows-latest
4343 include :
44- - python : " 3.10"
45- platform : ubuntu-latest
4644 - python : " 3.11"
4745 platform : ubuntu-latest
4846 - python : " 3.12"
4947 platform : ubuntu-latest
5048 - python : " 3.14"
5149 platform : ubuntu-latest
50+ - python : " 3.15"
51+ platform : ubuntu-latest
5252 - python : pypy3.10
5353 platform : ubuntu-latest
5454 runs-on : ${{ matrix.platform }}
55- continue-on-error : ${{ matrix.python == '3.14 ' }}
55+ continue-on-error : ${{ matrix.python == '3.15 ' }}
5656 steps :
5757 - uses : actions/checkout@v4
5858 - name : Install build dependencies
5959 # Install dependencies for building packages on pre-release Pythons
6060 # jaraco/skeleton#161
61- if : matrix.python == '3.14 ' && matrix.platform == 'ubuntu-latest'
61+ if : matrix.python == '3.15 ' && matrix.platform == 'ubuntu-latest'
6262 run : |
6363 sudo apt update
6464 sudo apt install -y libxml2-dev libxslt-dev
Original file line number Diff line number Diff line change 22- repo : https://github.com/astral-sh/ruff-pre-commit
33 rev : v0.12.0
44 hooks :
5- - id : ruff
5+ - id : ruff-check
66 args : [--fix, --unsafe-fixes]
77 - id : ruff-format
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ classifiers = [
2020 " Programming Language :: Python :: 3" ,
2121 " Programming Language :: Python :: 3 :: Only" ,
2222]
23- requires-python = " >=3.9 "
23+ requires-python = " >=3.10 "
2424license = " Apache-2.0"
2525dependencies = [
2626 " zipp>=3.20" ,
@@ -58,7 +58,7 @@ doc = [
5858perf = [" ipython" ]
5959
6060check = [
61- " pytest-checkdocs >= 2.4 " ,
61+ " pytest-checkdocs >= 2.14 " ,
6262 " pytest-ruff >= 0.2.1; sys_platform != 'cygwin'" ,
6363]
6464
@@ -72,10 +72,9 @@ enabler = [
7272
7373type = [
7474 # upstream
75- " pytest-mypy >= 1.0.1" ,
76-
77- # # workaround for python/mypy#20454
78- " mypy < 1.19; python_implementation == 'PyPy'" ,
75+
76+ # Exclude PyPy from type checks (python/mypy#20454 jaraco/skeleton#187)
77+ " pytest-mypy >= 1.0.1; platform_python_implementation != 'PyPy'" ,
7978
8079 # local
8180]
Original file line number Diff line number Diff line change 2222 diff-cover
2323commands =
2424 pytest {posargs} --cov-report xml
25- diff-cover coverage.xml --compare-branch =origin/main --html-report diffcov.html
25+ diff-cover coverage.xml --compare-branch =origin/main --format html: diffcov.html
2626 diff-cover coverage.xml --compare-branch =origin/main --fail-under =100
2727
2828[testenv:docs]
You can’t perform that action at this time.
0 commit comments