Package Details: python-msgspec 0.19.0-1

Git Clone URL: https://aur.archlinux.org/python-msgspec.git (read-only, click to copy)
Package Base: python-msgspec
Description: A fast and friendly JSON/MessagePack library, with optional schema validation
Upstream URL: https://github.com/jcrist/msgspec
Licenses: BSD-3-Clause
Submitter: rumpelsepp
Maintainer: envolution
Last Packager: envolution
Votes: 6
Popularity: 0.46
First Submitted: 2023-01-02 10:26 (UTC)
Last Updated: 2025-04-26 15:13 (UTC)

Latest Comments

1 2 3 Next › Last »

ResRipper commented on 2026-01-10 15:52 (UTC)

Please consider upgrade to v0.20.0, it added support for Python 3.14

envolution commented on 2025-04-26 15:40 (UTC)

@TheGreatAndyChow Looking at github I don't actually see any release updates/replacements since Dec, it's possible I made a shasum mistake when adopting. Thanks for the report - it should be okay now

TheGreatAndyChow commented on 2025-04-26 14:04 (UTC)

The build fails because the sha256sum of the msgspec-0.19.0.tar.gz on the github has changed... I don't know why it would, but it has. New one is 33961077a37830c54fa3108bd226a9d7a09b91ff82ef7b976a371039b54b6bc7 and it works. Although it doesn't seem to be a new version(??), so the hash shouldn't change.

envolution commented on 2025-01-04 23:49 (UTC)

the following PKGBUILD works:

https://gist.github.com/envolution/7e46eacb71517756914f034e23eeb3da

AlexBocken commented on 2024-12-27 19:36 (UTC) (edited on 2024-12-27 19:38 (UTC) by AlexBocken)

Version 0.19.0 has just been released, This release supports python 3.13. Please consider updating.

For me the checks have not passed with a simply pkgver and _commit bump.

corax2.05 commented on 2024-12-13 17:57 (UTC)

Please provide a build for aarch64 again. The build works flawlessly

user20159 commented on 2024-12-07 20:34 (UTC)

python-pytest-asyncio seems to be required:

==> Beginne check()...
Traceback (most recent call last):
  File "/usr/bin/pytest", line 8, in <module>
    sys.exit(console_main())
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 201, in console_main
    code = main()
           ^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 156, in main
    config = _prepareconfig(args, plugins)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 341, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
    raise exception.with_traceback(exception.__traceback__)
  File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
    teardown.throw(exception)  # type: ignore[union-attr]
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/helpconfig.py", line 105, in pytest_cmdline_parse
    config = yield
             ^^^^^
  File "/usr/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 1140, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 1494, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 1381, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/usr/lib/python3.12/site-packages/pluggy/_manager.py", line 421, in load_setuptools_entrypoints
    plugin = ep.load()
             ^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "/usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 184, in exec_module
    exec(co, module.__dict__)
  File "/usr/lib/python3.12/site-packages/maubot/testing/__init__.py", line 17, in <module>
    from .fixtures import *  # noqa: F401,F403
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 184, in exec_module
    exec(co, module.__dict__)
  File "/usr/lib/python3.12/site-packages/maubot/testing/fixtures.py", line 23, in <module>
    import pytest_asyncio
ModuleNotFoundError: No module named 'pytest_asyncio'
==> FEHLER: Ein Fehler geschah in check().
    Breche ab...

morsmortium commented on 2024-11-05 06:13 (UTC)

Does not build, full log: https://0x0.st/XG60.txt

tests/utils.py                                                            15      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/__init__.py          17      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_json_schema.py     289      3    99%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_utils.py           164     21    87%
tmp_install/usr/lib/python3.12/site-packages/msgspec/_version.py           4      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/inspect.py          343      9    97%
tmp_install/usr/lib/python3.12/site-packages/msgspec/json.py               2      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/msgpack.py            1      0   100%
tmp_install/usr/lib/python3.12/site-packages/msgspec/structs.py           36      1    97%
tmp_install/usr/lib/python3.12/site-packages/msgspec/toml.py              51     13    75%
tmp_install/usr/lib/python3.12/site-packages/msgspec/yaml.py              38      3    92%
------------------------------------------------------------------------------------------
TOTAL                                                                  12341    244    98%

================================================================== mypy ===================================================================
Found 63 errors in 11 files (checked 21 source files)
========================================================= short test summary info =========================================================
FAILED tests/basic_typing_examples.py::mypy-status
FAILED tests/test_common.py::mypy
FAILED tests/test_constraints.py::mypy
FAILED tests/test_convert.py::mypy
FAILED tests/test_convert.py::ruff::format
FAILED tests/test_inspect.py::mypy
FAILED tests/test_json.py::mypy
FAILED tests/test_msgpack.py::mypy
FAILED tests/test_schema.py::mypy
FAILED tests/test_struct.py::mypy
FAILED tests/test_toml.py::mypy
FAILED tests/test_utils.py::mypy
FAILED tests/test_yaml.py::mypy
=================================== 13 failed, 6050 passed, 51 skipped, 2 warnings in 116.71s (0:01:56) ===================================
==> ERROR: A failure occurred in check().
    Aborting...

Traace commented on 2024-11-02 16:12 (UTC) (edited on 2024-11-02 16:14 (UTC) by Traace)

Building on x86_64 does not work anymore.


Extension modules: msgspec._core, yaml._yaml (total: 2)
/home/USER/.cache/python-msgspec/PKGBUILD: line 50: 126000 Aborted                 (core dumped) pytest tests/
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-msgspec-0.18.6-3': 
error: packages failed to build: python-msgspec-0.18.6-3

backd00r commented on 2024-10-30 15:11 (UTC) (edited on 2024-10-30 15:14 (UTC) by backd00r)


==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-msgspec-0.18.6-3': 
error: packages failed to build: python-msgspec-0.18.6-3