Skip to content

Commit

Permalink
Set python 3.8 as min and add 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Oct 18, 2023
1 parent ec98409 commit 79f8716
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions eng/Dockerfile.manylinux
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ARG USER_UID=1000
ARG USER_GID=${USER_UID}
ARG RUST_TOOLCHAIN=1.64.0

# libcgroup created a new group that conflicts with the agent group id.
# To avoid this issue in the future, -o allows for non-unique group ids.
# libcgroup created a new group that conflicts with the agent group id.
# To avoid this issue in the future, -o allows for non-unique group ids.
RUN groupadd --gid ${USER_GID} -o ${USERNAME}
RUN useradd --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
RUN yum install -y sudo
Expand All @@ -34,13 +34,13 @@ RUN chown ${USER_UID}:${USER_GID} /io
USER $USERNAME

# Add all supported python versions
ENV PATH /opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:$PATH
ENV PATH /opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:/opt/python/cp312-cp312/bin:$PATH

RUN python3.7 -m pip install --no-cache-dir cffi \
&& python3.8 -m pip install --no-cache-dir cffi \
RUN python3.8 -m pip install --no-cache-dir cffi \
&& python3.9 -m pip install --no-cache-dir cffi \
&& python3.10 -m pip install --no-cache-dir cffi \
&& python3.11 -m pip install --no-cache-dir cffi
&& python3.11 -m pip install --no-cache-dir cffi \
&& python3.12 -m pip install --no-cache-dir cffi

USER root

Expand Down
4 changes: 2 additions & 2 deletions pyqir/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[project]
name = "pyqir"
version = "0.9.0"
requires-python = ">= 3.7"
requires-python = ">= 3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: MacOS",
Expand Down

0 comments on commit 79f8716

Please sign in to comment.