Unverified Commit 70da4f91 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #187669 from r-ryantm/auto-update/python3.10-pathvalidate

python310Packages.pathvalidate: 2.5.1 -> 2.5.2
parents 300586f2 40819027
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pathvalidate";
  version = "2.5.1";
  disabled = pythonOlder "3.5";
  version = "2.5.2";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-u8J+ZTM1q6eTWireIpliLnapSHvJAEzc8UQc6NL/SlQ=";
    hash = "sha256-X/V9D6vl7Lek8eSVe/61rYq1q0wPpx95xrvCS9m30U0=";
  };

  # Requires `pytest-md-report`, causing infinite recursion.
  doCheck = false;

  pythonImportsCheck = [ "pathvalidate" ];
  pythonImportsCheck = [
    "pathvalidate"
  ];

  meta = with lib; {
    description = "A Python library to sanitize/validate a string such as filenames/file-paths/etc";