17
0

5 Commits

Author SHA256 Message Date
3a563fe6ed Accepting request 1321919 from devel:languages:python
- Clean the SPEC file.

- 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

OBS-URL: https://build.opensuse.org/request/show/1321919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-iniconfig?expand=0&rev=10
2025-12-11 17:31:58 +00:00
75b39dbcce Remove patch again.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=25
2025-12-10 09:59:47 +00:00
9e5980c088 Remove patch again.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=24
2025-12-10 09:59:34 +00:00
049dbe02fd Eliminate the need for setuptools_scm by adding no-setuptools_scm.patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=23
2025-12-10 09:54:00 +00:00
09bfe05024 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=22
2025-12-10 09:16:15 +00:00
6 changed files with 47 additions and 12 deletions

Binary file not shown.

Binary file not shown.

View 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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730
size 20503

View File

@@ -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>

View File

@@ -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