Commit f2da5db3 authored by Yunus Sevinchan's avatar Yunus Sevinchan
Browse files

Merge branch 'release-v0.20.0' into 'main'

Prepare for release of dantro v0.20.0

See merge request !361
parents 40fc542a aadd4638
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -101,8 +101,7 @@ test:py312:

test:py313:
  extends: test:py39
  image: python:3.13-rc  # TODO update once released
  allow_failure: true
  image: python:3.13
  script:
    - tox -v -e py313

@@ -143,7 +142,7 @@ test:windows:py312:
# ... for building the documentation (and potentially more jobs)

build:docs:
  image: python:3.8   # to be identical to ReadTheDocs build
  image: python:3.10   # to be identical to ReadTheDocs build
  stage: build
  allow_failure: true
  needs: []
+3 −3
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ repos:

  # Run if desiring to make use of newer language features
  - repo: https://github.com/asottile/pyupgrade
    rev: v3.17.0
    rev: v3.19.0
    hooks:
    - id: pyupgrade
      name: upgrade python syntax
@@ -26,7 +26,7 @@ repos:
        args: [--project=dantro]

  - repo: https://github.com/psf/black
    rev: 24.8.0
    rev: 24.10.0
    hooks:
      - id: black
        name: black code formatting
@@ -38,7 +38,7 @@ repos:
        name: check RST backticks

  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.6.0
    rev: v5.0.0
    hooks:
      - id: end-of-file-fixer
        name: fix end of files
+13 −0
Original line number Diff line number Diff line
@@ -2,6 +2,19 @@

`dantro` aims to adhere to [semantic versioning](https://semver.org/).

## v0.20.0
- !352 adds the `parallel` key to the plot configuration, allowing to execute `ParamSpace`-based plots in separate threads or processes; this can significantly speed up plot creation if there are many plots to be made (and individual plots need more time than spawning the plot executor).
- !358 adds numpy >= 2.0 compatibility.
- !349 adds Windows support for dantro by ensuring paths are consistently formatted in Posix-style
- !355 improves automatic `col_wrap` in facet grid plots by using a simple optimization routine to maximize the fill ratio of the last row of a facet grid plot while trying to stay close to a square-like grid.

#### Bug fixes
- !359 fixes an error in the `.plot.facet_grid.scatter` base plot configuration.

#### Internal
- !360 drops testing for Python 3.8 — while dantro (or at least most parts of it) *probably* still works for that release, it will no longer be actively tested as of v0.20 due to complications in dependency management.
  The old behaviour (which may create lonely plots in the last row) is retained by setting `col_wrap: square`.

## v0.20.0b3
- !359 fixes an error in the `.plot.facet_grid.scatter` base plot configuration.
- !360 drops testing for Python 3.8 — while dantro (or at least most parts of it) *probably* still works for that release, it will no longer be actively tested as of v0.20 due to complications in dependency management.
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ For more information on commit hooks, see [the commit hooks section below](#comm
To assert correct functionality, tests are written alongside all features.
The [`pytest`][pytest] and [`tox`][tox] packages are used as testing frameworks.

All tests are carried out for Python 3.8 through 3.12 using the GitLab CI/CD and the newest versions of all [dependencies](#dependencies).
All tests are carried out for Python versions 3.9 to 3.13 using the GitLab CI/CD and the *newest versions* of all [dependencies](#dependencies), as resolved by `pip`.

Test coverage and pipeline status can be seen on [the project page][dantro-project].

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ an automated sequence of predefined, configurable operations.
See :ref:`the user manual <welcome>` for more information.
"""

__version__ = "0.20.0b3"
__version__ = "0.20.0"
"""Package version"""

# Set up the root logger such that the logging configuration is applied
Loading