Unverified Commit a8c466e3 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #325963 from eclairevoyant/py-llm-fix

treewide: remove uses of `python3` within the python package set
parents f1d1a7b4 bedf04b1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
  packaging,
  pathspec,
  protobuf,
  python3,
  python,
  pythonOlder,
  pytz,
  pyyaml,
@@ -85,7 +85,7 @@ buildPythonPackage rec {
  doCheck = false;

  passthru = {
    withAdapters = python3.pkgs.callPackage ./with-adapters.nix { };
    withAdapters = python.pkgs.callPackage ./with-adapters.nix { };
  };

  meta = with lib; {
+2 −2
Original line number Diff line number Diff line
{
  python3,
  python,
  dbt-bigquery,
  dbt-core,
  dbt-postgres,
@@ -17,7 +17,7 @@ let
  };
in
adapterFun:
(python3.buildEnv.override {
(python.buildEnv.override {
  extraLibs = [ dbt-core ] ++ (adapterFun adapters);
  ignoreCollisions = true;
}).overrideAttrs
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  python3,
  python,
  pythonOlder,
  django,
  hatchling,
@@ -38,7 +38,7 @@ buildPythonPackage {

  checkPhase = ''
    runHook preCheck
    ${python3.interpreter} manage.py test testapp
    ${python.interpreter} manage.py test testapp
    runHook postCheck
  '';

+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  icu,
  pkg-config,
  fetchFromGitHub,
  python3,
  python,
  openblas,
  zlib,
  gfortran,
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [
    pkg-config
    python3
    python
    gfortran
  ];

+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
  django,
  fetchFromGitHub,
  flit-core,
  python3,
}:

buildPythonPackage rec {
Loading