diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4d469fad..9fee1f93 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -42,6 +42,8 @@ jobs: python -m pip install --upgrade pip python -m pip install 'poetry' poetry install + env: + SETUPTOOLS_USE_DISTUTILS=stdlib - name: Run tests run: | poetry run coverage run manage.py test --settings=observation_portal.test_settings @@ -88,6 +90,8 @@ jobs: poetry build -f wheel poetry build -f sdist poetry publish -u "__token__" -p '${{ secrets.PYPI_OBS_PORTAL_API_TOKEN }}' + env: + SETUPTOOLS_USE_DISTUTILS=stdlib build_and_publish_image: