From a45acee9dc9e7c2fa983ab5342dc104ff5b9fb07 Mon Sep 17 00:00:00 2001 From: Cocoa Date: Tue, 5 Aug 2025 03:35:23 +0200 Subject: [PATCH 1/2] chore: lower the required glibc version Signed-off-by: Cocoa --- .github/workflows/release.yml | 33 +++++++++++++++++++++++---------- mix.exs | 2 +- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8d48b1..68c18bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,24 +7,32 @@ permissions: contents: write jobs: linux: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest + container: ubuntu:20.04 env: + ImageOS: ubuntu20 + LANG: en_US.UTF-8 + LANGUAGE: en_US:en + LC_ALL: en_US.UTF-8 + DEBIAN_FRONTEND: noninteractive MIX_ENV: prod - ELIXIR_VERSION: "1.15.3" + ELIXIR_VERSION: "1.15.8" strategy: matrix: otp_version: ["25.3"] name: Linux x86_64 (${{ matrix.otp_version }}) steps: - - uses: actions/checkout@v4 - - uses: erlef/setup-beam@v1 - with: - otp-version: ${{ matrix.otp_version }} - elixir-version: ${{ env.ELIXIR_VERSION }} - - name: Install system dependencies + - name: Install dependencies run: | - sudo apt-get update - sudo apt-get install -y build-essential automake autoconf pkg-config bc m4 unzip zip \ + apt-get update + apt-get install -y curl \ + git \ + liblzma-dev \ + libncurses5-dev \ + libssl-dev \ + libtinfo-dev \ + zlib1g-dev \ + build-essential automake autoconf cmake pkg-config bc m4 unzip zip \ gcc g++ \ gcc-i686-linux-gnu g++-i686-linux-gnu \ gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \ @@ -32,6 +40,11 @@ jobs: gcc-riscv64-linux-gnu g++-riscv64-linux-gnu \ gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu \ gcc-s390x-linux-gnu g++-s390x-linux-gnu + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{ matrix.otp_version }} + elixir-version: ${{ env.ELIXIR_VERSION }} - name: Precompile run: | export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache diff --git a/mix.exs b/mix.exs index 9ec518a..801c3cd 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ end defmodule Pythonx.MixProject do use Mix.Project - @version "0.4.6-dev" + @version "0.4.6" @description "Python interpreter embedded in Elixir" @github_url "https://github.com/livebook-dev/pythonx" From 4d87d125be901e31c7bdd6da6bf7ccfc258cb65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 5 Aug 2025 09:22:51 +0200 Subject: [PATCH 2/2] Update mix.exs --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 801c3cd..9ec518a 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ end defmodule Pythonx.MixProject do use Mix.Project - @version "0.4.6" + @version "0.4.6-dev" @description "Python interpreter embedded in Elixir" @github_url "https://github.com/livebook-dev/pythonx"