mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
feat: support python 3.7
This commit is contained in:
5
.github/workflows/continuous-integration.yml
vendored
5
.github/workflows/continuous-integration.yml
vendored
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user