pypi bump-my-version 1.6.3

2 hours ago

Compare the full difference.

Fixes

  • Fix: close review gaps in config discovery and file resolution. aff2341

    • recognise POSIX and Windows absolute paths on every platform
    • raise ConfigurationError for non-mapping 'files' entries
    • resolve each filemap key once in files_to_modify
    • use find_repo_root for scm repository_root (git and hg)
    • strengthen symlink tests, add symlinked config case
    • narrow broad pytest.raises(Exception) to ValidationError
  • Fix: don't re-add CLI files already configured; limit '!' handling to glob_exclude. ce16247

  • Fix: compare CLI and configured file paths as resolved paths. f36ef5d

    Also handle '!' glob_exclude negation when rebasing paths, ignore non-mapping
    files entries, simplify config-dir walk, and document discovery and path rules.

Other

  • Test: add docstrings to discovery and resolution tests. 5001ca1

  • Test: use posix paths for resolved filenames and skip '|' path test on Windows. b1a2d20

  • Test: compare resolved filename as Path for Windows separators. ad7b894

  • Test: expect single entry for symlinked cwd. 2635f8e

  • Feat: resolve config through repo parents and anchor file paths to config dir. 276dfc4

    Search parent directories up to the git/hg repo root for a config file (#8).
    Resolve relative filename/glob from the config file's directory and add a
    {repo_root} placeholder (#9).

    Closes #8, closes #9

Don't miss a new bump-my-version release

NewReleases is sending notifications on new releases.