diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6314c3e22..9d1bfe7ba 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -440,8 +440,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [38, 39, 310] + python: [37, 38, 39, 310] outputs: + python-package-name-linux-py37: ${{ steps.build-wheel-linux.outputs.ASSET_NAME_PY37 }} python-package-name-linux-py38: ${{ steps.build-wheel-linux.outputs.ASSET_NAME_PY38 }} python-package-name-linux-py39: ${{ steps.build-wheel-linux.outputs.ASSET_NAME_PY39 }} python-package-name-linux-py310: ${{ steps.build-wheel-linux.outputs.ASSET_NAME_PY310 }} @@ -641,6 +642,8 @@ jobs: strategy: matrix: include: + - python: '3.7' + filename-index: 'python-package-name-linux-py37' - python: '3.8' filename-index: 'python-package-name-linux-py38' - python: '3.9' diff --git a/builders/Dockerfile.release_manylinux_2_24_x86_64 b/builders/Dockerfile.release_manylinux_2_24_x86_64 index a06a0bd81..64d9aea8f 100644 --- a/builders/Dockerfile.release_manylinux_2_24_x86_64 +++ b/builders/Dockerfile.release_manylinux_2_24_x86_64 @@ -3,7 +3,7 @@ FROM quay.io/pypa/manylinux_2_24_x86_64 RUN apt-get update RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential ninja-build RUN curl https://sh.rustup.rs -sSf | sh -s -- -y -# Set the python path. Options: [cp38-cp38, cp39-cp39, cp310-cp310] +# Set the python path. Options: [cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310] ARG python_tag=cp38-cp38 # Install python deps RUN /opt/python/${python_tag}/bin/pip install numpy pybind11==2.8 PyYAML diff --git a/compiler/Makefile b/compiler/Makefile index fee646eb5..81ca3a3a7 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -240,6 +240,10 @@ define build_image_and_copy_wheels docker container run --rm -v ${PWD}/../wheels:/wheels_volume concrete-compiler-manylinux:$(1) cp -r /wheels/. /wheels_volume/. endef + +package_py37: update_python_version + $(call build_image_and_copy_wheels,cp37-cp37m) + package_py38: update_python_version $(call build_image_and_copy_wheels,cp38-cp38) @@ -285,6 +289,7 @@ python_lint: add-deps \ file-check \ not \ + package_py37 \ package_py38 \ package_py39 \ package_py310 \