Unverified Commit 33829a9c authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.simple-parsing: 0.1.7 -> 0.1.8 (#482119)

parents 551bc2a6 23e62e1e
Loading
Loading
Loading
Loading
+20 −10
Original line number Diff line number Diff line
@@ -2,10 +2,11 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # build-system
  poetry-core,
  poetry-dynamic-versioning,
  hatchling,
  uv-dynamic-versioning,

  # dependencies
  docstring-parser,
@@ -25,21 +26,21 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "simple-parsing";
  version = "0.1.7";
  version = "0.1.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "lebrice";
    repo = "SimpleParsing";
    tag = "v${version}";
    hash = "sha256-wHk3osr5CNmA/g9ipLy1dgvJoMy1zE/BAGD9ZATE+tc=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Nsr+I+BoVxockRGQAjG+ushRQ4CtWgkHrg5aVorSrvw=";
  };

  build-system = [
    poetry-core
    poetry-dynamic-versioning
    hatchling
    uv-dynamic-versioning
  ];

  dependencies = [
@@ -81,13 +82,22 @@ buildPythonPackage rec {
    "test_running_example_outputs_expected_without_arg"
    "test_subgroup_partial_with_nested_field"
    "test_weird_docstring_with_field_like"
  ]
  ++ lib.optionals (pythonAtLeast "3.14") [
    # AssertionError ("usagepython314mpytesthmixed..." != "usagepython314mpytesthmixed")
    "test_each_type_is_used_correctly"
    "test_issue_46"
    "test_issue_46_solution2"

    # TypeError: dest= is required for options like '---------'
    "test_pass_invalid_value_to_add_config_path_arg"
  ];

  meta = {
    description = "Simple, Elegant, Typed Argument Parsing with argparse";
    changelog = "https://github.com/lebrice/SimpleParsing/releases/tag/v${version}";
    changelog = "https://github.com/lebrice/SimpleParsing/releases/tag/${finalAttrs.src.tag}";
    homepage = "https://github.com/lebrice/SimpleParsing";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
})