Skip to content

Commit

Permalink
put pin on max attrs version
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Aug 3, 2024
1 parent 8665904 commit a972163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"attrs >= 20.3.0",
"attrs >= 20.3.0, < 0.24.1",
"black",
"numpy>=1.23.5",
"tskit >= 0.5.6",
Expand Down
1 change: 1 addition & 0 deletions tests/test_metadata_roundtrips_via_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def test_metadata_roundtrip_single_deme_sim_with_parameters(rng, pdict, pop, inc
)

provenance = json.loads(ts.provenance(0).record)
print(provenance["parameters"]["params_dict"])
params_dict = eval(provenance["parameters"]["params_dict"])

assert params_dict == params.asdict()
Expand Down

0 comments on commit a972163

Please sign in to comment.