Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Sat Feb 14 2026 Satoru SATOH <satoru.satoh@gmail.com> - 0.15.0-1
* Mon Feb 16 2026 Satoru SATOH <satoru.satoh@gmail.com> - 0.15.0-1
- fix/change: migrate test cases from unittest.TestCase to pytest based with
new test data loader (#173)
- fix: enable all rules by ruff linter by default
Expand Down Expand Up @@ -70,6 +70,9 @@
- fix: workaround to suppress a flake8-bugbear error
- fix: workaround to suppress a mypy error
- fix: workaround to suppress errors only happen with tomllib
- fix: remove rpm related hack as bdist_rpm was deprecated in the latest setuptools
- fix: [tox] add missing dependencies in srpm target
- fix: [rpm] add hack to avoid false-positive errors in pyproject.toml
- change: drop python 3.8.x support
- change: enable all ruff rules with minimal exceptions
- change: add new requirements.txt to list tox-uv
Expand Down Expand Up @@ -97,6 +100,7 @@
- refactor: simplify test cases for anyconfig.backend.base.*Mixin.*open with
pytest.mark.parametrize
- enhancement: add azure-pipelines.yml for Azure Pipelines
- enhancement: add a script to build SRPM fom src dist and pkg/package.spec.in

* Sun Jan 14 2024 Satoru SATOH <satoru.satoh@gmail.com> - 0.14.0-1
- change: drop the support py37 and add py311
Expand Down
2 changes: 1 addition & 1 deletion src/anyconfig/backend/xml/etree.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class Parser(base.Parser, base.ToStreamDumperMixin):
_open_write_mode: typing.ClassVar[str] = "wb"

def load_from_string(
self, content: typing.AnyStr, container: GenDicType,
self, content: str | bytes, container: GenDicType,
**opts: typing.Any,
) -> DicType:
"""Load config from XML snippet (a string 'content').
Expand Down
Loading