Skip to content

Commit 4180c95

Browse files
22 Updated numpy dependecy as quickfix (#23)
* fixed pandas and numpy versions * added lapack to github actions
1 parent c9be02c commit 4180c95

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/pytest.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install Poetry
1919
uses: abatilo/actions-poetry@v2.0.0
20+
- name: Install lapack/blas for Numpy from source
21+
run: sudo apt-get update && sudo apt-get install -y liblapack-dev libblas-dev
22+
#highly recommended for numpy from source, check https://numpy.org/devdocs/user/building.html#prerequisites
2023
- name: Install dependencies
2124
run: poetry install
2225
- name: Run pytest

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ keywords = ['exasol', 'udf', 'mock', 'testing']
1818

1919
[tool.poetry.dependencies]
2020
python = ">=3.6.1"
21-
pandas = "^1.1.3"
21+
pandas = "1.1.5"# last version with support for python 3.6
22+
numpy = { git = "https://github.com/numpy/numpy.git", branch = "maintenance/1.19.x" } # last version with support for python 3.6 + latest security fixes
2223
dill = "^0.3.2"
2324

2425
[tool.poetry.dev-dependencies]

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
{'': ['*']}
99

1010
install_requires = \
11-
['dill>=0.3.2,<0.4.0', 'pandas>=1.1.3,<2.0.0']
11+
['dill>=0.3.2,<0.4.0',
12+
'numpy @ git+https://github.com/numpy/numpy.git@maintenance/1.19.x',
13+
'pandas==1.1.5']
1214

1315
setup_kwargs = {
1416
'name': 'exasol-udf-mock-python',

0 commit comments

Comments
 (0)