From 753a2803ecf7861aeebc8931cfc109adcff29138 Mon Sep 17 00:00:00 2001 From: Humberto Sanchez II Date: Wed, 25 Dec 2024 12:39:31 -0700 Subject: [PATCH] [Logging]: [ * Get all the latest dependencies * Clean up the log file * ] [] --- .circleci/config.yml | 10 +++++----- pyut/resources/loggingConfiguration.json | 5 ----- pyut/ui/main/PyutApplicationFrame.py | 2 +- pyut/ui/main/PyutUI.py | 3 +-- requirements.txt | 14 +++++++------- setup.py | 8 ++++---- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 556be714..64045ba5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,12 +33,12 @@ jobs: pip install -v -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython pip install semantic-version==2.10.0 pip install PyGithub==2.4.0 - pip install codeallybasic==1.7.0 - pip install codeallyadvanced==1.3.2 + pip install codeallybasic==1.8.1 + pip install codeallyadvanced==1.3.3 pip install pyutmodelv2==2.2.0 - pip install ogl==3.6.0 - pip install oglio==2.3.3 - pip install pyutplugins==3.1.1 + pip install ogl==3.6.1 + pip install oglio==2.3.4 + pip install pyutplugins==3.1.6 pip install html-testRunner==1.2.1 pip install buildlackey==1.7.0 - run: diff --git a/pyut/resources/loggingConfiguration.json b/pyut/resources/loggingConfiguration.json index 68855dfe..a4f5797e 100644 --- a/pyut/resources/loggingConfiguration.json +++ b/pyut/resources/loggingConfiguration.json @@ -46,11 +46,6 @@ "level": "INFO", "propagate": "False", "handlers": ["rotatingFileHandler"] - }, - "pyut.ui.eventengine.EventEngine": { - "level": "DEBUG", - "propagate": "False", - "handlers": ["consoleHandler"] } } } \ No newline at end of file diff --git a/pyut/ui/main/PyutApplicationFrame.py b/pyut/ui/main/PyutApplicationFrame.py index 45da352e..254dee1b 100644 --- a/pyut/ui/main/PyutApplicationFrame.py +++ b/pyut/ui/main/PyutApplicationFrame.py @@ -351,7 +351,7 @@ def _onActivate(self, event: ActivateEvent): Args: event: """ - self.logger.info(f'_onActivate event: {event.GetActive()}') + self.logger.debug(f'_onActivate event: {event.GetActive()=}') if self._tipAlreadyDisplayed is True: pass else: diff --git a/pyut/ui/main/PyutUI.py b/pyut/ui/main/PyutUI.py index e600b5d6..065ef77d 100644 --- a/pyut/ui/main/PyutUI.py +++ b/pyut/ui/main/PyutUI.py @@ -258,10 +258,9 @@ def handleUnsavedProjects(self): def closeDefaultEmptyProject(self): - self.logger.info(f'Remove the default project') - defaultProject: IPyutProject = self._projectManager.getProject(PyutConstants.DEFAULT_PROJECT_NAME) if defaultProject is not None: + self.logger.info(f'Removing the default project') self._closeProject(projectToClose=defaultProject) def showFrame(self, frame: UmlDiagramsFrame): diff --git a/requirements.txt b/requirements.txt index 7f3718df..0b74ed0e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,16 +13,16 @@ buildlackey==1.7.0 # versionoverlord==1.4.0 html-testRunner~=1.2.1 -mypy==1.13.0 +mypy==1.14.0 mypy-extensions==1.0.0 types-Deprecated==1.2.9.20240311 wxPython==4.2.2 semantic-version==2.10.0 -codeallybasic==1.7.0 -codeallyadvanced==1.3.2 -pyutmodelv2==2.2.0 -ogl==3.6.0 -oglio==2.3.3 -pyutplugins==3.1.1 +codeallybasic==1.8.1 +codeallyadvanced==1.3.3 +pyutmodelv2==2.2.2 +ogl==3.6.1 +oglio==2.3.4 +pyutplugins==3.1.6 diff --git a/setup.py b/setup.py index 2624f121..a50a7fd5 100644 --- a/setup.py +++ b/setup.py @@ -77,12 +77,12 @@ ), setup_requires=['py2app'], install_requires=[ - 'codeallybasic>=1.7.0', + 'codeallybasic>=1.8.1', 'codeallyadvanced>=1.3.2', 'pyutmodelv2>=2.2.0', - 'ogl>=3.6.0', - 'oglio>=2.3.3', - 'pyutplugins>=3.1.1', + 'ogl>=3.6.1', + 'oglio>=2.3.4', + 'pyutplugins>=3.1.6', 'semantic-version==2.10.0', 'PyGithub==2.4.0', 'wxPython==4.2.2',