Unverified Commit 44f4e956 authored by TomaSajt's avatar TomaSajt
Browse files

python312Packages.pytest-server-fixtures: 1.7.1 -> 1.7.1-unstable-2022-10-03

parent bc1b3179
Loading
Loading
Loading
Loading
+31 −12
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi
, pytest, pytest-shutil, pytest-fixture-config, psutil
, requests, future, retry }:
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  future,
  psutil,
  pytest,
  pytest-shutil,
  pytest-fixture-config,
  requests,
  retry,
  six,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pytest-server-fixtures";
  version = "1.7.1";
  format = "setuptools";
  inherit (pytest-fixture-config) version src;
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-xecz0gqNDnc8pRPjYOS6JkeVLqlCj6K9BVFsYoHqPOc=";
  };
  sourceRoot = "${src.name}/pytest-server-fixtures";

  build-system = [ setuptools ];

  buildInputs = [ pytest ];
  propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];

  # RuntimeError: Unable to find a free server number to start Xvfb
  dependencies = [
    future
    psutil
    pytest-shutil
    pytest-fixture-config
    requests
    retry
    six
  ];

  # Don't run intergration tests
  doCheck = false;

  meta = with lib; {