Skip to content

Commit

Permalink
Correctly strip -spec.k from the bug report name in prove_legacy (#…
Browse files Browse the repository at this point in the history
…2159)

* Use removesuffix rather than rstrip to remove -spec.k from spec file name

* Set Version: 1.0.339

* Set Version: 1.0.341

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
Scott-Guest and devops authored Nov 8, 2023
1 parent caeb2df commit ce8444a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kevm-pyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kevm-pyk"
version = "1.0.340"
version = "1.0.341"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from typing import Final


VERSION: Final = '1.0.340'
VERSION: Final = '1.0.341'
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def prove_legacy(
if max_counterexamples:
haskell_args += ['--max-counterexamples', f'{max_counterexamples}']
if bug_report:
haskell_args += ['--bug-report', f'kevm-bug-{spec_file.name.rstrip("-spec.k")}']
haskell_args += ['--bug-report', f'kevm-bug-{spec_file.name.removesuffix("-spec.k")}']
if haskell_backend_args:
haskell_args += list(haskell_backend_args)

Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.340
1.0.341

0 comments on commit ce8444a

Please sign in to comment.