Skip to content

Commit

Permalink
Skip asteval version 0.9.28 (#1176)
Browse files Browse the repository at this point in the history
* Bump asteval from 0.9.27 to 0.9.28 (but not really)
This PR ensures asteval 0.9.28 is installed in the (user) environment prior to installing the pyglotaran package (through requirements_dev.txt), and then ensures that not that version of the package is installed when installing the package (through the exclusion in setup.cfg)

* 🧪 Changed test to triggering bug in asteval 0.9.28
* 🚧 Exclude  asteval 0.9.28 from allowed dependency versions

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: s-weigand <[email protected]>
  • Loading branch information
dependabot[bot] and s-weigand authored Nov 11, 2022
1 parent 53bb3b9 commit e70f760
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion glotaran/parameter/test/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_parameter_group_to_from_parameter_dict_list():
"b": [
["total", 2],
["branch1", {"expr": "$b.total * $a.1"}],
["branch2", {"expr": "$b.total * $a.2"}],
["branch2", {"expr": "ln($b.total) * $a.2"}],
],
}
)
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pip>=18.0
wheel>=0.30.0

# glotaran setup dependencies
asteval==0.9.27
asteval==0.9.28
attrs == 22.1.0
click==8.1.3
netCDF4==1.6.1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ project_urls =
[options]
packages = find:
install_requires =
asteval>=0.9.22
asteval!=0.9.28,>=0.9.22
attrs>=22.1.0
click>=8.1.3
netCDF4>=1.5.7
Expand Down

0 comments on commit e70f760

Please sign in to comment.