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

This commit is contained in:
Fabian Affolter 2024-10-13 09:36:29 +02:00 committed by GitHub
commit 8528157fb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 35 additions and 28 deletions

View File

@ -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 = [

View File

@ -1,37 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pytestCheckHook,
typing-extensions,
qtpy,
pyside2,
psygnal,
docstring-parser,
fetchFromGitHub,
hatch-vcs,
hatchling,
napari, # a reverse-dependency, for tests
psygnal,
pyside2,
pytestCheckHook,
pythonOlder,
superqt,
typing-extensions,
}:
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 ];
};

View File

@ -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";
};
}

View File

@ -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"
'';