Skip to content

Commit 42b4610

Browse files
committed
# Conflicts: # pyproject.toml
2 parents d34801b + bcf8f07 commit 42b4610

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Homepage = "https://github.com/python/importlib_metadata"
2929
[project.optional-dependencies]
3030
testing = [
3131
# upstream
32-
"pytest >= 6",
32+
"pytest >= 6, != 8.1.*",
3333
"pytest-checkdocs >= 2.4",
3434
"pytest-cov",
35-
'pytest-mypy; python_implementation != "PyPy"', # workaround for jaraco/skeleton#22
35+
"pytest-mypy",
3636
"pytest-enabler >= 2.2",
3737
"pytest-ruff >= 0.2.1",
3838

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

0 commit comments

Comments
 (0)