Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparing TARDIS 0.8.0 release #300

Merged
merged 9 commits into from
Oct 10, 2023
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
46 changes: 46 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -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"
Copy link
Member Author

@giffels giffels Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is kind of a chicken and egg problem. I have to add the "link" to release 0.7.1, since this is the current one published on Zenodo and have to update it to version 0.8.0 once it is released.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you just write 0.8.0? Because in time it is released, it will be valid?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but I do not know the doi of that version in advance.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could go with the generic doi for tardis itself as well. That's https://doi.org/10.5281/zenodo.2240605.

But I see no problem having the old version here until the release is made and then updating the info afterwards. It doesn't seem to get packaged, so it's not strictly attached to a version anyway - only the repo.

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
2 changes: 1 addition & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Leon Schuhmacher <[email protected]>
R. Florian von Cube <[email protected]>
mschnepf <[email protected]>
Alexander Haas <[email protected]>
mschnepf <[email protected]>
Benjamin Rottler <[email protected]>
mschnepf <[email protected]>
Dirk Sammel <[email protected]>
Matthias J. Schnepf <[email protected]>
Matthias Schnepf <[email protected]>
Expand Down
20 changes: 17 additions & 3 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
.. 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/'

#########
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
====================
Expand Down
9 changes: 9 additions & 0 deletions docs/source/changes/298.pin_pydantic_version1.yaml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions docs/source/changes/301.fix_prometheus_plugin.yaml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions docs/source/changes/304.deprecate_python_36_37.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions docs/source/changes/306.fix_auditor_error_handling.yaml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions docs/source/changes/307.fix_updated_timestamp_utilization.yaml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions docs/source/changes/308.deprecate_lancium_support.yaml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions docs/source/changes/311.bump_pyauditor_version_to_0_2_0.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions docs/source/changes/versions.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- semver: 0.8.0
date: '2023-10-05'
- semver: 0.7.1
date: '2023-05-16'
- semver: 0.7.0
Expand Down
2 changes: 1 addition & 1 deletion tardis/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = "[email protected]"
__copyright__ = "2018 - 2023 %s and Contributors" % __author__
Expand Down