From f6bb8ada8dc9207453840805edfb9e482f6a0b96 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Mon, 9 Sep 2024 14:52:22 -0400 Subject: [PATCH] fix: updates build command to install deps into container Signed-off-by: Jennifer Power --- .github/workflows/python-push.yml | 8 -------- pyproject.toml | 5 ++++- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-push.yml b/.github/workflows/python-push.yml index b3f9e40..46e9828 100644 --- a/.github/workflows/python-push.yml +++ b/.github/workflows/python-push.yml @@ -91,14 +91,6 @@ jobs: submodules: true fetch-depth: 0 token: ${{ secrets.ADMIN_PAT }} - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - name: Install build tools - run: | - make develop - # This action uses Python Semantic Release v8 - name: Python Semantic Release id: release diff --git a/pyproject.toml b/pyproject.toml index 648fdfe..6fe6042 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,10 @@ testpaths = [ ] [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_fedramp/__init__.py:__version__"] commit_author = "semantic-release " major_on_zero = false