Bump iniconfig from 2.1.0 to 2.3.0
Bumps iniconfig from 2.1.0 to 2.3.0.
Release notes
Sourced from iniconfig's releases.
Version 2.3.0
What's Changed
- Add IniConfig.parse() with inline comment stripping and Unicode whitespace handling by
@RonnyPfannschmidtin pytest-dev/iniconfig#70Full Changelog: https://github.com/pytest-dev/iniconfig/compare/v2.2.0...v2.3.0
Version 2.2.0
No release notes provided.
Changelog
Sourced from iniconfig's changelog.
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
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
Commits
7faed13Merge pull request #70 from RonnyPfannschmidt/comments58c0869Refactor: Simplify IniConfig constructor and parse() method6d0af45Add strip_section_whitespace parameter to address issue #4e2d89f5Add IniConfig.parse() classmethod to fix inline comment handling57b7ed9Merge pull request #66 from killiandesse/pep63927ac49fMerge pull request #69 from RonnyPfannschmidt/limit-attestation3402322Disable build attestations for PRs from forks27e6a7bMerge branch 'main' into pep6396522881Merge pull request #68 from pytest-dev/fix-build8b2bccbUpdate CHANGELOG and automate releases- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 54.67%. Comparing base (7e94024) to head (e42c6c9).
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #1578 +/- ##
=======================================
Coverage 54.66% 54.67%
=======================================
Files 335 335
Lines 27358 27358
=======================================
+ Hits 14956 14958 +2
+ Misses 12402 12400 -2
| Flag | Coverage Δ | |
|---|---|---|
| functionaltests | 0.00% <ø> (ø) |
|
| unittests | 54.67% <ø> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.