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