Skip to content

Bump configupdater from 3.2 to 4.1.1 - #368

Merged
diego-ojeda-binbash merged 1 commit into
masterfrom
dependabot/pip/configupdater-4.1.1
Nov 15, 2026
Merged

diego-ojeda-binbash merged 1 commit into
masterfrom
dependabot/pip/configupdater-4.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps configupdater from 3.2 to 4.1.1.

Release notes

Sourced from configupdater's releases.

v4.1.1

  • Insert a newline before blocks added with add_after or insert_at when the file does not end with one, as add_section and add_option already do (follow-up to PR #178), PR #185

v4.1

  • Behavior change: Option.as_list() returns an empty list instead of [""] for an empty value, e.g. key = or after set_values([]). An empty list and a single empty value are written the same way, so set_values([]) now round-trips and a later append() no longer adds an empty first entry, PR #182

v4.0.2

  • Make Option.as_list() use the current value after assignments to or from None, so append() no longer discards values added to a valueless option and converting an option to None no longer raises an AttributeError, PR #179
  • Detach every child block when clearing a document or section, so removed sections and options can be attached elsewhere without stale parent links (follow-up to PR #43), PR #180

v4.0.1

  • Insert a newline before a newly added option when the file does not end with one, so appending an option to the last section no longer glues the option onto the last line and silently corrupts the previous value (related to the new-section fix in PR #142 for issue #126), PR #178
  • Fix spelling, grammar and factual errors in the documentation and docstrings, e.g. the inverted description of empty_lines_in_values and the name of the unsupported defaults argument of ConfigParser, PR #175

v4.0

  • Breaking: Drop support for Python < 3.11, the minimum supported version is now Python 3.11, PR #150
  • Add support for Python 3.15, PR #160
  • Simplify type hints using Python 3.11 features (typing.Self, X | Y unions) and remove compatibility code for older Python versions, PR #150
  • Add add_before_skip_comments to Section for inserting blocks before the comments that directly precede a section, issue #117
  • Fix add_section gluing the new section header to the last line when the file does not end with a newline, issue #126
  • Fix None being written as delimiter when assigning a value to an option that was parsed without a value (allow_no_value), issue #141
  • Port the option regexes of Python 3.15's configparser (CPython gh-146333). The old ones backtracked quadratically, so a long line with many spaces could stall the parser for minutes, PR #161
  • Fix navigating, detaching or inserting at the wrong position when a container holds several equal comment or blank-line blocks, issue #140
  • del section[key] (and thus section.pop(key)) now applies optionxform like section[key] does, PR #148
  • Document that a custom optionxform must be idempotent, PR #152
  • Build with hatchling and hatch-vcs, with all metadata in pyproject.toml. The

... (truncated)

Changelog

Sourced from configupdater's changelog.

Version 4.1.1

  • Insert a newline before blocks added with add_after or insert_at when the file does not end with one, as add_section and add_option already do (follow-up to PR #178), PR #185

Version 4.1

  • Behavior change: Option.as_list() returns an empty list instead of [""] for an empty value, e.g. key = or after set_values([]). An empty list and a single empty value are written the same way, so set_values([]) now round-trips and a later append() no longer adds an empty first entry, PR #182

Version 4.0.2

  • Make Option.as_list() use the current value after assignments to or from None, so append() no longer discards values added to a valueless option and converting an option to None no longer raises an AttributeError, PR #179
  • Detach every child block when clearing a document or section, so removed sections and options can be attached elsewhere without stale parent links (follow-up to PR #43), PR #180

Version 4.0.1

  • Insert a newline before a newly added option when the file does not end with one, so appending an option to the last section no longer glues the option onto the last line and silently corrupts the previous value (related to the new-section fix in PR #142 for issue #126), PR #178
  • Fix spelling, grammar and factual errors in the documentation and docstrings, e.g. the inverted description of empty_lines_in_values and the name of the unsupported defaults argument of ConfigParser, PR #175

Version 4.0

  • Breaking: Drop support for Python < 3.11; the minimum supported version is now Python 3.11, PR #150
  • Add support for Python 3.15, PR #160
  • Simplify type hints using Python 3.11 features (typing.Self, X | Y unions) and remove compatibility code for older Python versions, PR #150
  • Add add_before_skip_comments to Section for inserting blocks before the comments that directly precede a section, issue #117
  • Fix add_section gluing the new section header to the last line when the file does not end with a newline, issue #126
  • Fix None being written as delimiter when assigning a value to an option that was

... (truncated)

Commits
  • c67194d Release 4.1.1
  • fc46de8 Share the trailing-newline fix between add_section, add_option and the builder
  • b9847f9 Insert a newline before builder blocks when the file lacks one
  • 287b49f Bump tox from 4.66.0 to 4.67.1 in the dev-dependencies group
  • 0e5ee80 Bump the github-actions group with 3 updates
  • d67cace Release 4.1
  • 6c3674d Merge pull request #182 from pyscaffold/as-list-empty-value
  • 6bc6b0b Reference PR #182 in changelog
  • 0c6f7b3 Return an empty list from as_list() for empty values
  • 7de4421 Release 4.0.2
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file major python Pull requests that update python code labels Nov 15, 2026
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 57cb1d46-2d46-4042-bc34-4559e937563c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coveralls

coveralls commented Nov 15, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 43732142509

Coverage remained the same at 78.106%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4132
Covered Lines: 3344
Line Coverage: 80.93%
Relevant Branches: 1084
Covered Branches: 730
Branch Coverage: 67.34%
Branches in Coverage %: Yes
Coverage Strength: 0.81 hits per line

💛 - Coveralls

@dependabot
dependabot Bot force-pushed the dependabot/pip/configupdater-4.1.1 branch 2 times, most recently from bc454ba to f1fba92 Compare November 15, 2026 15:31
@diego-ojeda-binbash

Copy link
Copy Markdown
Collaborator

Ref-arch E2E run by hand on this branch (Dependabot PRs get no AWS credentials): passed on 3.11 and 3.15. https://github.com/binbashar/leverage/actions/runs/43729811171

@diego-ojeda-binbash

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/pip/configupdater-4.1.1 branch from f1fba92 to 270c87b Compare November 15, 2026 15:35
@diego-ojeda-binbash

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/pip/configupdater-4.1.1 branch from 270c87b to 2c31aea Compare November 15, 2026 15:43
@diego-ojeda-binbash

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [configupdater](https://github.com/pyscaffold/configupdater) from 3.2 to 4.1.1.
- [Release notes](https://github.com/pyscaffold/configupdater/releases)
- [Changelog](https://github.com/pyscaffold/configupdater/blob/main/CHANGELOG.rst)
- [Commits](pyscaffold/configupdater@v3.2...v4.1.1)

---
updated-dependencies:
- dependency-name: configupdater
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/configupdater-4.1.1 branch from 2c31aea to 9f550ab Compare November 15, 2026 15:50
@diego-ojeda-binbash
diego-ojeda-binbash merged commit dc176df into master Nov 15, 2026
24 of 25 checks passed
@diego-ojeda-binbash
diego-ojeda-binbash deleted the dependabot/pip/configupdater-4.1.1 branch November 15, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants