Skip to content

Commit 559c69d

Browse files
authored
Merge pull request #83 from static-frame/82/np-min-ver
2 parents 98e5f90 + ae3c9fd commit 559c69d

9 files changed

Lines changed: 11 additions & 12 deletions

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-python@master
1818
with:
1919
python-version: 3.8
20-
- run: pip install -r requirements.txt
20+
- run: pip install -r requirements-build-backward.txt
2121
- run: python setup.py sdist
2222
- uses: actions/upload-artifact@master
2323
with:
@@ -44,7 +44,7 @@ jobs:
4444
output-dir: dist
4545
env:
4646
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
47-
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-backward.txt
47+
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-backward.txt
4848
CIBW_BUILD: cp${{ matrix.major }}${{ matrix.minor }}-*
4949
CIBW_BUILD_VERBOSITY: 1
5050
CIBW_BEFORE_TEST: pip install -r {project}/requirements-test-backward.txt
@@ -74,7 +74,7 @@ jobs:
7474
output-dir: dist
7575
env:
7676
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
77-
CIBW_BEFORE_BUILD: pip install -r {project}/requirements.txt
77+
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build.txt
7878
CIBW_BUILD: cp${{ matrix.major }}${{ matrix.minor }}-*
7979
CIBW_BUILD_VERBOSITY: 1
8080
CIBW_BEFORE_TEST: pip install -r {project}/requirements-test.txt

requirements-backward.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

requirements-build-backward.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
numpy==1.18.5

requirements-build.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
numpy==1.22.4

requirements-test-backward.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
astroid==2.5.3
1+
numpy==1.18.5
22
pytest==7.1.2
3-
numpy==1.19.5
43
pylint==2.7.4
54
invoke==1.4.0
65
pandas==1.2.5

requirements-test.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
astroid==2.5.3
2-
pytest==7.1.2
31
numpy==1.22.4
2+
pytest==7.1.2
43
pylint==2.7.4
54
invoke==1.4.0
65
pandas==1.4.3

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
numpy==1.22.4
1+
numpy>=1.18.5

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from setuptools import setup
66
from pathlib import Path
77

8-
AK_VERSION = '0.2.3'
8+
AK_VERSION = '0.2.4'
99

1010
def get_long_description() -> str:
1111
return '''The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ def clean(context):
2626

2727
@invoke.task(clean)
2828
def build(context):
29-
context.run('pip install -r requirements.txt', echo=True, pty=True)
29+
context.run('pip install -r requirements-test.txt', echo=True, pty=True)
3030
# keep verbose to see warnings
3131
context.run(f'{sys.executable} -m pip -v install .', echo=True, pty=True)
3232

3333

3434
@invoke.task(build)
3535
def test(context):
36-
cmd = 'pytest -s --color no --disable-pytest-warnings --tb=native'
36+
cmd = 'pytest -s --disable-pytest-warnings --tb=native'
3737
context.run(cmd, echo=True, pty=True)
3838

3939

0 commit comments

Comments
 (0)