You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
Release History
4
4
===============
5
5
6
-
0.6.10 (dev)
7
-
------------
6
+
0.6.10 (2023-01-18)
7
+
-------------------
8
8
9
9
|changed| |backwards-incompatible| Updated to Numpy v1.23, Pandas v1.5, Pyomo v6.4, Ruamel.yaml v0.17, Scikit-learn v1.2, Xarray v2022.3, GLPK v5. This enables Calliope to be installed on Apple Silicon devices, but changes the result of algorithmic timeseries clustering. `In scikit-learn version 0.24.0, the method of random sampling for K-Means clustering was changed <https://scikit-learn.org/stable/whats_new/v0.24.html#changed-models>`_. This change will lead to different optimisation results if using `K-Means clustering <https://calliope.readthedocs.io/en/v0.6.10/user/advanced_features.html#time-resolution-adjustment>`_ in your model.
Copy file name to clipboardExpand all lines: doc/user/develop.rst
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Then install all development requirements for Calliope into a new environment, c
36
36
$ conda env update -f requirements.yml -n calliope_dev # to install the calliope non-python dependencies and testing/coverage python packages
37
37
$ conda env update -f requirements.txt -n calliope_dev # to install the pinned calliope python dependencies
38
38
$ conda activate calliope_dev
39
-
$ pip install -e calliope
39
+
$ pip install -e . # installs from your local clone of the calliope repository
40
40
41
41
Only calliope itself should be installed from pip, the rest will have been installed from conda and will be marked as `Requirement already satisfied` on running the above command.
42
42
@@ -257,13 +257,15 @@ Create release
257
257
* Commit with message "Release vXXXX", then add a "vXXXX" tag, push both to GitHub
258
258
* Create a release through the GitHub web interface, using the same tag, titling it "Release vXXXX" (required for Zenodo to pull it in)
259
259
* Upload new release to PyPI: ``make all-dist``
260
-
* Update the conda-forge package:
261
-
* Fork `conda-forge/calliope-feedstock <https://github.com/conda-forge/calliope-feedstock>`_, and update ``recipe/meta.yaml`` with:
262
-
* Version number: ``{% set version = "XXXX" %}``
263
-
* SHA256 of latest version from PyPI: ``{% set sha256 = "XXXX" %}``
264
-
* Reset ``build: number: 0`` if it is not already at zero
265
-
* If necessary, carry over any changed requirements from ``setup.py`` or ``requirements/base.yml``
266
-
* Submit a pull request from an appropriately named branch in your fork (e.g. ``vXXXX``) to the `conda-forge/calliope-feedstock <https://github.com/conda-forge/calliope-feedstock>`_ repository
260
+
* Update the conda-forge package using the `Calliope feedstock <https://github.com/conda-forge/calliope-feedstock>`_:
261
+
* Wait for the the `regro-cf-autotick-bot` to open a pull request automatically (can take several hours)
262
+
* Check that ``recipe/meta.yaml`` in the pull request is up-to-date with:
263
+
* Version number: ``{% set version = "XXXX" %}`` (should be automatically updated)
264
+
* SHA256 of latest version from PyPI: ``{% set sha256 = "XXXX" %}`` (should be automatically updated)
265
+
* Reset ``build: number: 0`` if it is not already at zero (should be automatically updated)
266
+
* Range of python versions supported
267
+
* Requirement version pinning, to match any changes in ``requirements.txt`` and ``requirements.yml``
268
+
^ Any necessary updates can be made direclty on the PR by pushing directly to the bot's branch or by using the GIthub interactive editing interface.
0 commit comments