mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add lower-bounds to the `sphinxcontrib-*
` dependencies (#12756)
This commit is contained in:
parent
e3238260f6
commit
d7a22c2d0a
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
@ -23,6 +23,7 @@ env:
|
||||
FORCE_COLOR: "1"
|
||||
PYTHONDEVMODE: "1" # -X dev
|
||||
PYTHONWARNDEFAULTENCODING: "1" # -X warn_default_encoding
|
||||
UV_SYSTEM_PYTHON: "1" # make uv do global installs
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
@ -124,6 +125,38 @@ jobs:
|
||||
DO_EPUBCHECK: "1"
|
||||
EPUBCHECK_PATH: "/tmp/epubcheck/epubcheck-5.1.0/epubcheck.jar"
|
||||
|
||||
oldest-supported:
|
||||
runs-on: ubuntu-latest
|
||||
name: Oldest supported
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3"
|
||||
- name: Check Python version
|
||||
run: python --version --version
|
||||
- name: Install graphviz
|
||||
run: sudo apt-get install graphviz
|
||||
- name: Install uv
|
||||
run: >
|
||||
curl
|
||||
--location
|
||||
--fail
|
||||
--proto '=https' --tlsv1.2
|
||||
--silent --show-error
|
||||
https://astral.sh/uv/install.sh
|
||||
| sh
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv pip install .[test] --resolution lowest-direct
|
||||
uv pip install alabaster==1.0.0
|
||||
- name: Test with pytest
|
||||
run: python -m pytest -vv --durations 25
|
||||
env:
|
||||
PYTHONWARNINGS: "error" # treat all warnings as errors
|
||||
|
||||
latex:
|
||||
runs-on: ubuntu-latest
|
||||
name: LaTeX
|
||||
|
@ -4,6 +4,9 @@ Release 8.1.0 (in development)
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
* #12756: Add lower-bounds to the ``sphinxcontrib-*`` dependencies.
|
||||
Patch by Adam Turner.
|
||||
|
||||
Incompatible changes
|
||||
--------------------
|
||||
|
||||
|
@ -55,12 +55,12 @@ classifiers = [
|
||||
"Topic :: Utilities",
|
||||
]
|
||||
dependencies = [
|
||||
"sphinxcontrib-applehelp",
|
||||
"sphinxcontrib-devhelp",
|
||||
"sphinxcontrib-jsmath",
|
||||
"sphinxcontrib-htmlhelp>=2.0.0",
|
||||
"sphinxcontrib-applehelp>=1.0.7",
|
||||
"sphinxcontrib-devhelp>=1.0.6",
|
||||
"sphinxcontrib-htmlhelp>=2.0.6",
|
||||
"sphinxcontrib-jsmath>=1.0.1",
|
||||
"sphinxcontrib-qthelp>=1.0.6",
|
||||
"sphinxcontrib-serializinghtml>=1.1.9",
|
||||
"sphinxcontrib-qthelp",
|
||||
"Jinja2>=3.1",
|
||||
"Pygments>=2.17",
|
||||
"docutils>=0.20,<0.22",
|
||||
|
Loading…
Reference in New Issue
Block a user