Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
sudo apt-get update -q
sudo apt-get install -q -y --no-install-recommends \
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev lzma liblzma-dev tk-dev uuid-dev zlib1g-dev

lzma-dev is only available up until ubuntu-24.04. The replacement for it is liblzma-dev. I'd also suggest to pin the OS version to ubuntu-26.04 for that job so it doesn't fail accidentally if for some reason a runner still uses the old 24.04 image.

Btw: Even the cpython dev guide still references the "old" dependency if you like to upgrade that, too. https://devguide.python.org/getting-started/setup-building/#install-dependencies -> Linux -> Ubuntu

./configure --prefix=/opt/pythondev
make -j$(nproc)
sudo make install
Expand All @@ -191,7 +191,7 @@ jobs:
sudo apt-get update -q
sudo apt-get install -q -y --no-install-recommends \
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev lzma liblzma-dev tk-dev uuid-dev zlib1g-dev

./configure CFLAGS="-DPy_DEBUG -DPy_TRACE_REFS -DPYMALLOC_DEBUG" --with-pydebug -with-trace-refs --prefix=/opt/pythondev
make -j$(nproc)
sudo make install
Expand Down