镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix the macos "Python CI / Test & build" failures #160

Closed

Description

@tdruez

For example:

  Upgrading pip...
  Error: dyld[3297]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
    Referenced from: <07D5E0A7-E19C-3D8F-B269-121F5EE9FF07> /Users/runner/hostedtoolcache/Python/3.
  Error: 10.14/x64/bin/python3.10
    Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)
  ./setup.sh: line 54:  3297 Abort trap: 6           ./python -m ensurepip
  Error: The process '/bin/bash' failed with exit code 134

Activity

  1. tdruez commented on Jul 25, 2024

    @tdruez
    CollaboratorAuthor
    Test & build (py3.7 on macos-latest)
    The version '3.7' with architecture 'arm64' was not found for macOS 14.5.
    

    The CI is using macos-latest which is macOS 14 and is based on arm64. Python 3.7 is not supported on that architecture.

    The short-term fix is to force macos-13 in the CI but it's time to reconsider Python 3.7 support.

    Python 3.7 is not officially supported anymore https://devguide.python.org/versions/#versions
    I think we should drop active support in this library as well.

    @pombredanne any thoughts on this?

  2. pombredanne commented on Jul 25, 2024

    @pombredanne
    Member

    @tdruez we should drop Python 3.7 alright. This is a really dead snake by now. As for macOS versions, for this library, one is enough: latest should be fine.

  3. tdruez commented on Jul 25, 2024

    @tdruez
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions