Skip to content

Commit

Permalink
pin numpy 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Škoda committed Jul 24, 2024
1 parent 0ee6297 commit b383327
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ twine==4.0.1
# Click==7.1.2
pytest==7.1.3
# jinja2==3.1.2
numba==0.58.1; python_version < '3.12'
numba==0.60.0; python_version >= '3.12'

typing-extensions==4.4.0; python_version < '3.8'
pandas==1.2.0; python_version < '3.8'
pandas==2.1.2; python_version >= '3.8'
pandas==2.0.3; python_version == '3.8'
pandas==2.1.4; python_version > '3.8'
boto3==1.24.89
cachetools_ext==0.0.8
botocache==0.0.4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

requirements = [
'pandas>=1.0.5', 'boto3>=1.24,<2', 'cachetools_ext>=0.0.8,<0.1.0', 'botocache>=0.0.4,<0.1.0',
'joblib>=1.0.0', 'tqdm>=4,<5', 'pyarrow>=2.0.0,<15', 'aws-requests-auth==0.4.3',
'joblib>=1.0.0', 'tqdm>=4,<5', 'pyarrow>=2.0.0,<15', 'aws-requests-auth==0.4.3', 'numpy<2',
'typing-extensions>=4.0,<5; python_version < \'3.8\''
]

Expand Down
23 changes: 12 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[tox]
envlist = py36, py37, py38, py39, py310, flake8
envlist = py38, py311, py312
;, flake8

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 lakeapi tests
; [testenv:flake8]
; basepython = python
; deps = flake8
; commands = flake8 lakeapi tests

[testenv]
usedevelop = True
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; deps =
; -r{toxinidir}/requirements.txt
deps =
pytest
commands =
pytest --basetemp={envtmpdir}

pytest --basetemp={envtmpdir} --ignore=tests/test_orderbook.py
; test_orderbook.py requires numba and is not included in package

0 comments on commit b383327

Please sign in to comment.