Unverified Commit 6e9b53ea authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #306291 from fabaff/dulwich-bump

python312Packages.dulwich: 0.21.7 -> 0.22.1
parents 6a430809 124fc242
Loading
Loading
Loading
Loading
+45 −51
Original line number Diff line number Diff line
{ lib
, stdenv
, buildPythonPackage
, certifi
, fastimport
, fetchPypi
, gevent
, geventhttpclient
, git
, glibcLocales
, gnupg
, gpgme
, paramiko
, pytest-xdist
, pytestCheckHook
, pythonOlder
, urllib3
{
  lib,
  stdenv,
  buildPythonPackage,
  certifi,
  fastimport,
  fetchFromGitHub,
  gevent,
  geventhttpclient,
  git,
  glibcLocales,
  gnupg,
  gpgme,
  paramiko,
  pytest-xdist,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  setuptools-rust,
  urllib3,
}:

buildPythonPackage rec {
  version = "0.21.7";
  pname = "dulwich";
  format = "setuptools";
  version = "0.22.1";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-qenGaDPOpYDDrBKSfkuXEZhddq/KmNqXFAXUFN5g6Wg=";
  src = fetchFromGitHub {
    owner = "jelmer";
    repo = "dulwich";
    rev = "refs/tags/${version}";
    hash = "sha256-bf3ZUMX4afpdTBpFnx0HMyzCNG6V/p4eOl36djxGbtk=";
  };

  LC_ALL = "en_US.UTF-8";
  build-system = [
    setuptools
    setuptools-rust
  ];

  propagatedBuildInputs = [
  dependencies = [
    certifi
    urllib3
  ];

  passthru.optional-dependencies = {
    fastimport = [
      fastimport
    ];
    fastimport = [ fastimport ];
    pgp = [
      gpgme
      gnupg
    ];
    paramiko = [
      paramiko
    ];
    paramiko = [ paramiko ];
  };

  nativeCheckInputs = [
@@ -56,31 +60,18 @@ buildPythonPackage rec {
    glibcLocales
    pytest-xdist
    pytestCheckHook
  ] ++ passthru.optional-dependencies.fastimport
  ++ passthru.optional-dependencies.pgp
  ++ passthru.optional-dependencies.paramiko;
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);

  doCheck = !stdenv.isDarwin;

  disabledTests = [
    # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpsqwlbpd1/\xc0'
    "test_no_decode_encode"
    # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpwmtfyvo2/refs.git/refs/heads/\xcd\xee\xe2\xe0\xff\xe2\xe5\xf2\xea\xe01'
    "test_cyrillic"
    # OSError: [Errno 84] Invalid or incomplete multibyte or wide character: b'/build/tmpfseetobk/test/\xc0'
    "test_commit_no_encode_decode"
  ];

  disabledTestPaths = [
    # missing test inputs
    "dulwich/contrib/test_swift_smoke.py"
    # flaky on high core count >4
    "dulwich/tests/compat/test_client.py"
    # Missing test inputs
    "tests/contrib/test_swift_smoke.py"
    # Import issue
    "tests/test_greenthreads.py"
  ];

  pythonImportsCheck = [
    "dulwich"
  ];
  pythonImportsCheck = [ "dulwich" ];

  meta = with lib; {
    description = "Implementation of the Git file formats and protocols";
@@ -90,7 +81,10 @@ buildPythonPackage rec {
    '';
    homepage = "https://www.dulwich.io/";
    changelog = "https://github.com/jelmer/dulwich/blob/dulwich-${version}/NEWS";
    license = with licenses; [ asl20 gpl2Plus ];
    license = with licenses; [
      asl20
      gpl2Plus
    ];
    maintainers = with maintainers; [ koral ];
  };
}
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@

buildPythonPackage rec {
  pname = "dvc";
  version = "3.50.0";
  version = "3.50.1";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -67,7 +67,7 @@ buildPythonPackage rec {
    owner = "iterative";
    repo = "dvc";
    rev = "refs/tags/${version}";
    hash = "sha256-/MvKWpJzKWLj1+y8nPMQiAwdktmQyJNM+s6ctYNk9u0=";
    hash = "sha256-sY4iU2YdljgpWQXwL8sE424ft0LDjcKf0Q2xZeyv4xs=";
  };

  pythonRelaxDeps = [
+43 −62
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, datasets
, dvc
, dvc-render
, dvc-studio-client
, fastai
, fetchFromGitHub
, funcy
, gto
, jsonargparse
, lightgbm
, lightning
, matplotlib
, mmcv
, numpy
, optuna
, pandas
, pillow
, psutil
, pynvml
, pythonOlder
, ruamel-yaml
, scikit-learn
, scmrepo
, setuptools-scm
, tensorflow
, torch
, transformers
, xgboost
{
  lib,
  buildPythonPackage,
  datasets,
  dvc,
  dvc-render,
  dvc-studio-client,
  fastai,
  fetchFromGitHub,
  funcy,
  gto,
  jsonargparse,
  lightgbm,
  lightning,
  matplotlib,
  mmcv,
  numpy,
  optuna,
  pandas,
  pillow,
  psutil,
  pynvml,
  pythonOlder,
  ruamel-yaml,
  scikit-learn,
  scmrepo,
  setuptools-scm,
  tensorflow,
  torch,
  transformers,
  xgboost,
}:

buildPythonPackage rec {
  pname = "dvclive";
  version = "3.45.0";
  version = "3.46.0";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -41,12 +42,10 @@ buildPythonPackage rec {
    owner = "iterative";
    repo = "dvclive";
    rev = "refs/tags/${version}";
    hash = "sha256-76PjBPr3m1y5osW024dkhuvuXl2FiZ5oxlJ1Ucq8msI=";
    hash = "sha256-yIViKlkCdoG2vSZdScL38fZd9musLRKzBd9wSR6lJdk=";
  };

  build-system = [
    setuptools-scm
  ];
  build-system = [ setuptools-scm ];

  dependencies = [
    dvc
@@ -81,29 +80,17 @@ buildPythonPackage rec {
      numpy
      pillow
    ];
    sklearn = [
      scikit-learn
    ];
    sklearn = [ scikit-learn ];
    plots = [
      pandas
      scikit-learn
      numpy
    ];
    markdown = [
      matplotlib
    ];
    mmcv = [
      mmcv
    ];
    tf = [
      tensorflow
    ];
    xgb = [
      xgboost
    ];
    lgbm = [
      lightgbm
    ];
    markdown = [ matplotlib ];
    mmcv = [ mmcv ];
    tf = [ tensorflow ];
    xgb = [ xgboost ];
    lgbm = [ lightgbm ];
    huggingface = [
      datasets
      transformers
@@ -111,25 +98,19 @@ buildPythonPackage rec {
    # catalyst = [
    #   catalyst
    # ];
    fastai = [
      fastai
    ];
    fastai = [ fastai ];
    lightning = [
      lightning
      torch
      jsonargparse
    ] ++ jsonargparse.optional-dependencies.signatures;
    optuna = [
      optuna
    ];
    optuna = [ optuna ];
  };

  # Circular dependency with dvc
  doCheck = false;

  pythonImportsCheck = [
    "dvclive"
  ];
  pythonImportsCheck = [ "dvclive" ];

  meta = with lib; {
    description = "Library for logging machine learning metrics and other metadata in simple file formats";
+21 −22
Original line number Diff line number Diff line
{ lib
, asyncssh
, buildPythonPackage
, dulwich
, dvc-http
, dvc-objects
, fetchFromGitHub
, fsspec
, funcy
, gitpython
, pathspec
, pygit2
, pygtrie
, pythonOlder
, setuptools
, setuptools-scm
, shortuuid
{
  lib,
  asyncssh,
  buildPythonPackage,
  dulwich,
  dvc-http,
  dvc-objects,
  fetchFromGitHub,
  fsspec,
  funcy,
  gitpython,
  pathspec,
  pygit2,
  pygtrie,
  pythonOlder,
  setuptools,
  setuptools-scm,
  shortuuid,
}:

buildPythonPackage rec {
  pname = "scmrepo";
  version = "3.3.1";
  version = "3.3.2";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -28,7 +29,7 @@ buildPythonPackage rec {
    owner = "iterative";
    repo = "scmrepo";
    rev = "refs/tags/${version}";
    hash = "sha256-swv5uWsyM4mEXlurizUewnbdAOtjWgvzCO9IPfz2ZPE=";
    hash = "sha256-8lKiJCvER4Vg6L11WAykmgg37LWiYMsswS38Dtmb2Rc=";
  };

  build-system = [
@@ -53,9 +54,7 @@ buildPythonPackage rec {
  # Requires a running Docker instance
  doCheck = false;

  pythonImportsCheck = [
    "scmrepo"
  ];
  pythonImportsCheck = [ "scmrepo" ];

  meta = with lib; {
    description = "SCM wrapper and fsspec filesystem";