napari-plugin-manager 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/PKG-INFO +1 -1
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/test_qt_plugin_dialog.py +0 -37
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_version.py +2 -2
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/qt_plugin_dialog.py +1 -2
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager.egg-info/PKG-INFO +1 -1
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.github/dependabot.yml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.github/workflows/deploy_docs.yml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.github/workflows/test_and_deploy.yml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.gitignore +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.pre-commit-config.yaml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/LICENSE +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/Makefile +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/README.md +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/RELEASE.md +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/__init__.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_static/custom.css +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_static/favicon/logo-noborder-180.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_static/favicon/logo-silhouette-192.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_static/favicon/logo-silhouette-dark-light.svg +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_templates/navbar-project.html +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_toc.yml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/conf.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/developers/contributing.md +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/index.md +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/description.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/filter.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/install.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/logo.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/status.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/uninstall.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/images/update.png +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/__init__.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/__init__.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/conftest.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/test_installer_process.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/test_npe2api.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/test_utils.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/npe2api.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/qt_package_installer.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/qt_widgets.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/styles.qss +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/utils.py +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager.egg-info/SOURCES.txt +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager.egg-info/dependency_links.txt +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager.egg-info/requires.txt +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager.egg-info/top_level.txt +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/pyproject.toml +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/setup.cfg +0 -0
- {napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/tox.ini +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import importlib.metadata
|
|
2
2
|
import os
|
|
3
|
-
import platform
|
|
4
3
|
import sys
|
|
5
4
|
from typing import Generator, Optional, Tuple
|
|
6
5
|
from unittest.mock import patch
|
|
@@ -406,12 +405,6 @@ def test_add_items_outdated_and_update(plugin_dialog, qtbot):
|
|
|
406
405
|
assert widget.version.toolTip() == updated_version
|
|
407
406
|
|
|
408
407
|
|
|
409
|
-
@pytest.mark.skipif(
|
|
410
|
-
qtpy.API_NAME.lower().startswith('pyside')
|
|
411
|
-
and sys.version_info[:2] > (3, 10)
|
|
412
|
-
and platform.system() == "Darwin",
|
|
413
|
-
reason='pyside specific bug',
|
|
414
|
-
)
|
|
415
408
|
def test_refresh(qtbot, plugin_dialog):
|
|
416
409
|
with qtbot.waitSignal(plugin_dialog._add_items_timer.timeout, timeout=500):
|
|
417
410
|
plugin_dialog.refresh(clear_cache=False)
|
|
@@ -423,12 +416,6 @@ def test_refresh(qtbot, plugin_dialog):
|
|
|
423
416
|
plugin_dialog._refresh_and_clear_cache()
|
|
424
417
|
|
|
425
418
|
|
|
426
|
-
@pytest.mark.skipif(
|
|
427
|
-
qtpy.API_NAME.lower().startswith('pyside')
|
|
428
|
-
and sys.version_info[:2] > (3, 10)
|
|
429
|
-
and platform.system() == "Darwin",
|
|
430
|
-
reason='pyside specific bug',
|
|
431
|
-
)
|
|
432
419
|
def test_toggle_status(plugin_dialog):
|
|
433
420
|
plugin_dialog.toggle_status(True)
|
|
434
421
|
assert plugin_dialog.stdout_text.isVisible()
|
|
@@ -436,22 +423,10 @@ def test_toggle_status(plugin_dialog):
|
|
|
436
423
|
assert not plugin_dialog.stdout_text.isVisible()
|
|
437
424
|
|
|
438
425
|
|
|
439
|
-
@pytest.mark.skipif(
|
|
440
|
-
qtpy.API_NAME.lower().startswith('pyside')
|
|
441
|
-
and sys.version_info[:2] > (3, 10)
|
|
442
|
-
and platform.system() == "Darwin",
|
|
443
|
-
reason='pyside specific bug',
|
|
444
|
-
)
|
|
445
426
|
def test_exec(plugin_dialog):
|
|
446
427
|
plugin_dialog.exec_()
|
|
447
428
|
|
|
448
429
|
|
|
449
|
-
@pytest.mark.skipif(
|
|
450
|
-
qtpy.API_NAME.lower().startswith('pyside')
|
|
451
|
-
and sys.version_info[:2] > (3, 10)
|
|
452
|
-
and platform.system() == "Darwin",
|
|
453
|
-
reason='pyside specific bug',
|
|
454
|
-
)
|
|
455
430
|
def test_search_in_available(plugin_dialog):
|
|
456
431
|
idxs = plugin_dialog._search_in_available("test")
|
|
457
432
|
assert idxs == [0, 1, 2, 3]
|
|
@@ -474,9 +449,6 @@ def test_drop_event(plugin_dialog, tmp_path):
|
|
|
474
449
|
assert plugin_dialog.direct_entry_edit.text() == str(path_1)
|
|
475
450
|
|
|
476
451
|
|
|
477
|
-
@pytest.mark.skipif(
|
|
478
|
-
qtpy.API_NAME.lower().startswith('pyside'), reason='pyside specific bug'
|
|
479
|
-
)
|
|
480
452
|
def test_installs(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
481
453
|
if "[constructor]" in request.node.name:
|
|
482
454
|
pytest.skip(
|
|
@@ -497,9 +469,6 @@ def test_installs(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
|
497
469
|
qtbot.wait(5000)
|
|
498
470
|
|
|
499
471
|
|
|
500
|
-
@pytest.mark.skipif(
|
|
501
|
-
qtpy.API_NAME.lower().startswith('pyside'), reason='pyside specific bug'
|
|
502
|
-
)
|
|
503
472
|
def test_cancel(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
504
473
|
if "[constructor]" in request.node.name:
|
|
505
474
|
pytest.skip(
|
|
@@ -522,9 +491,6 @@ def test_cancel(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
|
522
491
|
assert plugin_dialog.installed_list.count() == 2
|
|
523
492
|
|
|
524
493
|
|
|
525
|
-
@pytest.mark.skipif(
|
|
526
|
-
qtpy.API_NAME.lower().startswith('pyside'), reason='pyside specific bug'
|
|
527
|
-
)
|
|
528
494
|
def test_cancel_all(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
529
495
|
if "[constructor]" in request.node.name:
|
|
530
496
|
pytest.skip(
|
|
@@ -545,9 +511,6 @@ def test_cancel_all(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
|
545
511
|
assert plugin_dialog.installed_list.count() == 2
|
|
546
512
|
|
|
547
513
|
|
|
548
|
-
@pytest.mark.skipif(
|
|
549
|
-
qtpy.API_NAME.lower().startswith('pyside'), reason='pyside specific bug'
|
|
550
|
-
)
|
|
551
514
|
def test_direct_entry_installs(qtbot, tmp_virtualenv, plugin_dialog, request):
|
|
552
515
|
if "[constructor]" in request.node.name:
|
|
553
516
|
pytest.skip(
|
|
@@ -17,7 +17,6 @@ from napari._qt.widgets.qt_tooltip import QtToolTipLabel
|
|
|
17
17
|
from napari.plugins.utils import normalized_name
|
|
18
18
|
from napari.settings import get_settings
|
|
19
19
|
from napari.utils.misc import (
|
|
20
|
-
StringEnum,
|
|
21
20
|
parse_version,
|
|
22
21
|
running_as_constructor_app,
|
|
23
22
|
)
|
|
@@ -105,7 +104,7 @@ class PluginListItem(QFrame):
|
|
|
105
104
|
author, source, version, and buttons to update, install/uninstall, etc."""
|
|
106
105
|
|
|
107
106
|
# item, package_name, action_name, version, installer_choice
|
|
108
|
-
actionRequested = Signal(QListWidgetItem, str,
|
|
107
|
+
actionRequested = Signal(QListWidgetItem, str, object, str, object)
|
|
109
108
|
|
|
110
109
|
def __init__(
|
|
111
110
|
self,
|
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.github/workflows/deploy_docs.yml
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/.github/workflows/test_and_deploy.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/docs/_templates/navbar-project.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/__init__.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/__init__.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/_tests/conftest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/npe2api.py
RENAMED
|
File without changes
|
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/qt_widgets.py
RENAMED
|
File without changes
|
{napari_plugin_manager-0.1.2 → napari_plugin_manager-0.1.3}/napari_plugin_manager/styles.qss
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|