Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3a563fe6ed | |||
| 75b39dbcce | |||
| 9e5980c088 | |||
| 049dbe02fd | |||
| 09bfe05024 |
BIN
iniconfig-2.1.0-tests.tar.gz
LFS
BIN
iniconfig-2.1.0-tests.tar.gz
LFS
Binary file not shown.
BIN
iniconfig-2.1.0.tar.gz
LFS
BIN
iniconfig-2.1.0.tar.gz
LFS
Binary file not shown.
3
iniconfig-2.3.0-tests.tar.gz
Normal file
3
iniconfig-2.3.0-tests.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b485a7f6c060b2e758b6e58fd1bf7349a6f99954110ca61ceb59af25cf4ff458
|
||||||
|
size 17914
|
||||||
3
iniconfig-2.3.0.tar.gz
Normal file
3
iniconfig-2.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730
|
||||||
|
size 20503
|
||||||
@@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 10 09:30:44 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean the SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 4 10:02:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- 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 <nico.krapp@suse.com>
|
Tue Jun 3 14:18:36 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-iniconfig
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -%{flavor}
|
%define psuffix -%{flavor}
|
||||||
@@ -27,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-iniconfig%{psuffix}
|
Name: python-iniconfig%{psuffix}
|
||||||
Version: 2.1.0
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: iniconfig: brain-dead simple config-ini parsing
|
Summary: iniconfig: brain-dead simple config-ini parsing
|
||||||
License: MIT
|
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
|
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
|
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 base >= 3.8}
|
||||||
BuildRequires: %{python_module hatch_vcs}
|
|
||||||
BuildRequires: %{python_module hatchling}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools >= 77}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -61,7 +60,7 @@ having a unique set of features:
|
|||||||
* iniconfig raises an Error if two sections have the same name.
|
* iniconfig raises an Error if two sections have the same name.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n iniconfig-%{version} -a1
|
%autosetup -p1 -n iniconfig-%{version} -a1
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
|
|||||||
Reference in New Issue
Block a user