Skip to content

Commit

Permalink
Upgraded dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
albop committed Nov 7, 2024
1 parent fe3efec commit f651808
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions dolang/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:copyright: Copyright 2008 by Armin Ronacher. Mofified by Pablo Winant.
:license: BSD.
"""

from ast import *

BINOP_SYMBOLS = {}
Expand Down
2 changes: 1 addition & 1 deletion dolang/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_symbolic_derivatives(fff: FlatFunctionFactory, max_order=1):
for i, eq in enumerate(eqs):
ats = eq.atoms()
l = []
for (j, at) in enumerate(svars):
for j, at in enumerate(svars):
if at in ats:
l.append((j, at))
incidence[(i,)] = l
Expand Down
2 changes: 1 addition & 1 deletion dolang/function_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def compile_factory(fff: FlatFunctionFactory):

body = []

for (k, neq) in fff.preamble.items():
for k, neq in fff.preamble.items():
tree = parse_string(neq)
val = tree_to_ast(tree).value
line = Assign(targets=[Name(id=k, ctx=Store())], value=val)
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ authors = ["Winant Pablo <[email protected]>"]
license="BSD-2-Clause"

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
numpy = "^1.22.2"
sympy = "^1.11.1"
python = ">=3.9,<3.13"
numpy = ">=2.0.0"
sympy = "^1.12.1"
lark = "^1.1.2"
pytest = "^7.1.3"
PyYAML = "^6.0"
numba = {version = "^0.57.1", optional = true}
numba = {version = "^0.60.0", optional = true}

[tool.poetry.extras]
compile = ['numba']

[tool.poetry.dev-dependencies]
black = "^22.8.0"
pytest = "^7.1.3"
black = "^24.3.0"
pylint = "^2.6.0"
mkdocs = "^1.1.2"
ipython = "^7.18.1"
ipython = "^8.10.1"
ipykernel = "^5.3.4"
coverage = "^5.3"
pytest-cov = "^2.10.1"
numba = "^0.57.1"
numba = "^0.60.0"

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

0 comments on commit f651808

Please sign in to comment.