mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

New python dependencies are introduced by the memory mapping script. Rather than add another `requirements.txt` utilise poetry. This is a proper dependency management framework for Python. The two main upsides of using poetry instead of the traditional requirements.txt are maintainability and reproducibility. Poetry provides a proper lock file for pinning dependencies, similar to npm for JavaScript. This allows for separate environments (i.e. docs, tools) to be created efficiently, and in a reproducible manner, wherever the project is deployed. Having dependencies pinned in this manner is a boon as a security focused project. An additional upside is that we will receive security updates for dependencies via GitHub's Dependabot. Change-Id: I5a3c2003769b878a464c8feac0f789e5ecf8d56c Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
26 lines
564 B
YAML
26 lines
564 B
YAML
# Copyright (c) 2023, Arm Limited. All rights reserved
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
# Configuration file for the readthedocs deploy
|
|
# Available at https://trustedfirmware-a.readthedocs.io/en/latest/
|
|
|
|
|
|
# readthedocs config version
|
|
version: 2
|
|
|
|
build:
|
|
os: ubuntu-22.04 # Ubuntu Jammy LTS
|
|
tools:
|
|
python: "3.10"
|
|
apt_packages:
|
|
- plantuml
|
|
jobs:
|
|
post_create_environment:
|
|
- pip install poetry
|
|
- poetry config virtualenvs.create false
|
|
post_install:
|
|
- poetry install --with docs
|
|
|
|
sphinx:
|
|
configuration: docs/conf.py
|