Skip to content

Commit b716998

Browse files
brendan-m-murphyricardoV94
authored andcommitted
Unpinned numpy
Also added ruff numpy2 transition rule.
1 parent 8226f64 commit b716998

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

environment-osx-arm64.yml

+1-1
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

+1-1
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

+2-2
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)