22 Commits

Author SHA1 Message Date
Stuart Cardall
587c3c6924 community/py-lz4: upgrade to 2.1.2 2018-12-10 18:38:05 +02:00
Stuart Cardall
309999be11 community/py-lz4: upgrade to 2.1.0
This release changes the handling of errors for block decompression when
uncompressed_size > 0. In this case, we no longer check that the uncompressed
data has exactly the size specified by uncompressed_size: this argument is
now used as an upper bound.

In addition, we introduce a new exception: LZ4BlockError which is raised
whenever the LZ4 library fails.

These two changes together allow "guessing" of the uncompressed data size:
simply set uncompressed_size to a number and try decompress, and catch
LZ4BlockError. If LZ4BlockError is raised, increase uncompressed_size
and try again.

See the documentation for more details and examples:

http://python-lz4.readthedocs.io/en/stable/lz4.block.html
2018-08-10 12:14:16 +03:00
Stuart Cardall
2382ae70e4 community/py-lz4: upgrade to 2.0.1 2018-06-24 15:13:20 +00:00
Stuart Cardall
f5e13d1bcd community/py-lz4: upgrade to 1.1.0 2018-04-09 10:36:53 +00:00
Stuart Cardall
c170ce7ab2 community/py-lz4: upgrade to 1.0.0 2018-04-05 12:03:03 +00:00
Stuart Cardall
965ebaf00e community/py-lz4: upgrade to 0.21.6 2018-02-13 14:03:04 +00:00
Stuart Cardall
bdca787f71 community/py-lz4: upgrade to 0.20.1 2018-02-03 23:35:12 +01:00
Stuart Cardall
b2ba69a1c6 community/py-lz4: upgrade to 0.18.2 2018-01-21 10:55:49 +01:00
Natanael Copa
c35b486b7f community/py-lz4: force use of system lz4
also run tests for python3 instead of python2
2018-01-14 22:04:02 +00:00
Stuart Cardall
ace56c4fb2 community/py-lz4: upgrade to 0.17.0 2018-01-02 16:36:17 +00:00
Stuart Cardall
3c59c683d1 community/py-lz4: upgrade to 0.13.0 2017-12-27 15:14:34 +01:00
Roberto Oliveira
275a75006b community/py-lz4: upgrade to 0.11.1 2017-11-28 22:23:27 +00:00
Natanael Copa
1200346c78 main/py-lz4: add FIXME comment 2017-09-26 15:43:42 +00:00
Stuart Cardall
29be4e9a48 community/py-lz4: update to 0.10.1 2017-07-03 15:04:04 +00:00
Leonardo Arena
6a8fd393ea community/py-lz4: correct test typo 2017-06-20 14:17:51 +00:00
Leonardo Arena
b881e35bb8 community/py-lz4: disable check() on s390x
======================================================================
ERROR: test_LZ4FrameCompressor (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 218, in test_LZ4FrameCompressor
    compressed += compressor.compress(input_data)
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/lz4/frame/__init__.py", line 130, in compress
    result = compress_update(self._context, data)
MemoryError

======================================================================
ERROR: test_LZ4FrameCompressor_reset (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 227, in test_LZ4FrameCompressor_reset
    compressed += compressor.compress(input_data)
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/lz4/frame/__init__.py", line 130, in compress
    result = compress_update(self._context, data)
MemoryError

======================================================================
ERROR: test_compress_begin_update_end (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 26, in test_compress_begin_update_end
    compressed += lz4frame.compress_update(context, input_data[:chunk_size])
MemoryError

======================================================================
ERROR: test_compress_begin_update_end_no_auto_flush (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 108, in test_compress_begin_update_end_no_auto_flush
    compressed += lz4frame.compress_update(context, input_data[:chunk_size])
MemoryError

======================================================================
ERROR: test_compress_begin_update_end_no_auto_flush_2 (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 124, in test_compress_begin_update_end_no_auto_flush_2
    compressed += lz4frame.compress_update(context, input_data[start:end])
MemoryError

======================================================================
ERROR: test_compress_begin_update_end_no_auto_flush_not_defaults (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 172, in test_compress_begin_update_end_no_auto_flush_not_defaults
    compressed += lz4frame.compress_update(context, input_data[start:end])
MemoryError

======================================================================
ERROR: test_compress_begin_update_end_not_defaults (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 148, in test_compress_begin_update_end_not_defaults
    compressed += lz4frame.compress_update(context, input_data[start:end])
MemoryError

======================================================================
ERROR: test_compress_huge_with_size (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 37, in test_compress_huge_with_size
    compressed += lz4frame.compress_update(context, input_data[:chunk_size])
MemoryError

======================================================================
ERROR: test_compress_huge_without_size (test_frame.TestLZ4Frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 48, in test_compress_huge_without_size
    compressed += lz4frame.compress_update(context, input_data[:chunk_size])
MemoryError

======================================================================
ERROR: test_LZ4FrameCompressor_fails (test_frame.TestLZ4FrameModern)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 281, in test_LZ4FrameCompressor_fails
    compressed += compressor.compress(input_data)
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/lz4/frame/__init__.py", line 130, in compress
    result = compress_update(self._context, data)
MemoryError

======================================================================
ERROR: test_decompress_truncated (test_frame.TestLZ4FrameModern)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildozer/aports/community/py-lz4/src/lz4-0.10.0/tests/test_frame.py", line 251, in test_decompress_truncated
    compressed += lz4frame.compress_update(context, input_data)
MemoryError
2017-06-20 13:49:57 +00:00
Stuart Cardall
d6461ea92b community/py-lz4: update to 0.10.0 2017-06-11 17:21:13 +00:00
Stuart Cardall
f2edde6805 community/py-lz4: update to 0.9.4 / add check() 2017-06-03 14:07:52 +02:00
Łukasz Jendrysik
c7be2154f3 community/py-lz4: rebuild against new version of python3 2017-02-18 16:32:58 +01:00
Timo Teräs
a2e061d509 community/[various]: dont set arch in split function 2016-11-02 11:51:56 +02:00
Stuart Cardall
7becf07b37 community/py-lz4: update to 0.8.2, add py2/py3 and tests subpackages 2016-09-26 15:36:10 +02:00
Stuart Cardall
5c9f3ca3e3 testing/[various]: move to community
albatross-themes
apk-post-messages
autossh
bitcoin
btrbk
entr
ffmpegthumbnailer
firejail
firetools
fwsnort
gnome-colors
imapsync
inetutils-syslogd
inotify-tools-inc
isync
junit
ktsuss
letsencrypt-nosudo
libmbim
libndp
libqmi
libteam
mini-sendmail
modemmanager
namecoin
networkmanager
nginx-naxsi
numix-themes
nxapi
opencl-headers
opencl-icd-loader
opus-tools
perl-authen-ntlm
perl-bit-vector
perl-data-uniqid
perl-file-copy-recursive
perl-getopt-argvfile
perl-io-tee
perl-iptables-chainmgr
perl-iptables-parse
perl-module-scandeps
perl-par-dist
perl-par-packer
perl-par
perl-uri-escape
psad
py-crcmod
py-graphviz
py-lz4
py-opencl
py-opengl-accelerate
runit
secpwgen
secure-delete
socklog
spacefm
tinyssh
udevil
virt-viewer
virtualbricks
whois
wrk
xpra
zram-init
2016-08-21 22:24:04 +02:00