Skip to content

Commit 734989c

Browse files
Unpinned numpy
Also added ruff numpy2 transition rule.
1 parent 205c00e commit 734989c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

environment-osx-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ channels:
99
dependencies:
1010
- python=>3.10
1111
- compilers
12-
- numpy>=1.17.0,<2
12+
- numpy>=1.17.0
1313
- scipy>=1,<2
1414
- filelock>=3.15
1515
- etuples

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ channels:
99
dependencies:
1010
- python>=3.10
1111
- compilers
12-
- numpy>=1.17.0,<2
12+
- numpy>=1.17.0
1313
- scipy>=1,<2
1414
- filelock>=3.15
1515
- etuples

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ keywords = [
4848
dependencies = [
4949
"setuptools>=59.0.0",
5050
"scipy>=1,<2",
51-
"numpy>=1.17.0,<2",
51+
"numpy>=1.17.0",
5252
"filelock>=3.15",
5353
"etuples",
5454
"logical-unification",
@@ -129,7 +129,7 @@ exclude = ["doc/", "pytensor/_version.py"]
129129
docstring-code-format = true
130130

131131
[tool.ruff.lint]
132-
select = ["B905", "C", "E", "F", "I", "UP", "W", "RUF", "PERF", "PTH", "ISC", "T20"]
132+
select = ["B905", "C", "E", "F", "I", "UP", "W", "RUF", "PERF", "PTH", "ISC", "T20", "NPY201"]
133133
ignore = ["C408", "C901", "E501", "E741", "RUF012", "PERF203", "ISC001"]
134134
unfixable = [
135135
# zip-strict: the auto-fix adds `strict=False` but we might want `strict=True` instead

0 commit comments

Comments
 (0)