Skip to content

Commit c0a390f

Browse files
committed
Merge branch 'release/2.7.6'
2 parents 0469fb7 + 47579bb commit c0a390f

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10', '3.11', '3.12']
18+
python-version: ['3.10', '3.11', '3.12', '3.13']
1919

2020
steps:
2121
- uses: actions/checkout@v2
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _20241206_2_7_6_release:
2+
3+
Release Notes (v2.7.6)
4+
======================
5+
6+
`December 6, 2024`
7+
8+
The v2.7.6 switches to ``tomli`` and ``tomli-w`` for TOML language support.
9+
10+
-----
11+
12+
TOML Language Support
13+
---------------------
14+
15+
Previously we relied on the `toml <https://pypi.org/project/toml/>`_ package for parsing TOML
16+
configuration files. However, this package is no longer considered the best provider of such support
17+
and is actually now `deprecated <https://fedoraproject.org/wiki/Changes/DeprecatePythonToml>`_
18+
by some Linux distros. Further, TOML has made its way into the Python standard library
19+
(for Python 3.11+, `tomllib <https://docs.python.org/3/library/tomllib.html>`_).
20+
Therefore it was best to migrate to no dependency at all for Python 3.11+ or use
21+
`tomli <https://pypi.org/project/tomli/>`_ otherwise.
22+
For *write* capabilities we've added `tomli-w <https://pypi.org/project/tomli-w/>`_.
23+
Many application have no need to write TOML, so this is an optional dependency.
24+
25+
Proper support for package `extras` is now provided.
26+
To explicitly enable TOML, developers can specify ``cmdkit[toml]`` as a dependency.

docs/blog/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ A place for announcements, release notes, thoughts and ideas for the project.
77

88
-----
99

10+
:ref:`Release Notes (v2.7.6) <20241206_2_7_6_release>`
11+
------------------------------------------------------
12+
13+
`December 6, 2024`
14+
15+
The v2.7.6 switches to ``tomli`` and ``tomli-w`` for TOML language support.
16+
17+
-----
18+
1019
:ref:`Release Notes (v2.7.5) <20240417_2_7_5_release>`
1120
------------------------------------------------------
1221

@@ -55,6 +64,7 @@ The v2.7.1 release includes major new features along with numerous fixes and imp
5564
:hidden:
5665
:maxdepth: 1
5766

67+
20241206_2_7_6_release
5868
20240417_2_7_5_release
5969
20240123_2_7_4_release
6070
20231012_2_7_3_release

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cmdkit"
3-
version = "2.7.5"
3+
version = "2.7.6"
44
description = "A command-line utility toolkit for Python."
55
readme = "README.rst"
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)