The NetBSD Project

CVS log for pkgsrc/devel/py-msgpack/distinfo

[BACK] Up to [] / pkgsrc / devel / py-msgpack

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 9 05:32:11 2023 UTC (6 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, HEAD
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

py-msgpack: updated to 1.0.5


Fallback to compiler defines when __BYTE_ORDER is not available
Fix build error caused by ntohs, ntohl
Add python 3.11 wheels
fallback: Fix packing multidim memoryview
minor type in exception message

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 3 13:31:08 2022 UTC (14 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

py-msgpack: update to 1.0.4.

What's Changed

    Support Python 3.11 (beta)
    refresh ci settings. by @methane in #492
    Don't define _*ENDIAN macro on Unix. by @methane in #495
    Update setuptools and black by @methane in #498
    Use PyFloat_Pack8() on Python 3.11a7 by @vstinner in #499
    Upgrade black to fix CI by @hauntsaninja in #505
    Fix Unpacker max_buffer_length handling by @methane in #506
    ci: Update action versions. by @methane in #507
    Release v1.0.4 by @methane in #509

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 24 14:11:37 2021 UTC (21 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

py-msgpack: updated to 1.0.3


Fix Docstring
Fix error formatting
Improve error message about strict_map_key

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 26 10:18:42 2021 UTC (22 months, 4 weeks ago) by nia
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 7 13:43:23 2021 UTC (23 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

devel: Remove SHA1 hashes for distfiles

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 4 16:38:52 2021 UTC (2 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

py-msgpack: updated to 1.0.2

Bug fixes

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 14 06:40:34 2020 UTC (2 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

py-msgpack: updated to 1.0.1

Add Python 3.9 and linux/arm64 wheels.
Fixed Unpacker.tell() after read_bytes()
Fixed unpacking datetime before epoch on Windows
Fixed fallback Packer didn't check DateTime.tzinfo

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 11 14:02:50 2020 UTC (3 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

py-msgpack: updated to 1.0.0


Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2.
Remove encoding option from the Packer and Unpacker.
Unpacker: The default value of max_buffer_type is changed to 100MiB.
Unpacker: strict_map_key is True by default now.
Unpacker: String map keys are interned.
Drop old buffer protocol support.
Support Timestamp type.
Support serializing and decerializing datetime object with tzinfo.
Unpacker: Fix Unpacker.read_bytes() in fallback implementation.


Support Python 3.8.
Update Cython to 0.29.13 for support Python 3.8.
Some small optimizations.


This release is for mitigating pain caused by v0.6.0 reduced max input limits for security reason.

unpackb(data) configures max_*_len options from len(data), instead of static default sizes.
Unpacker(max_buffer_len=N) configures max_*_len options from N, instead of static default sizes.
max_bin_len, max_str_len, and max_ext_len are deprecated. Since this is minor release, it's document only deprecation.


This release contains some backward incompatible changes for security reason (DoS).

Important changes

unpacker: Default value of input limits are smaller than before to avoid DoS attack. If you need to handle large data, you need to specify limits manually.
Unpacker doesn't wrap underlaying ValueError (including UnicodeError) into UnpackValueError. If you want to catch all exception during unpack, you need to use try ... except Exception with minimum try code block.
PackValueError and PackOverflowError are also removed. You need to catch normal ValueError and OverflowError.
Unpacker has strict_map_key option now. When it is true, only bytes and str (unicode in Python 2) are allowed for map keys. It is recommended to avoid hashdos. Default value of this option is False for backward compatibility reason. But it will be changed True in 1.0.

Other changes

Extension modules are merged. There is msgpack._cmsgpack instead of msgpack._packer and msgpack._unpacker.
Add Unpacker.getbuffer() method.
unpacker: msgpack.StackError is raised when input data contains too nested data.
unpacker: msgpack.FormatError is raised when input data is not valid msgpack format.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 23 14:20:55 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

py-msgpack: updated to 0.5.6

Fix fallback.Unpacker.feed() dropped unused data from buffer
Resurrect fallback.unpack() and _unpacker.unpack(). They were removed at 0.5.5 but it breaks backward compatibility.

Fix memory leak in pure Python Unpacker.feed()
Fix unpack() didn't support raw option

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 5 09:01:05 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

py-msgpack: updated to 0.5.4

Use cython's cast for converting encoding and errors
It is little faster on Python 3 because we can skip temporary bytes object

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 10 09:06:22 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

py-msgpack: updated to 0.5.1

Minor bug fixes.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 9 05:20:51 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

py-msgpack: updated to 0.5.0

There are some deprecations. Please read changes carefully.

* Drop Python 2.6 and ~3.4 support. Python 2.7 and 3.5+ are supported.
* Deprecate useless custom exceptions. Use ValueError instead of PackValueError, Exception instead of PackException and UnpackException, etc... See msgpack/
* Add strict_types option to packer. It can be used to serialize subclass of builtin types. For example, when packing object which type is subclass of dict, default() is called. default() is called for tuple too.
* Pure Python implementation supports packing memoryview object.
* Support packing bytearray.
* Add Unpacker.tell(). And write_bytes option is deprecated.

Bugs fixed
* Fixed zero length raw can't be decoded when encoding is specified.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 11 11:12:44 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Changes 0.4.8:
Bug fixes.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 3 03:29:11 2015 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 22 14:34:49 2015 UTC (8 years, 1 month ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Update msgpack-python to 0.4.6.

:release date: 2015-03-13

Bugs fixed

* fallback.Unpacker: Fix Data corruption when OutOfData.
  This bug only affects "Streaming unpacking."

:release date: 2015-01-25

Bugs fixed

* Fix test failure on pytest 2.3.  (by @ktdreyer)
* Fix typos in ChangeLog.  (Thanks to @dmick)
* Improve README.rst  (by @msabramo)

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 19 12:31:11 2015 UTC (8 years, 8 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Update msgpack-python to 0.4.4.

:release date: 2015-01-09

Incompatible Changes


Bugs fixed

* Fix compile error.

:release date: 2015-01-07

Incompatible Changes


Bugs fixed

* Unpacker may unpack wrong uint32 value on 32bit or LLP64 environment. (#101)
* Build failed on Windows Python 2.7.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 8 23:17:37 2014 UTC (9 years, 3 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Bugs fixed
 * Unpacker doesn't increment refcount of ExtType hook.
 * Packer raises no exception for inputs doesn't fit to msgpack format.


 * fallback.Unpacker.feed() supports bytearray.

Bugs fixed

 * Unpacker doesn't increment refcount of hooks. Hooks may be GCed while
 * Unpacker may read unfilled internal buffer.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 23 09:40:29 2014 UTC (9 years, 8 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Update msgpack-python to 0.4.0.

:release date: 2013-10-21

Inconpatible Changes

* Raises TypeError instead of ValueError when packer receives unsupported type.


* Support New msgpack spec.


Inconpatible Changes

* Default value of ``use_list`` is ``True`` for now. (It was ``False`` for 0.2.x)
  You should pass it explicitly for compatibility to 0.2.x.
* `Unpacker.unpack()` and some unpack methods now raise `OutOfData` instead of
  `StopIteration`. `StopIteration` is used for iterator protocol only.

* Pure Python fallback module is added. (thanks to bwesterb)
* Add ``.skip()`` method to ``Unpacker`` (thanks to jnothman)
* Add capturing feature. You can pass the writable object to
  ``Unpacker.unpack()`` as a second parameter.
* Add ``Packer.pack_array_header`` and ``Packer.pack_map_header``.
  These methods only pack header of each type.
* Add ``autoreset`` option to ``Packer`` (default: True).
  Packer doesn't return packed bytes and clear internal buffer.
* Add ``Packer.pack_map_pairs``. It packs sequence of pair to map type.

:release date: 2012-12-22

Bugs fixed

* Fix SEGV when object_hook or object_pairs_hook raise Exception. (#39)

:release date: 2012-12-11

* Warn when use_list is not specified. It's default value will be changed in 0.3.

Bugs fixed
* Can't pack subclass of dict.

:release date: 2012-09-21

* Add ``use_single_float`` option to ``Packer``. When it is true, packs float
  object in single precision format.

Bugs fixed
* ``unpack()`` didn't restores gc state when it called with gc disabled.
  ``unpack()`` doesn't control gc now instead of restoring gc state collectly.
  User can control gc state when gc cause performance issue.

* ``Unpacker``'s ``read_size`` option didn't used.

:release date: 2012-08-20

* Add ``max_buffer_size`` parameter to Unpacker. It limits internal buffer size
  and allows unpack data from untrusted source safely.

* Unpacker's buffer reallocation algorithm is less greedy now. It cause perforamce
  derease in rare case but memory efficient and don't allocate than ``max_buffer_size``.

Bugs fixed
* Fix msgpack didn't work on SPARC Solaris. It was because choosing wrong byteorder
  on compilation time. Use ``sys.byteorder`` to get correct byte order.
  Very thanks to Chris Casey for giving test environment to me.

:release date: 2012-06-27

* Drop supporting Python 2.5 and unify tests for Py2 and Py3.
* Use new version of msgpack-c. It packs correctly on big endian platforms.
* Remove deprecated packs and unpacks API.

Bugs fixed
* #8 Packing subclass of dict raises TypeError. (Thanks to Steeve Morin.)

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 23 12:01:01 2012 UTC (11 years, 5 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Update python-msgpack to 0.1.13.

:release date: 2012-04-21

* Don't accept subtype of list and tuple as msgpack list. (Steeve Morin)
  It allows customize how it serialized with ``default`` argument.

Bugs fixed
* Fix wrong error message. (David Wolever)
* Fix memory leak while unpacking when ``object_hook`` or ``list_hook`` is used.
  (Steeve Morin)

Other changes
* works on Python 2.5 (Steffen Siering)
* Optimization for serializing dict.

:release date: 2011-12-27

Bugs fixed

* Re-enable packs/unpacks removed at 0.1.11. It will be removed when 0.2 is released.

:release date: 2011-12-26

Bugs fixed

* Include test code for Python3 to sdist. (Johan Bergstrom)
* Fix compilation error on MSVC. (davidgaleano)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 4 06:11:30 2011 UTC (12 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Update py-msgpack to 0.1.10.

0.1.10 release date:	2011-08-22

New feature
 * Add encoding and unicode_errors option to packer and unpacker. When this
   option is specified, (un)packs unicode object instead of bytes. This enables
   using msgpack as a replacement of json. (tailhook)

Revision / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 12:20:20 2011 UTC (12 years, 3 months ago) by obache
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import py-msgpack-0.1.9 as devel/py-msgpack.

MessagePack (de)serializer for Python.

MessagePack is a binary-based efficient data interchange format that is
focused on high performance. It is like JSON, but very fast and small.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 13 12:20:20 2011 UTC (12 years, 3 months ago) by obache
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>