Unverified Commit 23f1db63 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

matrix-synapse-unwrapped: allow setuptools_rust 1.12

Matrix has a strict upper bound as a precaution to avoid spurious build
and runtime issues, but the diff[1] looks safe enough for an upgrade.

[1] https://github.com/PyO3/setuptools-rust/compare/v1.11.1...v1.12.0
parent 3fbcbb33
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-qpgDErV1VVzaUHHQX4ReXCPihdrSKI/4HtbDeQIblR8=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools_rust>=1.3,<=1.11.1" "setuptools_rust<=1.12,>=1.3"
  '';

  build-system = with python3Packages; [
    poetry-core
    setuptools-rust