napari-plugin-manager 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl

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.
@@ -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(
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.1.2'
16
- __version_tuple__ = version_tuple = (0, 1, 2)
15
+ __version__ = version = '0.1.3'
16
+ __version_tuple__ = version_tuple = (0, 1, 3)
@@ -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, StringEnum, str, StringEnum)
107
+ actionRequested = Signal(QListWidgetItem, str, object, str, object)
109
108
 
110
109
  def __init__(
111
110
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: napari-plugin-manager
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Install plugins for napari, in napari.
5
5
  Author-email: napari team <napari-steering-council@googlegroups.com>
6
6
  License: BSD 3-Clause License
@@ -1,8 +1,8 @@
1
1
  napari_plugin_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- napari_plugin_manager/_version.py,sha256=SFCDdrYA67D1Je-jHgVVh4LOopkPvuV6NMtqSJ7Tfhg,411
2
+ napari_plugin_manager/_version.py,sha256=L5DCMp1QAlSqy-8bW7d51bLubTxNjZGYc5fMQkb752U,411
3
3
  napari_plugin_manager/npe2api.py,sha256=lpanAxjpvEfGkHwTwVXmTSXWlMrjBxHOJ-p_-LbTW2o,4093
4
4
  napari_plugin_manager/qt_package_installer.py,sha256=WPZZY3BQxH1OHm2-TBLf0-brzqV7Wh_Gnwk9hwFPmtQ,21454
5
- napari_plugin_manager/qt_plugin_dialog.py,sha256=R2oPapmCdr0HHf3LZDcjKgbWeUFpaR7D3BlrciyI7hg,57035
5
+ napari_plugin_manager/qt_plugin_dialog.py,sha256=w0XV8hap-FsjZ75ZX6gfqREIf0T803sV1pAkAy5IqK8,57011
6
6
  napari_plugin_manager/qt_widgets.py,sha256=O8t5CbN8r_16cQzshyjvhTEYdUcj7OX0-bfYIiN2uSs,356
7
7
  napari_plugin_manager/styles.qss,sha256=9ODPba2IorJybWObWoEO9VGq4AO0IYlAa8brN14tgZU,7379
8
8
  napari_plugin_manager/utils.py,sha256=wG_lGPaMmbfyH-q7oTWDYSI2iAKiZ3cqxyjlRlbvFJo,753
@@ -10,10 +10,10 @@ napari_plugin_manager/_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
10
10
  napari_plugin_manager/_tests/conftest.py,sha256=OvzenfBP2oIS6x8ksr9FhPXdsLV3Q_3Kzr6PRJe45Uc,1885
11
11
  napari_plugin_manager/_tests/test_installer_process.py,sha256=fgO8OwYcCAz-OlGT_1G_eb4B69DPbnQdzjCrwTIeCpE,10523
12
12
  napari_plugin_manager/_tests/test_npe2api.py,sha256=_YPo4jaA9cZ9OeeXn8HMJzijQ7OoWXnSiEN81NEzvhI,1031
13
- napari_plugin_manager/_tests/test_qt_plugin_dialog.py,sha256=GMQjSWFr_Z-mc47nLNcHowR_hNWc2SkKGhqAqJDXZPs,18866
13
+ napari_plugin_manager/_tests/test_qt_plugin_dialog.py,sha256=vNSDc7ouNPjhtrfEuhGoHQwlxEDwissuqLxu8SR1rv0,17722
14
14
  napari_plugin_manager/_tests/test_utils.py,sha256=7EilxmDkRjU6UO2AnaqyYovdAs18D0ZA5GCVGN62-3M,720
15
- napari_plugin_manager-0.1.2.dist-info/LICENSE,sha256=8dAlKbOqTMYe9L-gL_kEx5Xr1Sd0AbaWQDUkpiOp3vI,1506
16
- napari_plugin_manager-0.1.2.dist-info/METADATA,sha256=gJ0PPHYmsRpdBmLr3UMdxqvyI-C60pKY8A8qV0U8DSs,11967
17
- napari_plugin_manager-0.1.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
18
- napari_plugin_manager-0.1.2.dist-info/top_level.txt,sha256=pmCqLetuumhY1CKSuTZ5eQsitzazrSvc7V_mkugEPTY,22
19
- napari_plugin_manager-0.1.2.dist-info/RECORD,,
15
+ napari_plugin_manager-0.1.3.dist-info/LICENSE,sha256=8dAlKbOqTMYe9L-gL_kEx5Xr1Sd0AbaWQDUkpiOp3vI,1506
16
+ napari_plugin_manager-0.1.3.dist-info/METADATA,sha256=uRgMXcB0CJIWR6-CdvHkqX7Yt9syC_Xp9p2tNXsbAv0,11967
17
+ napari_plugin_manager-0.1.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
18
+ napari_plugin_manager-0.1.3.dist-info/top_level.txt,sha256=pmCqLetuumhY1CKSuTZ5eQsitzazrSvc7V_mkugEPTY,22
19
+ napari_plugin_manager-0.1.3.dist-info/RECORD,,