Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add zstd to build dependencies #1558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 10, 2025
Merged
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions core-developers/experts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ bdb
binascii
bisect rhettinger*
builtins
bz2
calendar
cmath
cmd
Expand All @@ -77,6 +76,11 @@ collections rhettinger*
collections.abc rhettinger*, stutzbach^
colorsys
compileall carljm
compression.bz2
compression.gzip
compression.lzma
compression.zlib Yhg1s, gpshead*
compression.zstd
concurrent.futures pitrou, brianquinlan, gpshead*
configparser ambv*
contextlib ncoghlan, 1st1
Expand Down Expand Up @@ -114,7 +118,6 @@ getpass
gettext
glob
grp
gzip
hashlib tiran, gpshead*, picnixz
heapq rhettinger*, stutzbach^
hmac tiran, gpshead*, picnixz
Expand All @@ -135,7 +138,6 @@ libmpdec
linecache
locale malemburg
logging vsajip
lzma
mailbox
marshal
math rhettinger, stutzbach^
Expand Down Expand Up @@ -257,7 +259,6 @@ xmlrpc
zipapp pfmoore
zipfile alanmcintyre^, serhiy-storchaka, Yhg1s, gpshead
zipimport Yhg1s*
zlib Yhg1s, gpshead*
==================== =============================================


Expand Down
12 changes: 6 additions & 6 deletions getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,9 @@ some of CPython's modules (for example, ``zlib``).

$ sudo dnf install \
gcc gcc-c++ gdb lzma glibc-devel libstdc++-devel openssl-devel \
readline-devel zlib-devel libffi-devel bzip2-devel xz-devel \
sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs perf \
expat expat-devel mpdecimal python3-pip
readline-devel zlib-devel libzstd-devel libffi-devel bzip2-devel \
xz-devel sqlite sqlite-devel sqlite-libs libuuid-devel gdbm-libs \
perf expat expat-devel mpdecimal python3-pip


On **Debian**, **Ubuntu**, and other ``apt``-based systems, try to get the
Expand Down Expand Up @@ -674,7 +674,7 @@ some of CPython's modules (for example, ``zlib``).
$ sudo apt-get install build-essential gdb lcov pkg-config \
libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev
lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev libzstd-dev

Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev`` package. You can safely
remove it from the install list above and the Python build will use a bundled version.
Expand Down Expand Up @@ -709,7 +709,7 @@ some of CPython's modules (for example, ``zlib``).

For **Homebrew**, install dependencies using ``brew``::

$ brew install pkg-config openssl@3 xz gdbm tcl-tk mpdecimal
$ brew install pkg-config openssl@3 xz gdbm tcl-tk mpdecimal zstd

.. tab:: Python 3.13+

Expand Down Expand Up @@ -750,7 +750,7 @@ some of CPython's modules (for example, ``zlib``).

For **MacPorts**, install dependencies using ``port``::

$ sudo port install pkgconfig openssl xz gdbm tcl tk +quartz mpdecimal
$ sudo port install pkgconfig openssl xz gdbm tk +quartz mpdecimal zstd

.. tab:: Python 3.13+

Expand Down
Loading