diff --git a/iniconfig-2.1.0-tests.tar.gz b/iniconfig-2.1.0-tests.tar.gz deleted file mode 100644 index 61938b7..0000000 --- a/iniconfig-2.1.0-tests.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8bbd2d27f7fc26cb01bf52bc99e7efd56a5a3f4e62c551aed2c9fb0cf4226153 -size 8195 diff --git a/iniconfig-2.1.0.tar.gz b/iniconfig-2.1.0.tar.gz deleted file mode 100644 index 7f37c99..0000000 --- a/iniconfig-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7 -size 4793 diff --git a/iniconfig-2.3.0-tests.tar.gz b/iniconfig-2.3.0-tests.tar.gz new file mode 100644 index 0000000..3fda3a4 --- /dev/null +++ b/iniconfig-2.3.0-tests.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b485a7f6c060b2e758b6e58fd1bf7349a6f99954110ca61ceb59af25cf4ff458 +size 17914 diff --git a/iniconfig-2.3.0.tar.gz b/iniconfig-2.3.0.tar.gz new file mode 100644 index 0000000..94d7a9c --- /dev/null +++ b/iniconfig-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 +size 20503 diff --git a/python-iniconfig.changes b/python-iniconfig.changes index 9331ab2..7c6427b 100644 --- a/python-iniconfig.changes +++ b/python-iniconfig.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Wed Dec 10 09:30:44 UTC 2025 - Matej Cepl + +- Clean the SPEC file. + +------------------------------------------------------------------- +Thu Dec 4 10:02:05 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.3.0 + * add IniConfig.parse() classmethod with strip_inline_comments parameter (fixes #55) + - by default (strip_inline_comments=True), inline comments are properly stripped from values + - set strip_inline_comments=False to preserve old behavior if needed + * IniConfig() constructor maintains backward compatibility (does not strip inline comments) + * users should migrate to IniConfig.parse() for correct comment handling + * add strip_section_whitespace parameter to IniConfig.parse() (regarding #4) + - opt-in parameter to strip Unicode whitespace from section names + - when True, strips Unicode whitespace (U+00A0, U+2000, U+3000, etc.) from section names + - when False (default), preserves existing behavior for backward compatibility + * clarify Unicode whitespace handling (regarding #4) + - since iniconfig 2.0.0 (Python 3 only), all strings are Unicode by default + - Python 3's str.strip() has handled Unicode whitespace since Python 3.0 (2008) + - iniconfig automatically benefits from this in all supported versions (Python >= 3.10) + - key names and values have Unicode whitespace properly stripped using Python's built-in methods +- from version 2.2.0 + * drop Python 3.8 and 3.9 support (now requires Python >= 3.10) + * add Python 3.14 classifier + * migrate from hatchling to setuptools 77 with setuptools_scm + * adopt PEP 639 license specifiers and PEP 740 build attestations + * migrate from black + pyupgrade to ruff + * migrate CI to uv and unified test workflow + * automate GitHub releases and PyPI publishing via Trusted Publishing + * include tests in sdist + * modernize code for Python 3.10+ (remove __future__ annotations, TYPE_CHECKING guards) + * rename _ParsedLine to ParsedLine +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Tue Jun 3 14:18:36 UTC 2025 - Nico Krapp diff --git a/python-iniconfig.spec b/python-iniconfig.spec index 69966c6..822fc5f 100644 --- a/python-iniconfig.spec +++ b/python-iniconfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-iniconfig # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -%{flavor} @@ -27,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-iniconfig%{psuffix} -Version: 2.1.0 +Version: 2.3.0 Release: 0 Summary: iniconfig: brain-dead simple config-ini parsing License: MIT @@ -36,9 +35,9 @@ URL: https://github.com/RonnyPfannschmidt/iniconfig Source: https://files.pythonhosted.org/packages/source/i/iniconfig/iniconfig-%{version}.tar.gz Source1: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-tests.tar.gz BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module hatch_vcs} -BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 77} +BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -61,7 +60,7 @@ having a unique set of features: * iniconfig raises an Error if two sections have the same name. %prep -%setup -q -n iniconfig-%{version} -a1 +%autosetup -p1 -n iniconfig-%{version} -a1 %if !%{with test} %build