]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat: add support for poetry
authorHarrison Mutai <harrison.mutai@arm.com>
Thu, 16 Feb 2023 10:20:48 +0000 (10:20 +0000)
committerHarrison Mutai <harrison.mutai@arm.com>
Wed, 19 Apr 2023 13:38:24 +0000 (14:38 +0100)
commit793f72c06ca1c2782f800c9f20980ca6b7870072
tree6b404b082649ab176599428c29eb020c608b4cab
parentffc56bd02d66b524193aeebdf4dea7c9dc14ca8d
feat: add support for poetry

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>
.readthedocs.yaml
.versionrc.js
docs/getting_started/docs-build.rst
docs/getting_started/prerequisites.rst
docs/requirements.in [deleted file]
docs/requirements.txt [deleted file]
poetry.lock [new file with mode: 0644]
pyproject.toml [new file with mode: 0644]