Kadir Can Ozden
cab4f0b3ac
Merge b691a8e52c into 6357bc272c
2026-02-21 23:15:40 +09:00
Julien Stephan
6357bc272c
ci: add riscv64 manylinux/musllinux wheels ( #664 )
...
Now that cibuildwheel and PyPI support riscv64, we can start building
riscv64 wheels.
Because there is no native riscv64 runner available, this PR adds a
QEMU-based riscv64 job to the cibuildwheel workflow.
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
2026-02-21 17:09:34 +09:00
Kadir Can Ozden
b691a8e52c
Add missing autoreset in Packer.pack_ext_type
...
pack_ext_type writes to the internal buffer but never checks
self._autoreset, unlike every other public pack method. This means
it always returns None and the packed data leaks into the output of
the next pack() call, corrupting the serialized stream.
Add the same autoreset pattern used by pack(), pack_map_pairs(),
pack_array_header(), and pack_map_header().
2026-02-20 15:00:07 +03:00
Inada Naoki
f9806368ae
update cython and cibuildwheel ( #658 )
2025-12-01 14:16:03 +09:00
Inada Naoki
c1ecd23dbf
drop Python 3.9 ( #656 )
2025-10-09 18:33:23 +09:00
Inada Naoki
af45640970
cython: freethreading_compatible ( #654 )
...
```
$ v3/bin/python -VV
Python 3.14.0 free-threading build (main, Oct 7 2025, 15:35:12) [Clang 20.1.4 ]
$ v3/bin/python -c 'import sys,msgpack; print(sys._is_gil_enabled())'
False
```
2025-10-09 15:53:08 +09:00
Inada Naoki
c2546eabc4
update setuptools requirements to >=78.1.1 ( #653 )
...
https://github.com/advisories/GHSA-5rjg-fvgr-3xxf
2025-10-09 15:28:01 +09:00
Inada Naoki
ef4f83df16
relax setuptools version ( #652 )
2025-10-09 13:00:46 +09:00
Inada Naoki
19b5d33ded
release v1.1.2 ( #649 )
2025-10-08 17:56:20 +09:00
TW
0f3c4be465
README: fix typos and grammar ( #648 )
2025-10-08 16:10:46 +09:00
MS-GITS
c2a9f1fda5
ci: add support for building windows on arm wheels ( #643 )
2025-09-26 13:17:17 +09:00
Inada Naoki
d9873dab04
ci: update cibuildwheel and drop Python 3.8 ( #642 )
2025-07-26 10:59:05 +09:00
Inada Naoki
42f056f3cf
v1.1.1
2025-06-13 15:41:08 +09:00
Inada Naoki
e6445d3b92
v1.1.1rc1
2025-06-06 09:56:15 +09:00
Inada Naoki
fe9e620a60
upload to PyPI on create a release ( #639 )
2025-06-02 14:46:53 +09:00
Inada Naoki
cdc7644503
update cibuildwheel to v2.23.3 ( #638 )
2025-06-01 16:56:44 +09:00
Inada Naoki
868aa2cd83
update Cython to 3.1.1 ( #637 )
2025-05-31 12:45:06 +09:00
Edgar Ramírez Mondragón
0eeabfb453
Add Python 3.13 trove classifier ( #626 )
2024-10-08 18:04:56 +09:00
Inada Naoki
4587393b1a
release v1.1.0 ( #622 )
2024-09-10 01:58:00 +09:00
Thomas A Caswell
20a2b8eaa2
use PyLong_* instead of PyInt_* ( #620 )
...
9af421163cb8081414be347038dee7a82b29e8dd in Cython removed back-compatibility `#define`.
2024-08-21 14:56:00 +09:00
Inada Naoki
9d0c7f2f9c
Release v1.1.0rc2 ( #619 )
2024-08-19 20:36:26 +09:00
Inada Naoki
9e26d80ab2
update cibuildwheel to 2.20.0 ( #618 )
2024-08-19 17:56:01 +09:00
Inada Naoki
6e11368f5d
update Cython to 3.0.11 ( #617 )
2024-08-19 17:35:16 +09:00
Inada Naoki
0b1c47b06b
do not install cython as build dependency ( #610 )
...
User can not cythonize during `pip install msgpack`.
So remove cython from build dependency.
If user need to use another Cython, user should download sdist, unzip,
manually cythonize, and `pip install .`.
2024-05-07 22:01:54 +09:00
Inada Naoki
9cea8b6da2
Release v1.1.0rc1 ( #609 )
2024-05-07 20:49:23 +09:00
Inada Naoki
33e0e86f4e
Cleanup code and pyproject ( #608 )
...
* use isort
* fallback: use BytesIO instead of StringIO. We had dropped Python 2
already.
2024-05-06 11:46:31 +09:00
Inada Naoki
e0f0e145f1
better error checks ( #607 )
...
* check buffer exports
* add error messages
2024-05-06 03:33:48 +09:00
Inada Naoki
e1068087e0
cython: better exception handling ( #606 )
...
- use `except -1` instead of manual error handling
- use `PyUnicode_AsUTF8AndSize()`
- use `_pack()` and `_pack_inner()` instead of `while True:`
2024-05-06 02:13:12 +09:00
Inada Naoki
3da5818a3a
update readme ( #605 )
2024-05-06 02:12:46 +09:00
Inada Naoki
72e65feb0e
packer: add buf_size option ( #604 )
...
And change the default buffer size to 256KiB.
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Co-authored-by: Rodrigo Tobar <rtobar@icrar.org>
2024-05-06 00:49:12 +09:00
Inada Naoki
bf2413f915
ignore msgpack/*.c
2024-05-06 00:30:07 +09:00
Inada Naoki
a97b31437d
Remove unused code ( #603 )
2024-05-06 00:13:59 +09:00
Inada Naoki
52f8bc2e55
implement buffer protocol ( #602 )
...
Fix #479
2024-05-05 23:14:27 +09:00
Inada Naoki
526ec9c923
update cibuildwheel to 2.17 ( #601 )
2024-05-04 16:49:22 +09:00
Inada Naoki
b389ccf2f7
update README ( #561 )
2024-05-04 16:10:37 +09:00
Inada Naoki
3e9a2a7419
Stop using c++ ( #600 )
...
Python 3.13a6+ & C++ & Cython cause compile error on some compilers.
2024-05-04 16:01:48 +09:00
Inada Naoki
0602baf3ea
update Cython and setuptools ( #599 )
2024-05-03 18:20:09 +09:00
Inada Naoki
2eca765533
use ruff instead of black ( #598 )
2024-05-03 15:17:54 +09:00
hakan akyürek
e77672200b
Avoid using floating points during timestamp-datetime conversions ( #591 )
2024-04-20 07:46:30 +09:00
Inada Naoki
9aedf8ed7f
Release v1.0.8 ( #583 )
2024-03-01 20:35:28 +09:00
Inada Naoki
bf7bf88ad0
ci: update workflows ( #582 )
2024-03-01 20:09:55 +09:00
Inada Naoki
039022cecb
update Cython ( #581 )
2024-03-01 19:24:06 +09:00
Inada Naoki
140864249f
exclude C/Cython files from wheel ( #577 )
2023-12-20 20:46:04 +09:00
Inada Naoki
c78026102c
doc: use sphinx-rtd-theme ( #575 )
2023-11-15 23:34:32 +09:00
Inada Naoki
2982e9ff72
release v1.0.7 ( #569 )
2023-09-28 17:31:52 +09:00
Inada Naoki
acd0684392
do not fallback on build error ( #568 )
2023-09-28 15:25:10 +09:00
Inada Naoki
ecf03748c7
remove inline macro for msvc ( #567 )
2023-09-28 15:03:16 +09:00
Inada Naoki
b1b0edaeed
release v1.0.6 ( #564 )
2023-09-21 14:58:37 +09:00
Inada Naoki
e1d3d5d5c3
update actions ( #563 )
2023-09-15 12:02:06 +09:00
Inada Naoki
4e10c10aaa
prepare for 1.0.6rc1 ( #557 )
2023-09-13 18:40:04 +09:00