Skip to content

Commit

Permalink
fix: missing Pkg.resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Aug 12, 2024
1 parent 848cb72 commit 14401b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysr/julia_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def isinstalled(uuid_s: str):
def load_package(package_name: str, uuid_s: str) -> None:
if not isinstalled(uuid_s):
Pkg.add(name=package_name, uuid=uuid_s)
Pkg.resolve()

# TODO: Protect against loading the same symbol from two packages,
# maybe with a @gensym here.
Expand Down

0 comments on commit 14401b0

Please sign in to comment.