diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..9ef755ae --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,46 @@ +# YAML 1.2 +# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/) +cff-version: 1.1.0 +message: If you use this software, please cite it using these metadata. +title: "MatterMiners/tardis: 0.7.1" +doi: 10.5281/zenodo.7943895 +authors: + - given-names: Manuel + family-names: Giffels + affiliation: Karlsruhe Institute of Technology + orcid: https://orcid.org/0000-0003-0193-3032 + - given-names: Max + family-names: Fischer + affiliation: Karlsruhe Institute of Technology + - given-names: Alexander + family-names: Haas + - given-names: Stefan + family-names: Kroboth + affiliation: University of Freiburg + - given-names: Matthias + family-names: Schnepf + affiliation: Karlsruhe Institute of Technology + - given-names: Eileen + family-names: Kuehn + affiliation: Karlsruhe Institute of Technology + - given-names: Pascal + family-names: Schuhmacher + - given-names: Rene + family-names: Caspart + affiliation: Karlsruhe Institute of Technology + - given-names: Florian + family-names: von Cube + affiliation: Karlsruhe Institute of Technology + - given-names: Dirk + family-names: Sammel + affiliation: University of Freiburg + - given-names: Benjamin + family-names: Rottler + affiliation: University of Freiburg + - given-names: Peter + family-names: Wienemann + affiliation: University of Bonn +version: 0.7.1 +date-released: 2023-05-17 +repository-code: https://github.com/MatterMiners/tardis +license: MIT diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 64a91b0d..370201a2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -12,8 +12,8 @@ Leon Schuhmacher R. Florian von Cube mschnepf Alexander Haas <104835302+haasal@users.noreply.github.com> -mschnepf Benjamin Rottler +mschnepf Dirk Sammel Matthias J. Schnepf Matthias Schnepf diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 0f43080b..6c082b4c 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,4 +1,4 @@ -.. Created by changelog.py at 2023-10-04, command +.. Created by changelog.py at 2023-10-05, command '/Users/giffler/.cache/pre-commit/repor6pnmwlm/py_env-python3.10/bin/changelog docs/source/changes compile --categories Added Changed Fixed Security Deprecated --output=docs/source/changelog.rst' based on the format of 'https://keepachangelog.com/' @@ -6,13 +6,27 @@ CHANGELOG ######### -[Unreleased] - 2023-10-04 -========================= +[0.8.0] - 2023-10-05 +==================== + +Changed +------- + +* Bump pyauditor version to 0.2.0 + +Fixed +----- + +* Fix auditor error handling when updating non-existing record +* Pin TARDIS to use pydantic version 1 +* Fix missing `resource_status` attribute crashing Prometheus plugin on newly started drones +* Fix utilization of updated timestamp and potential ignoring of drone minimum lifetime Deprecated ---------- * Minimal Python version is 3.8 +* Lancium compute support [0.7.1] - 2023-05-16 ==================== diff --git a/docs/source/changes/298.pin_pydantic_version1.yaml b/docs/source/changes/298.pin_pydantic_version1.yaml new file mode 100644 index 00000000..f93d400d --- /dev/null +++ b/docs/source/changes/298.pin_pydantic_version1.yaml @@ -0,0 +1,9 @@ +category: fixed +summary: "Pin TARDIS to use pydantic version 1" +description: "TARDIS supports at the moment only pydantic version 1, hence we are\ + \ pinning the utilization of pydantic version 1 in \n`setup.py`.\n" +issues: +- 299 +pull requests: +- 298 +version: 0.8.0 diff --git a/docs/source/changes/301.fix_prometheus_plugin.yaml b/docs/source/changes/301.fix_prometheus_plugin.yaml new file mode 100644 index 00000000..f04a45ed --- /dev/null +++ b/docs/source/changes/301.fix_prometheus_plugin.yaml @@ -0,0 +1,11 @@ +category: fixed +summary: "Fix missing `resource_status` attribute crashing Prometheus plugin on newly\ + \ started drones" +description: | + Newly started drones were missing the `resource_status` attribute in the `resource_attributes` dictionary which led + to crashes in the Prometheus plugin. +issues: +- 297 +pull requests: +- 301 +version: 0.8.0 diff --git a/docs/source/changes/304.deprecate_python_36_37.yaml b/docs/source/changes/304.deprecate_python_36_37.yaml index 77ac6671..fdd94bf2 100644 --- a/docs/source/changes/304.deprecate_python_36_37.yaml +++ b/docs/source/changes/304.deprecate_python_36_37.yaml @@ -4,7 +4,8 @@ description: | Support for Python versions 3.6 and 3.7 has been depracted. This has no further functional changes for users but reflects the end of life of these versions and allows TARDIS and plugins to drop outdated dependencies and compatibility layers. -pull requests: - - 304 issues: - - 303 +- 303 +pull requests: +- 304 +version: 0.8.0 diff --git a/docs/source/changes/306.fix_auditor_error_handling.yaml b/docs/source/changes/306.fix_auditor_error_handling.yaml new file mode 100644 index 00000000..f1294a62 --- /dev/null +++ b/docs/source/changes/306.fix_auditor_error_handling.yaml @@ -0,0 +1,11 @@ +category: fixed +summary: "Fix auditor error handling when updating non-existing record" +description: "It can happen that a drone is submitted but never reaches the AvailableState,\ + \ since demand for resources is decreasing\nand the drone is cleaned-up before and\ + \ it reaches DownState. This case is currently not handled correctly in the \nauditor\ + \ plugin, since it tries to update a non-existing record.\n" +issues: +- 305 +pull requests: +- 306 +version: 0.8.0 diff --git a/docs/source/changes/307.fix_updated_timestamp_utilization.yaml b/docs/source/changes/307.fix_updated_timestamp_utilization.yaml new file mode 100644 index 00000000..c4108a46 --- /dev/null +++ b/docs/source/changes/307.fix_updated_timestamp_utilization.yaml @@ -0,0 +1,14 @@ +category: fixed +summary: "Fix utilization of updated timestamp and potential ignoring of drone minimum\ + \ lifetime" +description: "The original idea was that created and updated timestamps indicate a\ + \ change \nof the `DroneState`. However, in the meantime it was also updated in\ + \ some \nSiteAdapters, when the resource status changed, e.g. through a \n`resource_status`\ + \ call on certain SiteAdapters. Through the \n`drone_minimum_lifetime` setting seems\ + \ to be ignored, because `resource_status` \nis called every minute, while `drone_minimum_lifetime`\ + \ is usually in the order of hours.\n" +issues: +- 296 +pull requests: +- 307 +version: 0.8.0 diff --git a/docs/source/changes/308.deprecate_lancium_support.yaml b/docs/source/changes/308.deprecate_lancium_support.yaml new file mode 100644 index 00000000..0b2caf63 --- /dev/null +++ b/docs/source/changes/308.deprecate_lancium_support.yaml @@ -0,0 +1,7 @@ +category: deprecated +summary: "Lancium compute support" +description: "Since April 2023 Lancium compute does not offer Platform as a Service\ + \ anymore, therefore the support of Lancium \ncompute in TARDIS is now deprecated.\n" +pull requests: +- 308 +version: 0.8.0 diff --git a/docs/source/changes/311.bump_pyauditor_version_to_0_2_0.yaml b/docs/source/changes/311.bump_pyauditor_version_to_0_2_0.yaml new file mode 100644 index 00000000..c51ae18f --- /dev/null +++ b/docs/source/changes/311.bump_pyauditor_version_to_0_2_0.yaml @@ -0,0 +1,7 @@ +category: changed +summary: "Bump pyauditor version to 0.2.0" +description: | + Bump `pyauditor` to version 0.2.0 +pull requests: +- 311 +version: 0.8.0 diff --git a/docs/source/changes/versions.yaml b/docs/source/changes/versions.yaml index 4609f20d..702434a8 100644 --- a/docs/source/changes/versions.yaml +++ b/docs/source/changes/versions.yaml @@ -1,3 +1,5 @@ +- semver: 0.8.0 + date: '2023-10-05' - semver: 0.7.1 date: '2023-05-16' - semver: 0.7.0 diff --git a/tardis/__about__.py b/tardis/__about__.py index 7ed584e1..fbb511e8 100644 --- a/tardis/__about__.py +++ b/tardis/__about__.py @@ -3,7 +3,7 @@ __summary__ = "Transparent Adaptive Resource Dynamic Integration System" __url__ = "https://github.com/matterminers/tardis" -__version__ = "0.7.1" +__version__ = "0.8.0" __author__ = "Manuel Giffels, Matthias Schnepf" __email__ = "giffels@gmail.com" __copyright__ = "2018 - 2023 %s and Contributors" % __author__