Skip to content

Commit 34b434a

Browse files
authored
Prepare release 3.0.0 (#45)
1 parent 6ba9592 commit 34b434a

7 files changed

Lines changed: 64 additions & 29 deletions

File tree

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_3.0.0.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# 3.0.0 - 2026-07-13
2+
3+
## Summary
4+
5+
This release upgrades to ansible version 14.1.0 and Python 3.12.
6+
7+
## Security Issues
8+
9+
This release fixes vulnerabilities by updating dependencies:
10+
11+
| Dependency | Vulnerability | Affected | Fixed in |
12+
|------------|---------------|----------|----------|
13+
| ansible | PYSEC-2026-1119 | 10.7.0 | 12.2.0 |
14+
| cryptography | GHSA-537c-gmf6-5ccf | 46.0.7 | 48.0.1 |
15+
| idna | PYSEC-2026-215 | 3.11 | 3.15 |
16+
| idna | PYSEC-2026-215 | 3.11 | 3.15 |
17+
| msgpack | GHSA-6v7p-g79w-8964 | 1.1.2 | 1.2.1 |
18+
| pip | PYSEC-2026-196 | 26.1 | 26.1.2 |
19+
| soupsieve | CVE-2026-49477 | 2.8.3 | 2.8.4 |
20+
| soupsieve | CVE-2026-49476 | 2.8.3 | 2.8.4 |
21+
| urllib3 | PYSEC-2026-142 | 2.6.3 | 2.7.0 |
22+
| urllib3 | PYSEC-2026-142 | 2.6.3 | 2.7.0 |
23+
| urllib3 | PYSEC-2026-141 | 2.6.3 | 2.7.0 |
24+
25+
## Features
26+
27+
* #42: Upgrade to Ansible 14.1.0
28+
29+
## Breaking Changes
30+
31+
* `Runner.run()` now returns a `Result` object instead of a facts dictionary.
32+
Retrieve host facts via `result.get_facts(host)` after calling `run()`.
33+
The `retrieve_facts_from` argument was removed from `Runner.run()`.
34+
35+
## Dependency Updates
36+
37+
### `main`
38+
39+
* Updated dependency `ansible:10.7.0` to `14.1.0`
40+
* Updated dependency `types-docker:7.1.0.20260409` to `7.1.0.20260518`
41+
42+
### `dev`
43+
44+
* Updated dependency `docker:7.1.0` to `7.2.0`
45+
* Updated dependency `exasol-toolbox:6.3.0` to `10.2.1`
46+
* Updated dependency `pip:26.1` to `26.1.2`
47+
* Updated dependency `pytest:9.0.3` to `9.1.1`
48+
* Updated dependency `requests:2.33.1` to `2.34.2`

doc/changes/unreleased.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
# Unreleased
22

33
## Summary
4-
5-
This release upgrades to ansible version 14.1.0 and Python 3.12.
6-
7-
## Features
8-
9-
* #42: Upgrade to Ansible 14.1.0
10-
11-
## Breaking Changes
12-
13-
* `Runner.run()` now returns a `Result` object instead of a facts dictionary.
14-
Retrieve host facts via `result.get_facts(host)` after calling `run()`.
15-
The `retrieve_facts_from` argument was removed from `Runner.run()`.

exasol/ansible/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from importlib.metadata import version
2+
13
from .context import copy_files
24
from .facts import Facts
35
from .inventory import Host
@@ -9,6 +11,8 @@
911
from .result import Result
1012
from .runner import Runner
1113

14+
__version__ = version("exasol-ansible-runner-wrapper")
15+
1216
__all__ = [
1317
"Facts",
1418
"Host",

exasol/ansible/version.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "exasol-ansible-runner-wrapper"
3-
version = "2.0.0"
3+
version = "3.0.0"
44
description = "Python wrapper for running Ansible"
55
authors = [
66
{name = "Mykhailo Skliar", email = "mykhailo.skliar@exasol.com"},
@@ -47,7 +47,7 @@ include = [
4747
]
4848

4949
[tool.poetry.requires-plugins]
50-
poetry-plugin-export = ">=1.8"
50+
poetry-plugin-export = ">=1.10.0"
5151

5252
[poetry.urls]
5353
repository = "https://github.com/exasol/ansible-runner-wrapper"

test/unit/test_package_init.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from exasol.toolbox.util.version import Version
2+
3+
import exasol.ansible
4+
5+
6+
def test_package_version_is_set():
7+
assert isinstance(exasol.ansible.__version__, str)
8+
assert Version.from_string(exasol.ansible.__version__)

0 commit comments

Comments
 (0)