Unverified Commit 37bc5d9e authored by Kerstin's avatar Kerstin Committed by GitHub
Browse files

weblate: 5.13.3 -> 5.14 (#454952)

parents 036b496b 718707b2
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -16,18 +16,13 @@
let
  python = python3.override {
    packageOverrides = final: prev: {
      # https://github.com/django-crispy-forms/crispy-bootstrap3/issues/12
      django = prev.django_5_1;
      djangorestframework = prev.djangorestframework.overridePythonAttrs (old: {
        # https://github.com/encode/django-rest-framework/discussions/9342
        disabledTests = (old.disabledTests or [ ]) ++ [ "test_invalid_inputs" ];
      });
      django = prev.django_5_2;
    };
  };
in
python.pkgs.buildPythonApplication rec {
  pname = "weblate";
  version = "5.13.3";
  version = "5.14";

  pyproject = true;

@@ -40,7 +35,7 @@ python.pkgs.buildPythonApplication rec {
    owner = "WeblateOrg";
    repo = "weblate";
    tag = "weblate-${version}";
    hash = "sha256-PM5h9RqCMdt0FODE7MoCWv9I+RMFTgjDmSrid59cHOA=";
    hash = "sha256-XIaVM9bsgv6qJ1Q/6wzfO7D04WsUEkxNnJlyLd5+bY4=";
  };

  build-system = with python.pkgs; [ setuptools ];
@@ -68,7 +63,7 @@ python.pkgs.buildPythonApplication rec {
    '';

  pythonRelaxDeps = [
    "rapidfuzz"
    "certifi"
  ];

  dependencies =
+3 −3
Original line number Diff line number Diff line
@@ -13,19 +13,19 @@

buildPythonPackage rec {
  pname = "ahocorasick-rs";
  version = "0.22.2";
  version = "1.0.3";

  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "ahocorasick_rs";
    hash = "sha256-h/J6ZCLb+U7A+f6ErAGI1KZrXHsvX23rFl8MXj25dpw=";
    hash = "sha256-V503Bwp8Idqc2ZiLn7RxKXJztgy0EmWG1tzZn6r8XKU=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-uB3r6+Ewpi4dVke/TsCZltfc+ZABYLOLKuNxw+Jfu/M=";
    hash = "sha256-RfgjO0qffiAZynQ/xChd81L8S0sqTGdWvpHPrz3bKlQ=";
  };

  nativeBuildInputs = with rustPlatform; [
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "crispy_bootstrap3" ];

  # Tests are broken on Django >= 5.1
  # https://github.com/django-crispy-forms/crispy-bootstrap3/issues/12
  doCheck = lib.versionOlder django.version "5.1";

  meta = with lib; {
    description = "Bootstrap 3 template pack for django-crispy-forms";
    homepage = "https://github.com/django-crispy-forms/crispy-bootstrap3";
+2 −2
Original line number Diff line number Diff line
@@ -13,14 +13,14 @@

buildPythonPackage rec {
  pname = "weblate-schemas";
  version = "2025.5";
  version = "2025.6";

  pyproject = true;

  src = fetchPypi {
    pname = "weblate_schemas";
    inherit version;
    hash = "sha256-ZhFF3UD7lX/KXVDZFOn+Gc1w/cpzzVYVrbpVeJ9/wiE=";
    hash = "sha256-Kxu+8CiJ343PmCdY5rSbTqsWmVMLnz9inAH726g5TQQ=";
  };

  build-system = [ setuptools ];