Skip to content

Commit

Permalink
Release commit created with Cranko.
Browse files Browse the repository at this point in the history
+++ cranko-release-info-v1
[[projects]]
qnames = ["toasty", "pypa"]
version = "0.18.1"
age = 0

+++
  • Loading branch information
cranko committed Sep 7, 2022
2 parents a1a88c8 + 1186a23 commit fdf9c26
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 11 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# toasty 0.18.1 (2022-09-07)

- Fix tiling on macOS+Py3.7 due to an unexpectedly unimplemented API (#94,
@pkgw).

The DOI of this release is [10.5281/zenodo.7058238][xdoi].

[xdoi]: https://doi.org/10.5281/zenodo.7058238


# toasty 0.18.0 (2022-09-06)

This release of Toasty contains a whole boatload of improvements! There are
Expand Down
12 changes: 6 additions & 6 deletions ci/zenodo.json5
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
],
"language": "eng",
"license": "MIT",
"publication_date": "2022-09-06",
"title": "toasty 0.18.0",
"publication_date": "2022-09-07",
"title": "toasty 0.18.1",
"upload_type": "software",
"version": "0.18.0"
"version": "0.18.1"
},
"conceptdoi": "10.5281/zenodo.7055476",
"record_id": "7055477",
"doi": "10.5281/zenodo.7055477",
"bucket_link": "https://zenodo.org/api/files/6d0a9090-a34c-49d8-b0ce-d0c14f5e8328"
"record_id": "7058238",
"doi": "10.5281/zenodo.7058238",
"bucket_link": "https://zenodo.org/api/files/e5ca7ed0-557d-4271-b77e-d9fe78addae0"
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
author = "Chris Beaumont and the AAS WorldWide Telescope Team"
copyright = "2014-2020, " + author

release = "0.18.0" # cranko project-version
release = "0.18.1" # cranko project-version
version = ".".join(release.split(".")[:2])

extensions = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_long_desc():

setup_args = dict(
name="toasty", # cranko project-name
version="0.18.0", # cranko project-version
version="0.18.1", # cranko project-version
description="Generate TOAST image tile pyramids from existing image data",
long_description=get_long_desc(),
long_description_content_type="text/markdown",
Expand Down
4 changes: 2 additions & 2 deletions toasty/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ def show_impl(settings):
print(doi)
elif settings.show_command == "version":
# This string constant will be rewritten by Cranko during releases:
version = "0.18.0" # cranko project-version
version = "0.18.1" # cranko project-version
print(version)
elif settings.show_command == "version-doi":
# This string constant will be rewritten by Cranko during releases:
doi = "10.5281/zenodo.7055477"
doi = "10.5281/zenodo.7058238"
if not doi.startswith("10."):
warn("this DOI is a fake value used for development builds")
print(doi)
Expand Down
9 changes: 8 additions & 1 deletion toasty/pyramid.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,8 +994,15 @@ def _walk_parallel(self, callback, cli_progress, parallel):
total = riter.result()[1]

if self.depth > 9:
# On macOS/Python 3.7, qsize() raises NotImplementedError "because
# of broken sem_getvalue()".
try:
ready_queue_size = ready_queue.qsize()
except NotImplementedError:
ready_queue_size = "(cannot be determined)"

print(
f"... {time.time() - t0:.1f}s elapsed; queue size {ready_queue.qsize()}; ready map size {len(readiness)}"
f"... {time.time() - t0:.1f}s elapsed; queue size {ready_queue_size}; ready map size {len(readiness)}"
)

if total == 0:
Expand Down

0 comments on commit fdf9c26

Please sign in to comment.