Skip to content

Commit dbfc26c

Browse files
committed
Fix CI
Update Python versions & add dependabot Fix sphinx config
1 parent c5d2785 commit dbfc26c

File tree

4 files changed

+49
-7
lines changed

4 files changed

+49
-7
lines changed

.github/dependabot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "dependencies"
9+
- "github_actions"
10+
- "Skip Changelog"
11+
ignore:
12+
# Ignore all patch releases as we can manually
13+
# upgrade if we run into a bug and need a fix.
14+
- dependency-name: "*"
15+
update-types: ["version-update:semver-patch"]

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
python: [pypy3.7, 3.7, 3.9, "3.10", 3.11, 3.12-dev]
15+
python: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12']
1616
toxenv: [py]
1717
include:
1818
# windows
1919
- os: windows-latest
20-
python: 3.7
20+
python: '3.12'
2121
toxenv: py
2222
# misc
2323
- os: ubuntu-latest
24-
python: 3.9
24+
python: '3.12'
2525
toxenv: docs
2626
- os: ubuntu-latest
27-
python: 3.9
27+
python: '3.12'
2828
toxenv: pre-commit
2929
runs-on: ${{ matrix.os }}
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-python@v4
31+
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
32+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
3333
with:
3434
python-version: ${{ matrix.python }}
3535
- run: python -mpip install --upgrade setuptools pip tox virtualenv

.readthedocs.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/source/conf.py
16+
builder: "dirhtml"
17+
18+
# Optionally build your docs in additional formats such as PDF and ePub
19+
formats: []
20+
21+
# Optional but recommended, declare the Python requirements required
22+
# to build your documentation
23+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24+
python:
25+
install:
26+
- path: .
27+
- requirements: docs/source/requirements.txt

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@
167167

168168

169169
# Example configuration for intersphinx: refer to the Python standard library.
170-
intersphinx_mapping = {"https://docs.python.org/": None}
170+
intersphinx_mapping = {"python": ("https://docs.python.org/", None)}

0 commit comments

Comments
 (0)