Skip to content

Commit 903595f

Browse files
Upgrade python version to 3.8 (#31)
* upgrade min python version 3.8, pandas/numpy deps Co-authored-by: Umit Cavus Buyuksahin <ucbuyuksahin@gmail.com>
1 parent 30e18e8 commit 903595f

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.github/workflows/check_setup_py.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
python-version: [3.6]
10+
python-version: [3.8]
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-python@v2
1616
with:
1717
python-version: ${{ matrix.python-version }}
18-
- uses: abatilo/actions-poetry@v2.0.0
18+
- uses: abatilo/actions-poetry@v2.1.4
1919
- name: Run packaging update
2020
run: bash githooks/update_setup_py.sh
2121
- name: Show changes on working copy

.github/workflows/pytest.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
python-version: [3.6]
10+
python-version: [3.8]
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -16,10 +16,7 @@ jobs:
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install Poetry
19-
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
19+
uses: abatilo/actions-poetry@v2.1.4
2320
- name: Install dependencies
2421
run: poetry install
2522
- name: Run pytest

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ homepage = "https://github.com/exasol/udf-mock-python"
1717
keywords = ['exasol', 'udf', 'mock', 'testing']
1818

1919
[tool.poetry.dependencies]
20-
python = ">=3.6.1"
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
20+
python = ">=3.8"
21+
pandas = "^1.4"
22+
numpy = "^1.22"
2323
dill = "^0.3.2"
2424

2525
[tool.poetry.dev-dependencies]

setup.py

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

1010
install_requires = \
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']
11+
['dill>=0.3.2,<0.4.0', 'numpy>=1.22,<2.0', 'pandas>=1.4,<2.0']
1412

1513
setup_kwargs = {
1614
'name': 'exasol-udf-mock-python',
@@ -25,7 +23,7 @@
2523
'packages': packages,
2624
'package_data': package_data,
2725
'install_requires': install_requires,
28-
'python_requires': '>=3.6.1',
26+
'python_requires': '>=3.8',
2927
}
3028

3129

0 commit comments

Comments
 (0)