Skip to content

Incompatibility with python 3.13 #837

@benjamin-gibson

Description

@benjamin-gibson

The latest version of the BEAST is somehow incompatibile with python 3.13. BEAST is fully compatible with python 3.12. Possibly something to do with how the newest version handles running .txt files as python code.

When compiling the settings from beast_settings.txt, variables are not being properly defined. I copied the error message below:

Traceback (most recent call last):
File "/Users/bgibson/Coding/beast-examples/metal_small/./run_beast.py", line 56, in
settings = beast_settings.beast_settings("beast_settings.txt")
File "/Users/bgibson/Coding/beast_test/beast/beast/tools/beast_settings.py", line 31, in init
self.read_beast_settings()
~~~~~~~~~~~~~~~~~~^^
File "/Users/bgibson/Coding/beast_test/beast/beast/tools/beast_settings.py", line 74, in read_beast_settings
beast_params[param] = eval(param)
~~~~^^^^^^
File "", line 1, in
NameError: name 'project' is not defined. Did you mean: 'property'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions