Skip to content

Commit

Permalink
Merge pull request #306 from pyiron/dependabot/pip/pyiron-base-0.7.5
Browse files Browse the repository at this point in the history
Bump pyiron-base from 0.7.3 to 0.7.5
  • Loading branch information
jan-janssen authored Feb 13, 2024
2 parents 74aef42 + 04acd6d commit c5eb3a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:
- coverage
- codacy-coverage
- ipywidgets =8.1.1
- pyiron_base =0.7.3
- pyiron_base =0.7.5
- pyiron_atomistics =0.4.14
- maggma =0.60.2
- numpy =1.26.3
Expand Down
2 changes: 1 addition & 1 deletion pyiron_gui/project/project_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from pyiron_base import Project as BaseProject
from pyiron_base import HasGroups
from pyiron_base import FileData
from pyiron_base.storage.filedata import FileData
from pyiron_gui.widgets.widgets import WrapingHBox
from pyiron_gui.wrapper.widgets import ObjectWidget, NumpyWidget
from pyiron_gui.wrapper.wrapper import PyironWrapper, BaseWrapper
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
keywords='pyiron',
packages=find_packages(exclude=["*tests*", "*docs*", "*binder*", "*conda*", "*notebooks*", "*.ci_support*"]),
install_requires=[
'pyiron_base==0.7.3',
'pyiron_base==0.7.5',
'pyiron_atomistics==0.4.14',
'ipywidgets==8.1.1',
'matplotlib==3.8.2',
Expand Down
7 changes: 5 additions & 2 deletions tests/project/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ def test_activate_gui(self):
self.assertIsInstance(gui_pr, Project,
msg="activate_gui should return a Project inherited from a pyiron_base Project.")
for attribute in object.__dir__(self.project):
self.assertTrue(hasattr(gui_pr, attribute),
msg=f"GuiProject does not have the {attribute} attribute from the Project.")
try:
self.assertTrue(hasattr(gui_pr, attribute),
msg=f"GuiProject does not have the {attribute} attribute from the Project.")
except ImportError: # some attributes might have additional requirements like conda_environment
pass
self.assertTrue(hasattr(gui_pr, 'browser'), msg="GuiProject does not have the added browser attribute.")
self.assertIsInstance(gui_pr.browser, ProjectBrowser,
msg='The browser attribute should return a ProjectBrowser')
Expand Down

0 comments on commit c5eb3a4

Please sign in to comment.