Skip to content

Commit 2c30c8a

Browse files
committed
# Conflicts: # pyproject.toml
2 parents d0f7efe + bcf8f07 commit 2c30c8a

File tree

6 files changed

+27
-10
lines changed

6 files changed

+27
-10
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ on:
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

1114
permissions:
@@ -28,10 +31,10 @@ env:
2831
jobs:
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

.readthedocs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ build:
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

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ classifiers = [
2020
"Programming Language :: Python :: 3 :: Only",
2121
]
2222
requires-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+
]
2426
dynamic = ["version"]
2527

2628
[project.urls]
@@ -30,10 +32,10 @@ Documentation = "https://importlib-resources.readthedocs.io/"
3032
[project.optional-dependencies]
3133
testing = [
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 = [
4446
docs = [
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",

pytest.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[pytest]
22
norecursedirs=dist build .tox .eggs
3-
addopts=--doctest-modules
3+
addopts=
4+
--doctest-modules
5+
--import-mode importlib
6+
consider_namespace_packages=true
47
filterwarnings=
58
## upstream
69

ruff.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
[lint]
2+
extend-select = [
3+
"C901",
4+
"W",
5+
]
26
ignore = [
37
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
48
"W191",

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ extras =
1212
[testenv:diffcov]
1313
description = run tests and check that diff from main is covered
1414
deps =
15+
{[testenv]deps}
1516
diff-cover
1617
commands =
1718
pytest {posargs} --cov-report xml

0 commit comments

Comments
 (0)