Commit graph

926 commits

Author SHA1 Message Date
Charlie Lin
7a06eb2060
Merge 80191651eb into f9806368ae 2025-12-08 15:11:50 +01:00
Inada Naoki
f9806368ae
update cython and cibuildwheel (#658) 2025-12-01 14:16:03 +09:00
Inada Naoki
80191651eb
Merge branch 'main' into nogil 2025-10-09 18:45:55 +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
31f8f8bc42
Merge branch 'main' into nogil 2025-10-08 18:31:29 +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
Charlie Lin
716e08c780
Merge branch 'main' into nogil 2025-09-27 13:21:54 -04:00
MS-GITS
c2a9f1fda5
ci: add support for building windows on arm wheels (#643) 2025-09-26 13:17:17 +09:00
Charlie Lin
48c56cdc29
Drop -dev suffix in test.yml 2025-09-24 20:23:16 -04:00
Charlie Lin
ccfd2547c7 Drop spurious multhreading test
Per https://github.com/msgpack/msgpack-python/pull/641#discussion_r2315489310, sharing more than one `Packer` object is not supported.
2025-09-11 17:44:53 +00:00
Charlie Lin
e0e9b12877
Fix minor YAML oops in .github/workflows/test.yml
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
2025-09-09 17:05:42 -04:00
Charlie Lin
9a7659f1d5
Fix minor YAML oops in .github/workflows/test.yml
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
2025-09-09 17:05:12 -04:00
Charlie Lin
79e5de103a
Work around Windows wonkiness
On Windows, attempting to upgrade `pip` within CI always yields this:
```
Run pip install -U pip
Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.10.11\x64\lib\site-packages (25.1.1)
Collecting pip
  Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Downloading pip-25.2-py3-none-any.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 48.1 MB/s eta 0:00:00

Notice:  A new release of pip is available: 25.1.1 -> 25.2
Notice:  To update, run: python.exe -m pip install --upgrade pip
ERROR: To modify pip, please run the following command:
C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe -m pip install -U pip
Error: Process completed with exit code 1.
```
2025-08-07 15:04:31 +00:00
Charlie Lin
d0797bd272
Separate C extension and fallback tests for GIL and no-GIL interpreters 2025-08-07 15:00:50 +00:00
Charlie Lin
42f4cba85e
Drop pytest-run-parallel as test requirement in requirements.txt 2025-08-07 14:54:02 +00:00
Charlie Lin
bf580572ff
Drop 3.8 support in test.yml 2025-08-07 14:51:17 +00:00
Charlie Lin
d965025f2e
Fix extremely silly typo 2025-08-06 21:50:26 +00:00
Charlie Lin
7b7b1bff36
Merge branch 'main' into nogil 2025-08-06 21:46:52 +00:00
Charlie Lin
61aa23fa0b
Update .github/workflows/wheel.yml
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2025-08-06 21:44:32 +00:00
Inada Naoki
d9873dab04
ci: update cibuildwheel and drop Python 3.8 (#642) 2025-07-26 10:59:05 +09:00
Charlie Lin
3cc2a384d5
Exclude PYTHON_GIL for now 2025-07-25 14:50:49 +00:00
Charlie Lin
cafe4f0985 Lint 2025-07-20 11:41:57 -04:00
Charlie Lin
75cdd03f28 Exclude PYTHON_GIL=0 for now 2025-07-20 11:40:14 -04:00
Charlie Lin
6ced817616 Add no-GIL interpreter support
Add `pytest-run-parallel` as dependency, test no-GIL interpreters in CI, and
mark Cython module as safe for freethreaded interpreters.
2025-07-20 11:33:23 -04: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