diff options
| author | maxim-yurchuk <[email protected]> | 2024-10-09 12:29:46 +0300 |
|---|---|---|
| committer | maxim-yurchuk <[email protected]> | 2024-10-09 13:14:22 +0300 |
| commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
| tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/lz4 | |
| parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/lz4')
| -rw-r--r-- | contrib/python/lz4/py2/.yandex_meta/yamaker.yaml | 4 | ||||
| -rw-r--r-- | contrib/python/lz4/py2/patches/01-fix-tests.patch | 11 | ||||
| -rw-r--r-- | contrib/python/lz4/py3/.yandex_meta/yamaker.yaml | 2 | ||||
| -rw-r--r-- | contrib/python/lz4/py3/patches/01-fix-tests.patch | 22 |
4 files changed, 39 insertions, 0 deletions
diff --git a/contrib/python/lz4/py2/.yandex_meta/yamaker.yaml b/contrib/python/lz4/py2/.yandex_meta/yamaker.yaml new file mode 100644 index 00000000000..a440fd586e6 --- /dev/null +++ b/contrib/python/lz4/py2/.yandex_meta/yamaker.yaml @@ -0,0 +1,4 @@ +requirements: + - contrib/libs/lz4 + - future + - py3c diff --git a/contrib/python/lz4/py2/patches/01-fix-tests.patch b/contrib/python/lz4/py2/patches/01-fix-tests.patch new file mode 100644 index 00000000000..cc1d45080af --- /dev/null +++ b/contrib/python/lz4/py2/patches/01-fix-tests.patch @@ -0,0 +1,11 @@ +--- contrib/python/lz4/py2/tests/block/conftest.py (index) ++++ contrib/python/lz4/py2/tests/block/conftest.py (working tree) +@@ -9,7 +9,7 @@ test_data = [ + (b'0' * 8 * 1024), + (bytearray(b'')), + (bytearray(os.urandom(8 * 1024))), +- (bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) ++ #(bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) + ] + + if sys.version_info > (2, 7): diff --git a/contrib/python/lz4/py3/.yandex_meta/yamaker.yaml b/contrib/python/lz4/py3/.yandex_meta/yamaker.yaml new file mode 100644 index 00000000000..d1a09c7126b --- /dev/null +++ b/contrib/python/lz4/py3/.yandex_meta/yamaker.yaml @@ -0,0 +1,2 @@ +requirements: + - contrib/libs/lz4 diff --git a/contrib/python/lz4/py3/patches/01-fix-tests.patch b/contrib/python/lz4/py3/patches/01-fix-tests.patch new file mode 100644 index 00000000000..7c59b9c8d62 --- /dev/null +++ b/contrib/python/lz4/py3/patches/01-fix-tests.patch @@ -0,0 +1,22 @@ +--- contrib/python/lz4/py3/tests/block/conftest.py (index) ++++ contrib/python/lz4/py3/tests/block/conftest.py (working tree) +@@ -9,7 +9,7 @@ test_data = [ + (b'0' * 8 * 1024), + (bytearray(b'')), + (bytearray(os.urandom(8 * 1024))), +- (bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) ++ #(bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) + ] + + if sys.version_info > (2, 7): +--- contrib/python/lz4/py3/tests/stream/conftest.py (index) ++++ contrib/python/lz4/py3/tests/stream/conftest.py (working tree) +@@ -8,7 +8,7 @@ test_data = [ + # (b'0' * 8 * 1024), + # (bytearray(b'')), + # (bytearray(os.urandom(8 * 1024))), +- (bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) ++ #(bytearray(open(os.path.join(os.path.dirname(__file__), 'numpy_byte_array.bin'), 'rb').read())) + ] + + if sys.version_info > (2, 7): |
