Skip to content

Commit

Permalink
see if this is the right set of libs for multiplat
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo committed Feb 24, 2024
1 parent 792dc16 commit 50b11d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
18 changes: 3 additions & 15 deletions docker/seed/Dockerfile.python
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,13 @@ COPY seed/python-sdk/imdb/src ./src

# Setup pyenv
RUN yum update -y
RUN yum -y install git gcc zlib-devel openssl-devel xz-devel
RUN yum -y install git gcc zlib-devel openssl-devel xz-devel bzip2-devel libffi-devel ncurses-devel sqlite-devel
RUN git clone --depth=1 https://github.com/pyenv/pyenv.git .pyenv
ENV PYENV_ROOT="${HOME}/.pyenv"
ENV PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN eval "$(pyenv init --path)"

RUN pyenv install 3.9 || true
RUN pyenv install 3.8 || true
RUN pyenv install 3.9
RUN pyenv install 3.8

# Setup poetry
RUN pyenv global 3.9
RUN pip install poetry &&\
poetry config virtualenvs.create false &&\
poetry install
RUN pip install mypy==1.8.0

# Setup poetry
RUN pyenv global 3.8
RUN pip install poetry &&\
poetry config virtualenvs.create false &&\
poetry install
RUN pip install mypy==1.8.0
1 change: 0 additions & 1 deletion seed/python-sdk/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ scripts:
# The global python version is 3.8
# - mypy --cache-dir /tmp . --cache-fine-grained
# - eval "$(pyenv init -)" && pyenv shell 3.9 && mypy --cache-dir /tmp . --cache-fine-grained
- pyenv shell 3.9
- poetry install
- poetry run mypy .
allowedFailures:
Expand Down

0 comments on commit 50b11d5

Please sign in to comment.