Commit 38c8f971 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.packvers: disable failing test

parent 86949ce0
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -6,23 +6,26 @@
  pyparsing,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "packvers";
  version = "21.5";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "nexB";
    repo = pname;
    repo = "packvers";
    rev = "refs/tags/${version}";
    hash = "sha256-nCSYL0g7mXi9pGFt24pOXbmmYsaRuB+rRZrygf8DTLE=";
  };

  propagatedBuildInputs = [ pyparsing ];
  build-system = [ setuptools ];

  dependencies = [ pyparsing ];

  nativeCheckInputs = [
    pretend
@@ -31,9 +34,14 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "packvers" ];

  disabledTests = [
    # Failed: DID NOT RAISE <class 'packvers.requirements.InvalidRequirement'>
    "test_invalid_file_urls"
  ];

  meta = with lib; {
    description = "Module for version handling of modules";
    homepage = "https://github.com/nexB/dparse2";
    homepage = "https://github.com/aboutcode-org/packvers";
    changelog = "https://github.com/nexB/packvers/blob/${version}/CHANGELOG.rst";
    license = with licenses; [
      asl20 # and