Unverified Commit 73bc9bc7 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #174241 from r-ryantm/auto-update/python3.10-pip-tools

python310Packages.pip-tools: 6.6.1 -> 6.6.2
parents 70550b87 6d3a164c
Loading
Loading
Loading
Loading
+29 −20
Original line number Diff line number Diff line
{ lib
, fetchPypi
, pythonOlder
, stdenv
, buildPythonPackage
, click
, fetchPypi
, pep517
, pip
, pytestCheckHook
, pytest-xdist
, click
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
, pep517
, stdenv
, wheel
}:

buildPythonPackage rec {
  pname = "pip-tools";
  version = "6.6.1";
  version = "6.6.2";
  format = "setuptools";

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-Y04+jUcHJXwAQxPRap1sFMHOlNPA+h+Tw40mRAHy5PI=";
    hash = "sha256-9jhQOp932Y2afXJYSxUI0/gu0Bm4+rJPTlrQeMG4yV4=";
  };

  checkInputs = [
    pytestCheckHook
    pytest-xdist
  ];

  preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
    # https://github.com/python/cpython/issues/74570#issuecomment-1093748531
    export no_proxy='*';
  '';

  nativeBuildInputs = [
    setuptools-scm
  ];
@@ -40,14 +33,30 @@ buildPythonPackage rec {
    click
    pep517
    pip
    setuptools
    wheel
  ];

  checkInputs = [
    pytest-xdist
    pytestCheckHook
  ];

  preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
    # https://github.com/python/cpython/issues/74570#issuecomment-1093748531
    export no_proxy='*';
  '';

  disabledTests = [
    # these want internet access
    # Tests require network access
    "network"
    "test_direct_reference_with_extras"
  ];

  pythonImportsCheck = [
    "piptools"
  ];

  meta = with lib; {
    description = "Keeps your pinned dependencies fresh";
    homepage = "https://github.com/jazzband/pip-tools/";