Unverified Commit 20eb58b2 authored by Jon Seager's avatar Jon Seager Committed by GitHub
Browse files

snapcraft: pin Python 3.12 (#414493)

parents 94bb902c 1ec5ab7f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@
  lib,
  makeWrapper,
  nix-update-script,
  python3Packages,
  python312Packages,
  squashfsTools,
  cacert,
  stdenv,
  writableTmpDirAsHomeHook,
}:

python3Packages.buildPythonApplication rec {
python312Packages.buildPythonApplication rec {
  pname = "snapcraft";
  version = "8.9.2";

@@ -58,7 +58,7 @@ python3Packages.buildPythonApplication rec {

  nativeBuildInputs = [ makeWrapper ];

  dependencies = with python3Packages; [
  dependencies = with python312Packages; [
    attrs
    catkin-pkg
    click
@@ -102,7 +102,7 @@ python3Packages.buildPythonApplication rec {
    validators
  ];

  build-system = with python3Packages; [ setuptools-scm ];
  build-system = with python312Packages; [ setuptools-scm ];

  pythonRelaxDeps = [
    "click"
@@ -125,7 +125,7 @@ python3Packages.buildPythonApplication rec {
  '';

  nativeCheckInputs =
    with python3Packages;
    with python312Packages;
    [
      pytest-check
      pytest-cov-stub