End package releases on anaconda.org GoMSS-Nowcast channel. Final release there was v19.2
Change name of Git repository default branch from
Add support for exception logging to Sentry (https://sentry.io) with client DSN URL from SENTRY_DSN environment variable; does nothing if SENTRY_DSN does not exist, is empty, or is not recognized by Sentry.
Change continuous integration from Bitbucket pipeline to GitHub Actions workflow. CI reports are at https://github.com/43ravens/NEMO_Nowcast/actions Unit test coverage report visualization is at https://codecov.io/gh/43ravens/NEMO_Nowcast
Migrate from Mercurial on Bitbucket to Git on GitHub due to Bitbucket’s decision to terminate support for Mercurial. Repository is now at https://github.com/43ravens/NEMO_Nowcast
nemo_nowcast.cli.arrow_date()function for use by packages like SalishSeaNowcast that use NEMO_Nowcast CLI elements.
Change process manager from circus to supervisor because
circushas dependency version pins that prevent moving to newer versions of Python and 0mq (and probably other packages).
cirucsdoes not appear to be being actively maintained any more.
supervisorhas fewer dependencies, provides all of the functionality that we need, and is being actively maintained.
Allow remote workers to have a list of logging ports on each host to facilitate concurrent remote worker instances.
Drop support for Python 3.5.
Add worker race condition management. See https://nemo-nowcast.readthedocs.io/en/latest/nowcast_system/elements.html#handling-worker-race-conditions
Add general and module indices to docs sidebar.
Add Bitbucket continuous integration pipeline to run unit tests and generate unit tests coverage report; https://bitbucket.org/43ravens/nemo_nowcast/addon/pipelines/home.
Add ability to send worker completion messages to a Slack channel via the Slack incoming webhooks API. Documentation coming soon…
Change to CalVer versioning convention. Version identifier format is now
yyis the (post-2000) year of release, and
nis the number of the release within the year, starting at
1. After a release has been made the value of
nis incremented by 1, and
.dev0is appended to the version identifier to indicate changes that will be included in the next release.
v18.1.dev0is an exception to that scheme. That version identifies the period of development between the
Change to use black for code style management.
Fix bug in
get_web_data()re: calculation of total time of retries. Previously waiting would time out long before
Config.__contains__()to enable checking for existence of top level keys in config.
Fix a bug whereby
checklist.logfile was neither being written nor being rotated. See issue #9
Added option to use ZeroMQ PUB/SUB sockets for distributed logging. See https://nemo-nowcast.readthedocs.io/en/latest/architecture/log_aggregator.html With this change the
logmessage type is eliminated since it was a less flexible form of distributed logging. Nowcast systems with workers that use the
logmessage type must be changed to use distributed logging.
Added option to set max retry waiting time to
worker.get_web_data(). See issue #3
rotate_logsworker sets permissions on newly created log files to
fileutilsmodule from the Python boltons package has been added to the
NEMO_Nowcastpackage as a vendored module. Please see the
README.rstfile for information about the copyright and license that apply to
WatchedFileHandlerin logging setup of
schedulerso that they notice when log files are rotated and switch to writing to the new ones. See issue #8
Pass system state checklist dict into
next_workers.after_*()calls so that
after_*()functions can access it to define what workers to launch next and/or their order. See issue #7
Add the ability to handle
logmessage types to the manager.
The configuration dict data structure has been removed from the
Config.__repr__()output because, in practice, the data structure is many lines long and its inclusion renders the
__repr__()method output almost unreadable.
scheduled workerconfiguration file section to be a list of dicts. This enables the same worker module to be scheduled for execution at several different times. For example, a
download_weatherworker can now be scheduled to run 4 times a day to get the products of each of the Environment Canada HRDPS model runs.
NOTE: As a consequence of this change the ability to configure the time period between system clock checks that the scheduler uses has been removed. It is now hard-coded to 60 seconds.
Make remote host worker launch process include sourcing a bash script that sets the nowcast system environment variables as a prefix to the worker launch command. The location of the script is defined in the config file.
Enable worker.get_web_data() to return content, as an alternative to storing it at a file path.
Fix a bug whereby workers write logging messages to all file handlers when
--debugoption is used instead of logging only to console. See issue #2
Pass system config dict into
next_workers.after_*()calls so that
after_*()functions can access it to define what workers to launch next and/or their order. See issue #5
Moved nemo_nowcast.NowcastWorker.add_argument() method to nemo_nowcast.CommandLineInterface class to make addition of arguments and options to worker CLIs consistently operate on worker.cli. See issue #4
Added this change log to the docs.
Fixed bug in worker.get_web_data() function that caused an infinite loop to start after a waited-for file was finally downloaded.
Eliminated lib module by refactoring command-line argument parsing functions into attr.s-decorated nemo_nowcast.cli.CommandLineInterface class that is available in the nemo_nowcast namespace.
Refactored system config data structure and lib.load_config() into attr.s-decorated nemo_nowcast.config.Config class that is available in the nemo_nowcat namespace.
Added worker and message classes & worker.get_web_data() function to nemo_nowcast namespace.
Refactored message data structure, lib.serialize_message(), and lib.deserialize_message() functions into attr.s-decorated nemo_nowcast.message.Message class.
Refactored nemo_nowcast.manager.NowcastManager and nemo_nowcast.worker.NowcastWorker into attr.s-decorated classes.
Add nemo_nowcast.worker.NowcastWorker.get_web_data() function to robustly download content from URLs via retries with exponential backoff.
Refactored nemo_nowcast.workers.NextWorker into attr.s-decorated class with launch method moved in from lib module.
Added arrow and attrs packages as dependencies (available from gomss-nowcast channel on anaconda.org).
Fix bugs that arise when scheduled workers config is missing or empty.
Add worker launch scheduler module.
Add clear_checklist built-in worker.
Add rotate_logs built-in worker.
Add framework documentation.
Add example next_workers module.
Add ability to substitute environment variable values into nowcast system YAML configuration file.
Add sleep & awaken example nowcast worker modules.
Add nowcast worker module.
Start API docs.
Add nowcast manager module.
Start unit test suite.
Start Sphinx docs with package development section.
Add message broker module.
Initial release for packaging testing.