Skip to content

Commit f651808

Browse files
committed
Upgraded dependencies.
1 parent fe3efec commit f651808

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

dolang/codegen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:copyright: Copyright 2008 by Armin Ronacher. Mofified by Pablo Winant.
55
:license: BSD.
66
"""
7+
78
from ast import *
89

910
BINOP_SYMBOLS = {}

dolang/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_symbolic_derivatives(fff: FlatFunctionFactory, max_order=1):
7979
for i, eq in enumerate(eqs):
8080
ats = eq.atoms()
8181
l = []
82-
for (j, at) in enumerate(svars):
82+
for j, at in enumerate(svars):
8383
if at in ats:
8484
l.append((j, at))
8585
incidence[(i,)] = l

dolang/function_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def compile_factory(fff: FlatFunctionFactory):
3838

3939
body = []
4040

41-
for (k, neq) in fff.preamble.items():
41+
for k, neq in fff.preamble.items():
4242
tree = parse_string(neq)
4343
val = tree_to_ast(tree).value
4444
line = Assign(targets=[Name(id=k, ctx=Store())], value=val)

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ authors = ["Winant Pablo <[email protected]>"]
77
license="BSD-2-Clause"
88

99
[tool.poetry.dependencies]
10-
python = ">=3.8,<3.12"
11-
numpy = "^1.22.2"
12-
sympy = "^1.11.1"
10+
python = ">=3.9,<3.13"
11+
numpy = ">=2.0.0"
12+
sympy = "^1.12.1"
1313
lark = "^1.1.2"
14-
pytest = "^7.1.3"
1514
PyYAML = "^6.0"
16-
numba = {version = "^0.57.1", optional = true}
15+
numba = {version = "^0.60.0", optional = true}
1716

1817
[tool.poetry.extras]
1918
compile = ['numba']
2019

2120
[tool.poetry.dev-dependencies]
22-
black = "^22.8.0"
21+
pytest = "^7.1.3"
22+
black = "^24.3.0"
2323
pylint = "^2.6.0"
2424
mkdocs = "^1.1.2"
25-
ipython = "^7.18.1"
25+
ipython = "^8.10.1"
2626
ipykernel = "^5.3.4"
2727
coverage = "^5.3"
2828
pytest-cov = "^2.10.1"
29-
numba = "^0.57.1"
29+
numba = "^0.60.0"
3030

3131
[build-system]
32-
requires = ["poetry>=1.2.1"]
32+
requires = ["poetry>=1.8"]
3333
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)