17
0

2 Commits

Author SHA256 Message Date
c8d5f62d1e Accepting request 1283362 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1283362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-iniconfig?expand=0&rev=9
2025-06-10 06:57:39 +00:00
e97008f7eb Accepting request 1282381 from home:nkrapp:branches:devel:languages:python
- Update to 2.1.0
  * fix #26 - list individuals in license file by @RonnyPfannschmidt in #52
  * Run tests in CI by @nicoddemus in #53
  * Use pypa/gh-action-pypi-publish@release/v1 @ GHA by @webknjaz in #54
  * Add support for Python 3.12-3.13 and drop EOL 3.7 by @hugovk in #56

OBS-URL: https://build.opensuse.org/request/show/1282381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iniconfig?expand=0&rev=20
2025-06-05 12:39:59 +00:00
6 changed files with 12 additions and 47 deletions

BIN
iniconfig-2.1.0-tests.tar.gz LFS Normal file

Binary file not shown.

BIN
iniconfig-2.1.0.tar.gz LFS Normal file

Binary file not shown.

View File

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

View File

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

View File

@@ -1,39 +1,3 @@
-------------------------------------------------------------------
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 and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -%{flavor}
@@ -26,7 +27,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-iniconfig%{psuffix}
Version: 2.3.0
Version: 2.1.0
Release: 0
Summary: iniconfig: brain-dead simple config-ini parsing
License: MIT
@@ -35,9 +36,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
@@ -60,7 +61,7 @@ having a unique set of features:
* iniconfig raises an Error if two sections have the same name.
%prep
%autosetup -p1 -n iniconfig-%{version} -a1
%setup -q -n iniconfig-%{version} -a1
%if !%{with test}
%build