Skip to content

Commit 1d1dc02

Browse files
author
Humberto Sanchez II
committed
<>[]: <Bump Dependencies>
[ * Bump PyutModel and Ogl * Type on XML * Use new buildlackey unit test discovery * Use non pyproject.toml version of buildlackey ] []
1 parent 70f050a commit 1d1dc02

File tree

7 files changed

+17
-185
lines changed

7 files changed

+17
-185
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
3636
pip install codeallybasic==0.5.2
3737
pip install codeallyadvanced==0.5.2
38-
pip install ogl==0.90.3
38+
pip install ogl==1.0.0
3939
pip install untangle==1.2.1
4040
pip install buildlackey==1.3.3
4141
- run:
4242
name: run tests
4343
command: |
44-
runtests
44+
unittests -s .

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
wheel==0.41.2
2-
setuptools==68.2.2
1+
wheel==0.41.3
2+
setuptools==69.0.2
33
twine==4.0.2
44
build==1.0.3
55
html-testRunner~=1.2.1
66

7-
buildlackey==1.3.3
7+
buildlackey==1.6.0
88

9-
mypy==1.5.1
9+
mypy==1.7.1
1010
mypy-extensions==1.0.0
1111
types-Deprecated==1.2.9.3
12-
types-setuptools==68.2.0.0
12+
types-setuptools==68.2.0.2
1313
typing_extensions==4.8.0
1414

1515
Deprecated~=1.2.14
@@ -20,5 +20,5 @@ wxPython==4.2.1
2020
codeallybasic==0.5.2
2121
codeallyadvanced==0.5.2
2222

23-
pyutmodel==1.5.0
24-
ogl==0.90.3
23+
pyutmodel==1.5.1
24+
ogl==1.0.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
'untanglepyut': ['py.typed'],
2525
},
2626

27-
install_requires=['codeallybasic==0.5.2', 'codeallyadvanced==0.5.2', 'pyutmodel==1.5.0', 'ogl==0.90.3', 'untangle==1.2.1'],
27+
install_requires=['codeallybasic==0.5.2', 'codeallyadvanced==0.5.2', 'pyutmodel==1.5.1', 'ogl==1.0.0', 'untangle==1.2.1'],
2828
)

tests/TestAll.py

Lines changed: 0 additions & 169 deletions
This file was deleted.

tests/untanglepyut/v11/TestUnTanglePyut.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
V11_SOURCE_PYUT_CLASS: str = """
8181
<OglClass width="78" height="44" x="150" y="150">
82-
<PyutClass id="1" name="Folder" stereotype="noStereotype" displayMethods="True" displayParameters="Unspecified" displayFields="True" displayStereotype="True" description="", fileName="">
82+
<PyutClass id="1" name="Folder" stereotype="noStereotype" displayMethods="True" displayParameters="Unspecified" displayFields="True" displayStereotype="True" description="" fileName="">
8383
<PyutField name="permissions" visibility="PRIVATE" type="" defaultValue="" />
8484
</PyutClass>
8585
</OglClass>
@@ -166,7 +166,7 @@ def setUpClass(cls):
166166

167167
def setUp(self):
168168
super().setUp()
169-
169+
170170
def tearDown(self):
171171
super().tearDown()
172172

@@ -198,8 +198,8 @@ def testPyutClass(self):
198198
self._checkFields(pyutClass=pyutClass)
199199

200200
def testPyutLinks(self):
201-
sourcePyutClass: PyutClass = self._getPyutClass(rawXml=V11_SOURCE_PYUT_CLASS)
202201
destinationPyutClass: PyutClass = self._getPyutClass(rawXml=V11_DESTINATION_PYUT_CLASS)
202+
sourcePyutClass: PyutClass = self._getPyutClass(rawXml=V11_SOURCE_PYUT_CLASS)
203203

204204
rootElement: Element = parse(V11_PYUT_LINK)
205205
pyutLinkElement: Element = rootElement.PyutLink
@@ -326,8 +326,8 @@ def _getPyutClass(self, rawXml: str) -> PyutClass:
326326
root: Element = parse(rawXml)
327327
oglSourceClass: Element = root.OglClass
328328

329-
untanglepyut: UnTanglePyut = UnTanglePyut(xmlVersion=XmlVersion.V11)
330-
pyutClass: PyutClass = untanglepyut.classToPyutClass(graphicClass=oglSourceClass)
329+
untanglepyut: UnTanglePyut = UnTanglePyut(xmlVersion=XmlVersion.V11)
330+
pyutClass: PyutClass = untanglepyut.classToPyutClass(graphicClass=oglSourceClass)
331331

332332
self.logger.debug(f'{pyutClass}')
333333

untanglepyut/UnTanglePyut.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def noteToPyutNote(self, graphicNote: Element) -> PyutNote:
195195
# fix line feeds
196196
pyutNote = cast(PyutNote, self._addPyutObjectAttributes(pyutElement=noteElement, pyutObject=pyutNote))
197197

198+
# TODO: Update when code-ally-basic has common code
198199
rawContent: str = noteElement['content']
199200
cleanContent: str = rawContent.replace(UnTanglePyut.END_OF_LINE_MARKER, osLineSep)
200201
pyutNote.content = cleanContent

untanglepyut/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__: str = '1.3.1'
1+
__version__: str = '1.3.2'

0 commit comments

Comments
 (0)