diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 65769ef33..25ae3093f 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -42,6 +42,8 @@ jobs: ref: ${{ github.event.inputs.branch }} - name: Install Python uses: actions/setup-python@v4 + with: + python-version: "3.11" - name: Install build dependencies run: python -m pip install cibuildwheel - name: Build wheels @@ -64,6 +66,8 @@ jobs: ref: ${{ github.event.inputs.branch }} - name: Install Python uses: actions/setup-python@v4 + with: + python-version: "3.11" - name: Install build dependencies run: python -m pip install -U setuptools wheel - name: Build wheels @@ -87,6 +91,8 @@ jobs: ref: ${{ github.event.inputs.branch }} - name: Install Python uses: actions/setup-python@v4 + with: + python-version: "3.11" - name: Build source distribution run: python setup.py sdist - name: Store the source distribution diff --git a/changelog.rst b/changelog.rst index 18281982a..0091cbe67 100644 --- a/changelog.rst +++ b/changelog.rst @@ -9,6 +9,7 @@ Changelog 202x-xx-xx • `full history `__ - Enable ``mypy`` to discover type hints as specified in PEP 561 (`#933 `__) +- [ci] Set the expected Python version when building release files - [ci] Update actions versions in use - [watchmedo] [regression] Fix usage of missing ``signal.SIGHUP`` attribute on non-Unix OSes (`#935 `__) - Thanks to our beloved contributors: @BoboTiG, @simon04, @piotrpdev