Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# AnyPyTools Change Log

## v1.20.4

* Fix crash with pytest plugin when saving output to h5 files.


## v1.20.3

* Fixed a bug where `ctrl-c` events were not propagated and were silenced. This
Expand Down
2 changes: 1 addition & 1 deletion anypytools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"NORMAL_PRIORITY_CLASS",
]

__version__ = "1.20.3"
__version__ = "1.20.4"


def print_versions():
Expand Down
9 changes: 0 additions & 9 deletions anypytools/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,15 +489,6 @@ def save_output_files(self, src_folder, target_folder, result, hdf5files):

target_log = target_folder / "logfile.txt"
shutil.copyfile(src_log, target_log)
src_macrofile = src_log.with_suffix(".anymcr")
target_macro = target_folder / "macro.anymcr"
shutil.copyfile(src_macrofile, target_macro)

with open(target_folder / "run.bat", "w") as f:
anybodygui = re.sub(
r"(?i)anybodycon\.exe", "anybody.exe", pytest.anytest.ams_path
)
f.write(f'"{anybodygui}" -m "%~dp0{target_macro.name}"')

def repr_failure(self, excinfo):
"""Print a representation when a test failes."""
Expand Down
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ anypytools = {path= "."}

[package]
name = "anypytools"
version="1.20.3"
version="1.20.4"

[package.build]
backend = { name = "pixi-build-python", version = "*" }
Expand Down