Unverified Commit d832397c authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

python3.pkgs.pyrate-limiter: 3.9.0 -> 4.0.2 (#488256)

parents 2bf85d42 93893fb7
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -2,12 +2,4 @@
  python3,
}:

let
  python = python3.override {
    self = python3;
    packageOverrides = self: super: {
      pyrate-limiter = super.pyrate-limiter_2;
    };
  };
in
python.pkgs.toPythonApplication python.pkgs.beets-minimal
python3.pkgs.toPythonApplication python3.pkgs.beets-minimal
+1 −9
Original line number Diff line number Diff line
@@ -2,12 +2,4 @@
  python3,
}:

let
  python = python3.override {
    self = python3;
    packageOverrides = self: super: {
      pyrate-limiter = super.pyrate-limiter_2;
    };
  };
in
python.pkgs.toPythonApplication python.pkgs.beets
python3.pkgs.toPythonApplication python3.pkgs.beets
+15 −11
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  python3Packages,
  withTeXLive ? true,
  texliveSmall,
}:
python3Packages.buildPythonApplication (finalAttrs: {
  pname = "cgt-calc";
  version = "1.14.0";
  # Includes updates to use pyrate-limiter v4 that are not released yet
  # unfortunately.
  version = "1.14.0-unstable-2026-02-23";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "KapJI";
    repo = "capital-gains-calculator";
    rev = "v${finalAttrs.version}";
    rev = "3326514c8e99904eeeda676948c4404da6fe1adc";
    hash = "sha256-6iOlDNlpfCrbRCxEJsRYw6zqOehv/buVN+iU6J6CtIk=";
  };

  patches = [
    # https://github.com/KapJI/capital-gains-calculator/pull/715
    (fetchpatch {
      url = "https://github.com/KapJI/capital-gains-calculator/commit/ec7155c1256b876d5906a3885656489e9fdd798c.patch";
      hash = "sha256-pfGHSKuDRF0T1hP7kpRC285limd1voqLXcXCP7mAD3s=";
    })
  ];

  pythonRelaxDeps = [
    # The built wheel holds an upper bound requirement for the version of these
    # dependenceis, while pyproject.toml doesn't. Upstream's `uv.lock` even
    # uses yfinance 1.2.0 . See:
    # https://github.com/KapJI/capital-gains-calculator/pull/744
    "defusedxml"
    "yfinance"
  ];
  pythonRemoveDeps = [
    # Upstream's uv.lock doesn't reference this dependency, and lists
    # pyrate-limiter instead. The built wheel from some reason requests it
    # never the less.
    "requests-ratelimiter"
  ];

  build-system = with python3Packages; [
+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  buildPythonPackage,

  # build-system
  hatchling,
  uv-build,

  # native
  beets-minimal,
@@ -20,18 +20,18 @@

buildPythonPackage rec {
  pname = "beets-audible";
  version = "1.2.1";
  version = "1.3.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Neurrone";
    repo = "beets-audible";
    tag = "v${version}";
    hash = "sha256-uQNF04BK87vN5Ak3g05rS8+LQLxsNEncgz4oKhNidWI=";
    hash = "sha256-JijKKbceQejpOFIjrpoWRt6qlwBA6Yr8dwVTHyM7Io8=";
  };

  build-system = [
    hatchling
    uv-build
  ];

  nativeBuildInputs = [
+2 −2
Original line number Diff line number Diff line
@@ -11,14 +11,14 @@

buildPythonPackage rec {
  pname = "psnawp";
  version = "3.0.1";
  version = "3.0.2";
  pyproject = true;

  src = fetchFromCodeberg {
    owner = "YoshikageKira";
    repo = "psnawp";
    tag = "v${version}";
    hash = "sha256-qENKZC5U4jedl2RvmIGk52r0Vd/oMLEcp6DERYLctAs=";
    hash = "sha256-RpJYQNG9+N5XUOIySOZvVLCT6kiLYGaq0Lt8CTLRvBA=";
  };

  build-system = [ poetry-core ];
Loading