Skip to content

Commit

Permalink
update history, fix gitlab action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Škoda committed Jul 24, 2024
1 parent c34f8c2 commit cd3b972
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install --upgrade pip wheel setuptools
pip install -r requirements.txt
- name: Lint with flake8
Expand Down
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
History
=======

0.15.0 (2024-07-24)
-------------------

* fix conflict of new numpy 2 and older pyarrow
* dont use deprecated joblib.Memory features
* improve tox tests
* add missing numba dependency needed by orderbook class (the rest works without numba)

0.14.0 (2023-05-02)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion lakeapi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def partition_filter(partition: Dict[str, str]) -> bool:
if table == "trades":
df.rename(columns={"id": "trade_id"}, inplace=True)

lakeapi._cache._store.reduce_size(lakeapi._cache.default_bytes_limit)
lakeapi._cache._store.reduce_size(bytes_limit = lakeapi._cache.default_bytes_limit)
return df


Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Sphinx==5.2.3
twine==4.0.1
# Click==7.1.2
pytest==7.1.3
pytest-benchmark==4.0.0
# jinja2==3.1.2
numba==0.58.1; python_version < '3.12'
numba; python_version < '3.12'
numba==0.60.0; python_version >= '3.12'

typing-extensions==4.4.0; python_version < '3.8'
Expand All @@ -25,3 +26,4 @@ tqdm==4.64.1
pyarrow==12.0.0; python_version < '3.12'
pyarrow==14.0.0; python_version >= '3.12'
aws-requests-auth==0.4.3
setuptools
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ envlist = py38, py311, py312
usedevelop = True
setenv =
PYTHONPATH = {toxinidir}
; deps =
; -r{toxinidir}/requirements.txt
deps =
setuptools
pytest
-r{toxinidir}/requirements.txt
; deps =
; setuptools
; pytest
commands =
pytest --basetemp={envtmpdir} --ignore=tests/test_orderbook.py
; pip list
Expand Down

0 comments on commit cd3b972

Please sign in to comment.