Packaging >=22 no longer supports 'latest' versions, which is the version that is assigned when building the docs. https://github.com/pytest-dev/pytest/pull/10578#issuecomment-1348249045 Also first install pytest, then `docs/en/requirements.txt`: Installing the requirements last will honor pins of libraries shared between pytest and the docs build.
23 lines
433 B
YAML
23 lines
433 B
YAML
version: 2
|
|
|
|
python:
|
|
install:
|
|
# Install pytest first, then doc/en/requirements.txt.
|
|
# This order is important to honor any pins in doc/en/requirements.txt
|
|
# when the pinned library is also a dependency of pytest.
|
|
- method: pip
|
|
path: .
|
|
- requirements: doc/en/requirements.txt
|
|
|
|
build:
|
|
os: ubuntu-20.04
|
|
tools:
|
|
python: "3.9"
|
|
apt_packages:
|
|
- inkscape
|
|
|
|
formats:
|
|
- epub
|
|
- pdf
|
|
- htmlzip
|