Skip to content

Commit

Permalink
Test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsitsi committed Oct 1, 2024
1 parent fba936c commit 2e52044
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:
python-version: "3.9"
- ml-deps: "torch==1.13.0+cpu torchvision==0.14.0+cpu torchdata==0.5.0 tensorflow-cpu==2.13.0"
python-version: "3.9"
- ml-deps: "torch==2.1.0+cpu torchvision==0.16.0+cpu torchdata==0.7.0 tensorflow-cpu==2.13.0 numpy==1.24.3"
- ml-deps: "torch==2.0.0+cpu torchvision==0.15.0+cpu torchdata==0.6.0 tensorflow-cpu==2.15.0 'numpy<=1.25'"
python-version: "3.9"
- ml-deps: "torch==2.3.1+cpu torchvision==0.18.1+cpu torchdata==0.8.0 tensorflow-cpu==2.13.0 'numpy<2'"
- ml-deps: "torch==2.1.0+cpu torchvision==0.16.0+cpu torchdata==0.7.0 tensorflow-cpu==2.13.0 'numpy<=1.25'"
python-version: "3.9"
# - ml-deps: "torch==2.3.1+cpu torchvision==0.16.0+cpu torchdata==0.7.0 tensorflow-cpu==2.13.0 numpy==1.24.3"
# python-version: "3.9"

env:
run_coverage: ${{ github.ref == 'refs/heads/master' }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"local_scheme": "dirty-tag",
"write_to": "tiledb/ml/version.py",
},
install_requires=["sparse", "tiledb>=0.14", "wrapt"],
install_requires=["sparse", "tiledb>=0.14", "wrapt", "numpy<=1.25"],
extras_require={
"tensorflow": tensorflow,
"pytorch": pytorch,
Expand Down
2 changes: 1 addition & 1 deletion tiledb/ml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pkg_resources import DistributionNotFound, get_distribution # type: ignore
from pkg_resources import DistributionNotFound, get_distribution

# TODO change pkg_resources with importlib.metadata, as described here
# https://pypi.org/project/setuptools-scm/#:~:text=Retrieving%20package%20version%20at%20runtime, when we stop
Expand Down

0 comments on commit 2e52044

Please sign in to comment.