pendulum icon indicating copy to clipboard operation
pendulum copied to clipboard

Segmentation fault at import when running 3.0.0 under Docker Alpine linux

Open EmilBode opened this issue 1 year ago • 0 comments

  • [X] I am on the latest Pendulum version: 3.0.0

  • [X] I have searched the issues of this repo and believe that this is not a duplicate.

  • OS version and name:

    • Host system: Windows 10 22H2
    • Docker version: 4.17.1 (101757)
    • Docker container: Alpine Linux 3.16.0
    • CPython: 3.10.4
  • Pendulum version: 3.0.0

    • I first downloaded the needed files with pip download pendulum -d <temp-folder> --platform=musllinux_1_1_x86_64 --python-version=310 --only-binary=:all:
    • Then started my docker-container with docker run -it -v <temp-folder>:/packages/ pythonimage /bin/ash
    • Installed pendulum with pip install --no-index --find-links /packages pendulum

Issue

After installing pendulum 3.0.0, I simply started a python-session and ran import pendulum. At which point I immediately got a message "Segmentation fault", and my session was ended.

The same setup, except with stating pendulum!=3.0.0 caused pendulum 2.1.2 to be installed, which ran without any problems.

EmilBode avatar Dec 19 '23 14:12 EmilBode