From 4dbdf7d0f330ef980e5ba19f445c9568004f5e85 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Tue, 22 Oct 2024 16:02:10 -0400 Subject: [PATCH] fix(build): installs required build dependencies during semantic release build (#1736) Semantic release is running in a container that does not have access to the dependencies installed in `make develop` step Signed-off-by: Jennifer Power --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9d892bf01..ab184b9bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,10 @@ line-length = 500 line_length = 500 [tool.semantic_release] -build_command = "python setup.py sdist bdist_wheel" +build_command = """ + python -m pip install -e .[dev] --upgrade --upgrade-strategy eager -- + python setup.py sdist bdist_wheel +""" version_variables = ["trestle/__init__.py:__version__"] commit_author = "semantic-release "