Skip to content

Commit fec939c

Browse files
undo
1 parent 77afd86 commit fec939c

5 files changed

Lines changed: 22 additions & 21 deletions

File tree

.github/scripts/prepare_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def update_changelog(nvn):
111111
if "release date: " in line.lower():
112112
today = time.strftime("%Y-%m-%d")
113113
lines[i] = f"Release date: {today}"
114-
changelog.write(re.sub("\n+$", "\n", "\n".join(lines)))
114+
changelog.write("\n".join(lines).replace("\n\n", "\n"))
115115
changelog.write("\n")
116116
return GitFile('CHANGELOG.md')
117117

CHANGELOG.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Changelog
22

3-
## 4.3.3
3+
## Unreleased
44

5-
Release date: 2023-09-01
5+
Release date: YYYY-MM-DD
6+
7+
Code freeze date: YYYY-MM-DD
68

79
### Dependency Updates
810

@@ -61,7 +63,7 @@ Removed:
6163
- 'Extra' requirements `doc`, `test`, and `dev` for Python package [#712](https://github.com/CLIMADA-project/climada_python/pull/712)
6264
- Added method `Exposures.centroids_total_value` to replace the functionality of `Exposures.affected_total_value`. This method is temporary and deprecated. [#702](https://github.com/CLIMADA-project/climada_python/pull/702)
6365
- New method `climada.util.api_client.Client.purge_cache`: utility function to remove outdated files from the local file system to free disk space.
64-
([#737](https://github.com/CLIMADA-project/climada_python/pull/737))
66+
([#737](https://github.com/CLIMADA-project/climada_python/pull/737))
6567
- New attribute `climada.hazard.Hazard.haz_type`: used for assigning impacts to hazards. In previous versions this information was stored in the now removed `climada.hazard.tag.Tag` class. [#736](https://github.com/CLIMADA-project/climada_python/pull/736)
6668
- New attribute `climada.entity.exposures.Exposures.description`: used for setting the default title in plots from plotting mathods `plot_hexbin` and `plot_scatter`. In previous versions this information was stored in the deprecated `climada.entity.tag.Tag` class. [#756](https://github.com/CLIMADA-project/climada_python/pull/756)
6769
- Added advanced examples in unsequa tutorial for coupled input variables and for handling efficiently the loading of multiple large files [#766](https://github.com/CLIMADA-project/climada_python/pull/766)
@@ -117,14 +119,14 @@ Removed:
117119
- `Centroids.set_raster_from_pix_bounds` [#721](https://github.com/CLIMADA-project/climada_python/pull/721)
118120
- `requirements/env_developer.yml` environment specs. Use 'extra' requirements when installing the Python package instead [#712](https://github.com/CLIMADA-project/climada_python/pull/712)
119121
- The `climada.entitity.tag.Tag` class, together with `Impact.tag`, `Exposures.tag`, `ImpactFuncSet.tag`, `MeasuresSet.tag`, `Hazard.tag` attributes.
120-
This may break backwards-compatibility with respect to the files written and read by the `Impact` class.
121-
[#736](https://github.com/CLIMADA-project/climada_python/pull/736),
122-
[#743](https://github.com/CLIMADA-project/climada_python/pull/743),
123-
[#753](https://github.com/CLIMADA-project/climada_python/pull/753),
124-
[#754](https://github.com/CLIMADA-project/climada_python/pull/754),
125-
[#756](https://github.com/CLIMADA-project/climada_python/pull/756),
126-
[#767](https://github.com/CLIMADA-project/climada_python/pull/767),
127-
[#779](https://github.com/CLIMADA-project/climada_python/pull/779)
122+
This may break backwards-compatibility with respect to the files written and read by the `Impact` class.
123+
[#736](https://github.com/CLIMADA-project/climada_python/pull/736),
124+
[#743](https://github.com/CLIMADA-project/climada_python/pull/743),
125+
[#753](https://github.com/CLIMADA-project/climada_python/pull/753),
126+
[#754](https://github.com/CLIMADA-project/climada_python/pull/754),
127+
[#756](https://github.com/CLIMADA-project/climada_python/pull/756),
128+
[#767](https://github.com/CLIMADA-project/climada_python/pull/767),
129+
[#779](https://github.com/CLIMADA-project/climada_python/pull/779)
128130
- `impact.tot_value` attribute removed from unsequa module [#763](https://github.com/CLIMADA-project/climada_python/pull/763)
129131

130132
## v3.3.2
@@ -153,6 +155,10 @@ Patch-relaese with altered base config file so that the basic installation test
153155

154156
Release date: 2023-02-17
155157

158+
Code freeze date: 2023-02-05
159+
160+
### Description
161+
156162
### Dependency Changes
157163

158164
new:
@@ -242,3 +248,4 @@ updated:
242248
- `climada.enginge.impact.Impact.calc()` and `climada.enginge.impact.Impact.calc_impact_yearset()`
243249
[#436](https://github.com/CLIMADA-project/climada_python/pull/436).
244250

251+
### Removed

climada/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '4.3.3'
1+
__version__ = '3.3.2-dev'

doc/misc/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@ This is the Python (3.8+) version of CLIMADA - please see https://github.com/dav
1515

1616
## Getting started
1717

18-
CLIMADA runs on Windows, macOS and Linux.
19-
The released versions of the CLIMADA core can be installed directly through Anaconda:
20-
```shell
21-
conda install -c conda-forge climada
22-
```
23-
It is **highly recommended** to install CLIMADA into a **separate** Anaconda environment.
24-
See the [installation guide](https://climada-python.readthedocs.io/en/latest/guide/install.html) for further information.
18+
CLIMADA runs on Windows, macOS and Linux. It can be installed from sources or - in case of climada_python - directly with pip. See the [installation guide](https://climada-python.readthedocs.io/en/latest/guide/install.html) for instructions.
2519

2620
Follow the [tutorial](https://climada-python.readthedocs.io/en/latest/tutorial/1_main_climada.html) `climada_python-x.y.z/doc/tutorial/1_main_climada.ipynb` in a Jupyter Notebook to see what can be done with CLIMADA and how.
2721

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
setup(
3434
name='climada',
3535

36-
version='4.3.3',
36+
version='3.3.2-dev',
3737

3838
description='CLIMADA in Python',
3939

0 commit comments

Comments
 (0)