File tree Expand file tree Collapse file tree 6 files changed +27
-10
lines changed Expand file tree Collapse file tree 6 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 44 merge_group :
55 push :
66 branches-ignore :
7- # disabled for jaraco/skeleton#103
8- # - gh-readonly-queue/** # Temporary merge queue-related GH-made branches
7+ # temporary GH branches relating to merge queues (jaraco/skeleton#93)
8+ - gh-readonly-queue/**
9+ tags :
10+ # required if branches-ignore is supplied (jaraco/skeleton#103)
11+ - ' **'
912 pull_request :
1013
1114permissions :
2831jobs :
2932 test :
3033 strategy :
34+ # https://blog.jaraco.com/efficient-use-of-ci-resources/
3135 matrix :
3236 python :
3337 - " 3.8"
34- - " 3.11"
3538 - " 3.12"
3639 platform :
3740 - ubuntu-latest
@@ -42,10 +45,12 @@ jobs:
4245 platform : ubuntu-latest
4346 - python : " 3.10"
4447 platform : ubuntu-latest
48+ - python : " 3.11"
49+ platform : ubuntu-latest
4550 - python : pypy3.10
4651 platform : ubuntu-latest
4752 runs-on : ${{ matrix.platform }}
48- continue-on-error : ${{ matrix.python == '3.13' }}
53+ continue-on-error : ${{ matrix.python == '3.13' || (matrix.python == '3.8' || matrix.python == '3.9') && matrix.platform == 'macos-latest' }}
4954 steps :
5055 - uses : actions/checkout@v4
5156 - name : Setup Python
Original file line number Diff line number Diff line change 1010 os : ubuntu-lts-latest
1111 tools :
1212 python : latest
13+ # post-checkout job to ensure the clone isn't shallow jaraco/skeleton#114
14+ jobs :
15+ post_checkout :
16+ - git fetch --unshallow || true
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ classifiers = [
2020 " Programming Language :: Python :: 3 :: Only" ,
2121]
2222requires-python = " >=3.8"
23- dependencies = [" zipp >= 3.1.0; python_version < '3.10'" ]
23+ dependencies = [
24+ " zipp >= 3.1.0; python_version < '3.10'" ,
25+ ]
2426dynamic = [" version" ]
2527
2628[project .urls ]
@@ -30,10 +32,10 @@ Documentation = "https://importlib-resources.readthedocs.io/"
3032[project .optional-dependencies ]
3133testing = [
3234 # upstream
33- " pytest >= 6" ,
35+ " pytest >= 6, != 8.1.* " ,
3436 " pytest-checkdocs >= 2.4" ,
3537 " pytest-cov" ,
36- ' pytest-mypy; python_implementation != "PyPy" ' , # workaround for jaraco/skeleton#22
38+ " pytest-mypy" ,
3739 " pytest-enabler >= 2.2" ,
3840 " pytest-ruff >= 0.2.1" ,
3941
@@ -44,8 +46,6 @@ testing = [
4446docs = [
4547 # upstream
4648 " sphinx >= 3.5" ,
47- # workaround for sphinx/sphinx-doc#11662
48- " sphinx < 7.2.5" ,
4949 " jaraco.packaging >= 9.3" ,
5050 " rst.linker >= 1.9" ,
5151 " furo" ,
Original file line number Diff line number Diff line change 11[pytest]
22norecursedirs =dist build .tox .eggs
3- addopts =--doctest-modules
3+ addopts =
4+ --doctest-modules
5+ --import-mode importlib
6+ consider_namespace_packages =true
47filterwarnings =
58 # # upstream
69
Original file line number Diff line number Diff line change 11[lint ]
2+ extend-select = [
3+ " C901" ,
4+ " W" ,
5+ ]
26ignore = [
37 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
48 " W191" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ extras =
1212[testenv:diffcov]
1313description = run tests and check that diff from main is covered
1414deps =
15+ {[testenv]deps}
1516 diff-cover
1617commands =
1718 pytest {posargs} --cov-report xml
You can’t perform that action at this time.
0 commit comments