Skip to content

Commit

Permalink
don't quietly catch error, but exclude recent memray versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ungarj committed Jul 5, 2024
1 parent 80e105a commit 5900315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions mapchete/processing/profilers/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ def __exit__(self, *args):
if self.output_file:
copy(self._temp_file, self.output_file, overwrite=True)
finally:
try:
self._exit_stack.__exit__(*args)
except Exception as exc: # pragma: no cover
logger.error(exc)
self._exit_stack.__exit__(*args)
# we need to set this to None, so MemoryTracker can be serialized
self._memray_tracker = None
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ complete = [
"fsspec[http,s3]>=2023.12.0",
"lxml",
"matplotlib",
"memray",
"memray!=1.13.1,!=1.13.2,!=1.13.3",
"pystac[urllib3]>=1.8.2",
"requests",
"rtree",
Expand All @@ -74,7 +74,7 @@ http = [
"requests",
]
profiling = [
"memray",
"memray!=1.13.1,!=1.13.2,!=1.13.3",
"tilebench"
]
s3 = [
Expand Down

0 comments on commit 5900315

Please sign in to comment.