Skip to content

Releases: bw2/ConfigArgParse

1.7.5

11 Mar 02:21
@bw2 bw2

Choose a tag to compare

Slightly simplified PyPI deployment workflow via setuptools-scm

1.7.4

10 Mar 23:26
@bw2 bw2
d798e3a

Choose a tag to compare

Bug Fixes

  • Fix environment variables being ignored when using subparsers (#350). The _find_insertion_index() method now detects subparser commands and inserts env var / config file args before the subcommand, so the parent parser processes them correctly.

Improvements

  • Add input validation to ArgumentParser.init() with clear error messages (#349):
    • config_file_parser_class must be a ConfigFileParser subclass (or instance); suggests formatter_class if wrong type is passed
    • formatter_class validates it's a HelpFormatter subclass; suggests config_file_parser_class if swapped
    • default_config_files, args_for_setting_config_path, and args_for_writing_out_config_file must be lists/tuples, not strings
    • config_file_open_func must be callable

Docs

  • Convert README from reStructuredText to Markdown (#347, #348)

1.7.3

08 Mar 06:49
@bw2 bw2

Choose a tag to compare

Bug fixes and Python 3.11+ tomllib support

Bug Fixes

  • Fix TOML parser to read all matching sections instead of only the first (#346)
  • Fix SyntaxError leak from ast.literal_eval in INI-style config parsers (#345)
  • Fix -- separator, nargs=REMAINDER, and empty value handling (#344)
  • Fix critical bugs and add Python 3.11+ tomllib support (#340)

Other

  • Remove dead comment-processing code in default config parser
  • Add test status badge to README
  • CI, linting, and test improvements

1.7.1

23 May 15:11
@bw2 bw2
83d1f2f

Choose a tag to compare

The primary purpose of this release is to fix the package metadata on supported python versions.

1.7

23 Jul 16:18
@bw2 bw2

Choose a tag to compare

1.7
added several missed global variables from the argparse module

1.5.7

23 Jul 16:16
@bw2 bw2

Choose a tag to compare

added several missed global variables from the argparse module

1.5.5

27 Jun 20:30
@bw2 bw2

Choose a tag to compare

fixed 'publish' step

1.5.3

03 Oct 23:08
@bw2 bw2

Choose a tag to compare

v1.5.3

bump version

1.5.2

06 Aug 19:14
@bw2 bw2

Choose a tag to compare

update version

1.3

14 Feb 23:17
@bw2 bw2

Choose a tag to compare

1.3
release v1.3