JRubics / poetry-publish

An action to build and publish python package to pypi (https://pypi.org/) using poetry (https://github.com/sdispater/poetry)
BSD 3-Clause "New" or "Revised" License
129 stars 17 forks source link

Issues with python-openssl #11

Closed timfi closed 2 years ago

timfi commented 2 years ago

My builds for https://github.com/timfi/dotmatrix seem to keep failing due to the docker container not being able to locate the python-openssl package. It tries 3 times and then just dies.

Logs: https://github.com/timfi/dotmatrix/runs/3349910304?check_suite_focus=true Important snippet: ↓

  Step 1/8 : FROM python:slim
  slim: Pulling from library/python
  99046ad9247f: Pulling fs layer
  dae61f727682: Pulling fs layer
  466485ee6277: Pulling fs layer
  de739b056673: Pulling fs layer
  1374279231a5: Pulling fs layer
  de739b056673: Waiting
  1374279231a5: Waiting
  dae61f727682: Verifying Checksum
  dae61f727682: Download complete
  466485ee6277: Verifying Checksum
  466485ee6277: Download complete
  de739b056673: Verifying Checksum
  de739b056673: Download complete
  1374279231a5: Verifying Checksum
  1374279231a5: Download complete
  99046ad9247f: Download complete
  99046ad9247f: Pull complete
  dae61f727682: Pull complete
  466485ee6277: Pull complete
  de739b056673: Pull complete
  1374279231a5: Pull complete
  Digest: sha256:7bd2c014c1dc07330ebbef41927bfd82668e2322916820cd3ffff5e390bc04fd
  Status: Downloaded newer image for python:slim
   ---> c6e50ab8d425
  Step 2/8 : ENV PYENV_ROOT=/root/.pyenv
   ---> Running in fc8106d596dd
  Removing intermediate container fc8106d596dd
   ---> 6faf77993212
  Step 3/8 : ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
   ---> Running in 0f2b9fa65fb2
  Removing intermediate container 0f2b9fa65fb2
   ---> 22f048c910f8
  Step 4/8 : RUN apt-get update     && apt-get install -y --no-install-recommends       build-essential       curl       git       libbz2-dev       libffi-dev       liblzma-dev       libncurses5-dev       libncursesw5-dev       libreadline-dev       libsqlite3-dev       libssl-dev       llvm       make       python-openssl       tk-dev       wget       xz-utils       zlib1g-dev     && apt-get clean     && rm -rf /var/lib/apt/lists/*
   ---> Running in 7b6d934bd73f
  Get:1 http://deb.debian.org/debian bullseye InRelease [113 kB]
  Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
  Get:3 http://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
  Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [25.4 kB]
  Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8178 kB]
  Fetched 8397 kB in 2s (5500 kB/s)
  Reading package lists...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  E: Unable to locate package python-openssl
  The command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends       build-essential       curl       git       libbz2-dev       libffi-dev       liblzma-dev       libncurses5-dev       libncursesw5-dev       libreadline-dev       libsqlite3-dev       libssl-dev       llvm       make       python-openssl       tk-dev       wget       xz-utils       zlib1g-dev     && apt-get clean     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
MerleLiuKun commented 2 years ago

Yes I also meet this error, CC@JRubics

Update:

When poinit version from v1 to v1.8 fix this error.

timfi commented 2 years ago

Yes I also meet this error, CC@JRubics

Update:

When poinit version from v1 to v1.8 fix this error.

Thanks for the info! Now it's working for me as well!