Skip to content

Commit 24f7a45

Browse files
Add zstd to build dependencies (#1558)
1 parent 3e3055e commit 24f7a45

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

core-developers/experts.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ bdb
6666
binascii
6767
bisect rhettinger*
6868
builtins
69-
bz2
7069
calendar
7170
cmath
7271
cmd
@@ -77,6 +76,11 @@ collections rhettinger*
7776
collections.abc rhettinger*, stutzbach^
7877
colorsys
7978
compileall carljm
79+
compression.bz2
80+
compression.gzip
81+
compression.lzma
82+
compression.zlib Yhg1s, gpshead*
83+
compression.zstd
8084
concurrent.futures pitrou, brianquinlan, gpshead*
8185
configparser ambv*
8286
contextlib ncoghlan, 1st1
@@ -114,7 +118,6 @@ getpass
114118
gettext
115119
glob
116120
grp
117-
gzip
118121
hashlib tiran, gpshead*, picnixz
119122
heapq rhettinger*, stutzbach^
120123
hmac tiran, gpshead*, picnixz
@@ -135,7 +138,6 @@ libmpdec
135138
linecache
136139
locale malemburg
137140
logging vsajip
138-
lzma
139141
mailbox
140142
marshal
141143
math rhettinger, stutzbach^
@@ -257,7 +259,6 @@ xmlrpc
257259
zipapp pfmoore
258260
zipfile alanmcintyre^, serhiy-storchaka, Yhg1s, gpshead
259261
zipimport Yhg1s*
260-
zlib Yhg1s, gpshead*
261262
==================== =============================================
262263

263264

getting-started/setup-building.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,9 @@ some of CPython's modules (for example, ``zlib``).
739739

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

746746

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

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

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

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

817817
.. tab:: Python 3.13+
818818

@@ -853,7 +853,7 @@ some of CPython's modules (for example, ``zlib``).
853853

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

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

858858
.. tab:: Python 3.13+
859859

0 commit comments

Comments
 (0)