Unverified Commit 41412135 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

fromager: 0.59.0 -> 0.68.1; fix tests (#456645)

parents 61f4f2ab 6f042d66
Loading
Loading
Loading
Loading
+17 −3
Original line number Diff line number Diff line
@@ -2,18 +2,19 @@
  lib,
  python3,
  fetchFromGitHub,
  writableTmpDirAsHomeHook,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "fromager";
  version = "0.59.0";
  version = "0.68.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "python-wheel-build";
    repo = "fromager";
    tag = version;
    hash = "sha256-aKoZKpzgJ3e5JRYSSeLmLlji1Fj8omxvwGZfNXDOhLs=";
    hash = "sha256-7NM8hRsMnnHWxzjwNv/cLIm9iOUsUEzoCwPuFUN8+hk=";
  };

  build-system = with python3.pkgs; [
@@ -39,7 +40,7 @@ python3.pkgs.buildPythonApplication rec {
    stevedore
    tomlkit
    tqdm
    virtualenv
    uv
    wheel
  ];

@@ -47,12 +48,25 @@ python3.pkgs.buildPythonApplication rec {
    pytestCheckHook
    requests-mock
    twine
    uv
    writableTmpDirAsHomeHook
  ];

  pythonImportsCheck = [
    "fromager"
  ];

  disabledTestPaths = [
    # Depends on wheel.cli module that is private since wheel 0.46.0
    "tests/test_wheels.py"
  ];

  disabledTests = [
    # Accessing pypi.org (not allowed in sandbox)
    "test_get_build_backend_dependencies"
    "test_get_build_sdist_dependencies"
  ];

  meta = {
    description = "Wheel maker";
    homepage = "https://pypi.org/project/fromager/";