Skip to content

Commit 6975a41

Browse files
authored
Merge pull request #95 from torch-points3d/numpy-bump
Update supported numpy versions
2 parents 512033c + 586841f commit 6975a41

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install torch "numpy<1.20" scikit-learn flake8 setuptools wheel twine numba
20+
pip install torch "numpy<=1.21" scikit-learn flake8 setuptools wheel twine numba
2121
- name: Build package
2222
run: |
2323
python setup.py build_ext --inplace

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install "numpy<1.20" scikit-learn flake8 setuptools numba==0.49.1
25+
pip install "numpy<=1.21" scikit-learn flake8 setuptools numba
2626
2727
- name: Install torch windows + linux
2828
if: ${{matrix.os != 'macos-latest'}}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ exclude: "build|egg-info|dist"
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.0.1
5+
rev: v4.3.0
66
hooks:
77
- id: trailing-whitespace
88
- id: check-added-large-files
99
- id: end-of-file-fixer
1010

1111
- repo: https://github.com/psf/black
12-
rev: 21.9b0
12+
rev: 22.3.0
1313
hooks:
1414
- id: black
1515
language_version: python3.7

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_cmdclass():
7979
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
8080
long_description = f.read()
8181

82-
requirements = ["torch>=1.1.0", "numba", "numpy<1.20", "scikit-learn"]
82+
requirements = ["torch>=1.1.0", "numba", "numpy<=1.21", "scikit-learn"]
8383

8484
url = "https://github.com/nicolas-chaulet/torch-points-kernels"
8585
__version__ = "0.7.1"

0 commit comments

Comments
 (0)