Unverified Commit 8528157f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.app-model: 0.2.8 -> 0.3.0 (#342707)

parents bf494b0a fb0586c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

buildPythonPackage rec {
  pname = "app-model";
  version = "0.2.8";
  version = "0.3.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
    owner = "pyapp-kit";
    repo = "app-model";
    rev = "refs/tags/v${version}";
    hash = "sha256-vGSFo2ZckIDI3TjBSTKZagTEYdILt1/5Wyws3P7FNiQ=";
    hash = "sha256-PvQ9l2sCi1NaF/SWApWqt6a5AHI5A+zmJRo8gR3ng6Y=";
  };

  build-system = [
+23 −13
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  docstring-parser,
  fetchFromGitHub,
  setuptools-scm,
  hatch-vcs,
  hatchling,
  napari, # a reverse-dependency, for tests
  psygnal,
  pyside2,
  pytestCheckHook,
  pythonOlder,
  superqt,
  typing-extensions,
  qtpy,
  pyside2,
  psygnal,
  docstring-parser,
  napari, # a reverse-dependency, for tests
}:

buildPythonPackage rec {
  pname = "magicgui";
  version = "0.5.1";
  version = "0.9.1";
  pyproject = true;

  format = "pyproject";
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "napari";
    owner = "pyapp-kit";
    repo = "magicgui";
    rev = "refs/tags/v${version}";
    hash = "sha256-fVfBQaaT8/lUGqZRXjOPgvkC01Izb8Sxqn7RCqnW9bo=";
    hash = "sha256-6ye29HtGQ8iwYE2kQ1wWIBC+bzFsMZmJR4eTXWwu7+U=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  propagatedBuildInputs = [
  build-system = [
    hatch-vcs
    hatchling
  ];

  dependencies = [
    typing-extensions
    qtpy
    superqt
    pyside2
    psygnal
    docstring-parser
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  doCheck = false; # Reports "Fatal Python error"
@@ -43,6 +52,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Build GUIs from python functions, using magic.  (napari/magicgui)";
    homepage = "https://github.com/napari/magicgui";
    changelog = "https://github.com/pyapp-kit/magicgui/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ SomeoneSerge ];
  };
+6 −9
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

buildPythonPackage rec {
  pname = "napari-npe2";
  version = "0.7.2-unstable-2023-10-20";
  version = "0.7.7";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -27,19 +27,16 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "napari";
    repo = "npe2";
    rev = "9d29e4d6dbbec75c2d36273647efd9ddfb59ded0";
    hash = "sha256-JLu/5pXijPdpKY2z2rREtSKPiP33Yy4viegbxUiQg7Y=";
    rev = "refs/tags/v${version}";
    hash = "sha256-HjMf5J1n5NKqtunRQ7cqZiTZMTNmcq5j++O03Sxwvqw=";
  };

  # fix this in the next release
  env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.7.2";

  nativeBuildInputs = [
  build-system = [
    hatchling
    hatch-vcs
  ];

  propagatedBuildInputs = [
  dependencies = [
    appdirs
    build
    magicgui
@@ -59,9 +56,9 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Plugin system for napari (the image visualizer)";
    mainProgram = "npe2";
    homepage = "https://github.com/napari/npe2";
    license = licenses.bsd3;
    maintainers = with maintainers; [ SomeoneSerge ];
    mainProgram = "npe2";
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@

mkDerivationWith buildPythonPackage rec {
  pname = "napari";
  version = "0.4.19.post1";
  version = "0.5.4";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -49,11 +49,11 @@ mkDerivationWith buildPythonPackage rec {
    owner = "napari";
    repo = "napari";
    rev = "refs/tags/v${version}";
    hash = "sha256-qw5WdFPySNkmm+dNu+hqsmr+csBpHnSl9bMpb4nKEqI=";
    hash = "sha256-wJifLRrHlDzPgBU7OOPqjdzYpr9M+Klc+yAc/IpyZN8=";
  };

  postPatch = ''
    substituteInPlace setup.cfg \
    substituteInPlace pyproject.toml \
      --replace-fail "scikit-image[data]>=0.19.1" "scikit-image"
  '';