You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/changelog.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,27 @@ For a full changelog, consult the [git log](https://github.com/zeromq/pyzmq/comm
7
7
8
8
## 26
9
9
10
-
pyzmq 26 is a small release, but with some big changes nobody should notice.
11
-
The Cython backend has been rewritten using Cython 3's pure Python mode.
10
+
pyzmq 26 is a small release, but with some big changes _hopefully_ nobody will notice.
11
+
The highlights are:
12
+
13
+
- The Cython backend has been rewritten using Cython 3's pure Python mode.
14
+
- The build system has been rewritten to use CMake via [scikit-build-core] instead of setuptools (setup.py is gone!).
15
+
- Bundled libzmq is updated to 4.3.5, which changes its license from LGPL to MPL.
16
+
12
17
This means:
13
18
14
19
1. Cython >=3.0 is now a build requirement (if omitted, source distributions _should_ still build from Cython-generated .c files without any Cython present)
15
20
1. pyzmq's Cython backend is a single extension module, which should improve install size, import time, compile time, etc.
16
21
1. pyzmq's Cython backend is now BSD-licensed, matching the rest of pyzmq.
22
+
1. The license of the libzmq library (included in pyzmq wheels) starting with 4.3.5 is now Mozilla Public License 2.0 (MPL-2.0).
23
+
1. when building pyzmq from source and it falls back on bundled libzmq, libzmq and libsodium are built as static libraries using their own build systems (CMake for libzmq, autotools for libsodium except on Windows where it uses msbuild)
24
+
rather than bundling libzmq with tweetnacl as a Python Extension.
25
+
26
+
Since the new build system uses libzmq and libsodium's own build systems, evaluated at install time, building pyzmq with bundled libzmq from source should be much more likely to succeed on a variety of platforms than the previous method, where their build system was skipped and approximated as a Python extension.
27
+
But I would also be _very_ surprised if I didn't break anything in the process of replacing 14 years of setup.py from scratch, especially cases like cross-compiling.
28
+
Please [report](https://github.com/zeromq/pyzmq/issues/new) any issues you encounter building pyzmq.
17
29
18
-
The license of the libzmq library (included in pyzmq wheels and sources included but may not be used in pyzmq tarballs) remains unchanged and has its own LGPL license.
30
+
See [build docs](building-pyzmq) for more info.
19
31
20
32
__Enhancements__:
21
33
@@ -30,6 +42,7 @@ __Breaking changes__:
30
42
`bytes(Frame)` remains unchanged, and utf-8 text strings can still be produced with:
31
43
`bytes(Frame).decode("utf8")`,
32
44
which works in all versions of pyzmq and does the same thing.
45
+
- Stop building Python 3.7 wheels for manylinux1, which reached EOL in January, 2022. The new build system doesn't seem to be able to find cmake in that environment.
0 commit comments