Skip to content

Commit

Permalink
feat: use lz4 to compress
Browse files Browse the repository at this point in the history
  • Loading branch information
crimson-gao committed Feb 6, 2025
1 parent 4bc13ee commit f8b2af1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ matrix:

install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r requirements-py26.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install lz4a; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install lz4a; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install lz4; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install lz4; fi
- pip install .

script:
Expand Down
2 changes: 1 addition & 1 deletion requirements-py2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ python-dateutil
elasticsearch
dateparser
jmespath
lz4a
lz4
2 changes: 1 addition & 1 deletion requirements-py26.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ enum34
python-dateutil
elasticsearch
jmespath
lz4a
lz4
2 changes: 1 addition & 1 deletion requirements-py3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ python-dateutil
elasticsearch
dateparser
jmespath
lz4a
lz4
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'jmespath',
'dateparser',
'protobuf>=3.20.3,<6.0.0',
'lz4',
]
requirements_py2 = [
'six==1.14.0',
Expand All @@ -45,7 +46,7 @@
'protobuf>3.4.0,<=3.17.3', # 3.18.0 is the last version support py2, but yanked
'regex==2021.3.17',
'tzlocal==2.0.0',
'lz4a==0.7.0',
'lz4==2.2.1',
]

test_requirements = [
Expand Down

0 comments on commit f8b2af1

Please # to comment.