Skip to content

Commit

Permalink
<>[]: <Dependency Update>
Browse files Browse the repository at this point in the history
[
* Rationalize dependencies
* Update with comments from the woke Grazie plugin
]

[]
  • Loading branch information
Humberto Sanchez II committed Mar 10, 2024
1 parent f20932d commit 9a4d0e6
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
pip install attrdict3
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
pip install Deprecated~=1.2.14
pip install codeallybasic==1.1.0
pip install codeallyadvanced==1.1.0
pip install codeallybasic==1.3.0
pip install codeallyadvanced==1.3.1
pip install pyutmodelv2==2.1.5
- run:
name: run tests
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ keywords = ['pyut', 'graphical shapes', 'python',]

dependencies = [
'wxPython~=4.2.1',
'codeallybasic>=1.1.0',
'codeallyadvanced>=1.1.0',
'codeallybasic>=1.3.0',
'codeallyadvanced>=1.3.1',
'pyutmodelv2>=2.1.5',
]

Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
wheel==0.42.0
setuptools==69.0.3
twine==4.0.2
build==1.0.3
setuptools==69.1.1
twine==5.0.0
build==1.1.1
html-testRunner~=1.2.1
pkgversions==0.2.2
# For CirlceCI
buildlackey==1.6.3

mypy==1.8.0
mypy==1.9.0
mypy-extensions==1.0.0
types-Deprecated==1.2.9.20240106
types-setuptools==69.0.0.20240125
typing_extensions==4.9.0
types-setuptools==69.1.0.20240310
typing_extensions==4.10.0
Deprecated==1.2.14

pyutmodelv2==2.1.5
codeallybasic==1.1.0
codeallyadvanced==1.1.0
codeallybasic==1.3.0
codeallyadvanced==1.3.1

wxPython~=4.2.1
6 changes: 3 additions & 3 deletions src/ogl/OglClass.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

MARGIN: int = 10
#
# When I added optional display of constructor and/or dunder methods, I introduced this bug
# When I added optional display of constructor and dunder methods, I introduced this bug
# I'll fix this later
#
HACK_FIX_AUTO_RESIZE: bool = True # TODO: This should be a debug flag
Expand All @@ -64,7 +64,7 @@ class OglClass(OglObject):
You instantiate an OGL class and add it to the diagram.
Links, resizing, are managed by parent class `OglObject`.
For more instructions about how to create an OGL object, please refer
For more instructions about how to create an OGL object, refer
to the `OglObject` class.
"""
def __init__(self, pyutClass: PyutClass | None, w: int = 0, h: int = 0):
Expand Down Expand Up @@ -291,7 +291,7 @@ def _drawClassHeader(self, dc: DC, draw: bool = False, initialX=None, initialY=N
# Init
dc.SetFont(self._defaultFont)
dc.SetTextForeground(self._textColor)
# pyutObject = self.getPyutObject()

x, y = self.GetPosition()
if initialX is not None:
x = initialX
Expand Down
2 changes: 1 addition & 1 deletion src/ogl/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.17'
__version__ = '2.1.20'
2 changes: 1 addition & 1 deletion src/ogl/events/OglEvents.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from wx.lib.newevent import NewEvent

#
# Constructor returns a tuple; First is the event, The second is the binder
# The constructor returns a tuple; The first entry is the event, The second is the binder
#
ShapeSelectedEvent, EVT_SHAPE_SELECTED = NewEvent()
CutOglClassEvent, EVT_CUT_OGL_CLASS = NewEvent()
Expand Down
2 changes: 1 addition & 1 deletion src/ogl/ui/valuecontrols/ClassAttributesControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _setControlValues(self):
"""
self._classDimensions.dimensions = self._preferences.classDimensions

oglColors: List[str] = self._classBackgroundColor.GetItems()
oglColors: List[str] = self._classBackgroundColor.GetItems()
bgColorSelIdx: int = oglColors.index(self._preferences.classBackgroundColor.value)
self._classBackgroundColor.SetSelection(bgColorSelIdx)

Expand Down

0 comments on commit 9a4d0e6

Please sign in to comment.