hasii2011 / pyut

A UML Diagrammer implemented in Python
GNU Affero General Public License v3.0
11 stars 4 forks source link

Update to later version of Python #291

Closed hasii2011 closed 2 years ago

hasii2011 commented 2 years ago

Preferably 3.10.1

hasii2011 commented 2 years ago

could not build wxpython under 3.10.1; will try latest 3.9.x --> 3.9.9

hasii2011 commented 2 years ago

3.9.9 does not work either I cannot get py2App to build the app; I get the following:

Modules not found (conditional imports):
 * Carbon (wx.lib.colourutils)
 * Carbon.Appearance (wx.lib.agw.aui.aui_utilities, wx.lib.agw.aui.tabart, wx.lib.agw.flatnotebook, wx.lib.agw.ribbon.art_aui, wx.lib.stattext)
 * ConfigParser (pip._vendor.distlib.compat)
 * Cookie (pip._vendor.requests.compat, requests.compat)
 * HTMLParser (pip._vendor.distlib.compat)
 * Numeric (numpy.distutils.system_info)
 * OpenSSL.crypto (pip._vendor.urllib3.contrib.pyopenssl, urllib3.contrib.pyopenssl)
 * PyQt5 (PIL.ImageQt)
 * PyQt5.QtGui (PIL.ImageQt)
 * PyQt6 (PIL.ImageQt)
 * PyQt6.QtGui (PIL.ImageQt)
 * PySide2 (PIL.ImageQt)
 * PySide2.QtGui (PIL.ImageQt)
 * PySide6 (PIL.ImageQt)
 * PySide6.QtGui (PIL.ImageQt)
 * Python3Parser (org.pyut.plugins.iopythonsupport.pyantlrparser.Python3Visitor)
 * Queue (pip._vendor.distlib.compat, pip._vendor.urllib3.util.queue, urllib3.util.queue)
 * StringIO (pip._vendor.distlib.compat, pip._vendor.requests.compat, pip._vendor.six, pip._vendor.urllib3.packages.six, requests.compat, six, urllib3.packages.six, wx.lib.pubsub.py2and3)
 * UserDict (wx.lib.agw.fmcustomizedlg)
 * __pypy__ (pip._vendor.msgpack.fallback)
 * __pypy__.builders (pip._vendor.msgpack.fallback)
 * _cmsgpack (pip._vendor.msgpack)
 * _dummy_thread (cffi.lock)
 * _manylinux (pip._vendor.packaging._manylinux, pkg_resources._vendor.packaging._manylinux)
 * _pytest (numpy.typing.tests.test_typing)
 * _ufunc (numpy.typing)
 * cPickle (pycparser.ply.yacc)
 * cairo (wx.lib.pdfviewer.viewer)
 * ccompiler_opt (numpy.distutils.tests.test_ccompiler_opt, numpy.distutils.tests.test_ccompiler_opt_conf)
 * checks (numpy.core.tests.test_cython)
 * com (pkg_resources._vendor.appdirs)
 * com.sun.jna (pkg_resources._vendor.appdirs)
 * com.sun.jna.platform (pkg_resources._vendor.appdirs)
 * comtypes (wx.lib.pdfwin)
 * comtypes.client (wx.lib.pdfwin)
 * cookielib (pip._vendor.requests.compat, requests.compat)
 * dl (setuptools.command.build_ext)
 * dummy_thread (cffi.lock)
 * esky (wx.lib.softwareupdate)
 * esky.util (wx.lib.softwareupdate)
 * htmlentitydefs (pip._vendor.distlib.compat)
 * httplib (pip._vendor.distlib.compat)
 * jnius (pip._vendor.platformdirs.android)
 * lockfile (pip._vendor.cachecontrol.caches.file_cache)
 * lockfile.mkdirlockfile (pip._vendor.cachecontrol.caches.file_cache)
 * lxml (networkx.readwrite.graphml)
 * lxml.etree (networkx.readwrite.graphml, networkx.readwrite.tests.test_graphml)
 * matplotlib (networkx.drawing.nx_pylab)
 * matplotlib.cm (networkx.drawing.nx_pylab)
 * matplotlib.collections (networkx.drawing.nx_pylab, networkx.drawing.tests.test_pylab)
 * matplotlib.colors (networkx.drawing.nx_pylab)
 * matplotlib.patches (networkx.drawing.nx_pylab, networkx.drawing.tests.test_pylab)
 * matplotlib.path (networkx.drawing.nx_pylab)
 * matplotlib.pyplot (networkx.drawing.nx_pylab)
 * mem_policy (numpy.core.tests.test_mem_policy)
 * nose (numpy.testing._private.decorators, numpy.testing._private.utils, numpy.testing.tests.test_doctesting)
 * nose.plugins (numpy.testing._private.nosetester)
 * nose.plugins.builtin (numpy.testing._private.nosetester)
 * numarray (numpy.distutils.system_info)
 * numpy.testing.noseclasses ()
 * numpy_distutils (numpy.f2py.diagnose)
 * numpy_distutils.command.build_flib (numpy.f2py.diagnose)
 * numpy_distutils.command.cpuinfo (numpy.f2py.diagnose)
 * numpy_distutils.cpuinfo (numpy.f2py.diagnose)
 * numpy_distutils.fcompiler (numpy.f2py.diagnose)
 * osgeo (networkx.readwrite.nx_shp)
 * pandas (networkx.algorithms.centrality.group, networkx.convert, networkx.convert_matrix)
 * pep517 (importlib.metadata)
 * psutil (numpy.testing._private.utils)
 * pulp (orthogonal.topologyShapeMetric.Orthogonalization)
 * pydot (networkx.drawing.nx_pydot)
 * pygraphviz (networkx.drawing.nx_agraph)
 * pytest (networkx.testing.test, numpy._pytesttester, numpy.testing._private.utils)
 * reportlab (wx.lib.pdfviewer.viewer)
 * scipy (networkx.algorithms.assortativity.correlation, networkx.algorithms.bipartite.matching, networkx.algorithms.bipartite.matrix, networkx.algorithms.bipartite.spectral, networkx.algorithms.centrality.eigenvector, networkx.algorithms.centrality.flow_matrix, networkx.algorithms.centrality.subgraph_alg, networkx.algorithms.communicability_alg, networkx.algorithms.distance_measures, networkx.algorithms.link_analysis.hits_alg, networkx.algorithms.link_analysis.pagerank_alg, networkx.algorithms.node_classification.hmn, networkx.algorithms.node_classification.lgc, networkx.algorithms.similarity, networkx.convert, networkx.convert_matrix, networkx.drawing.layout, networkx.generators.geometric, networkx.generators.random_graphs, networkx.generators.spectral_graph_forge, networkx.linalg.algebraicconnectivity, networkx.linalg.attrmatrix, networkx.linalg.bethehessianmatrix, networkx.linalg.graphmatrix, networkx.linalg.laplacianmatrix, networkx.linalg.spectrum, numpy.testing._private.nosetester)
 * scipy.linalg (networkx.algorithms.bipartite.spectral, networkx.algorithms.centrality.subgraph_alg, networkx.algorithms.communicability_alg, networkx.linalg.algebraicconnectivity, networkx.linalg.spectrum)
 * scipy.linalg.blas (networkx.linalg.algebraicconnectivity)
 * scipy.optimize (networkx.algorithms.bipartite.matching, networkx.algorithms.similarity, networkx.drawing.layout, networkx.generators.random_graphs)
 * scipy.sparse (networkx.algorithms.bipartite.matrix, networkx.algorithms.centrality.flow_matrix, networkx.algorithms.link_analysis.pagerank_alg, networkx.algorithms.node_classification.hmn, networkx.algorithms.node_classification.lgc, networkx.convert_matrix, networkx.drawing.layout, networkx.linalg.algebraicconnectivity, networkx.linalg.attrmatrix, networkx.linalg.bethehessianmatrix, networkx.linalg.graphmatrix, networkx.linalg.laplacianmatrix)
 * scipy.sparse.linalg (networkx.algorithms.centrality.eigenvector, networkx.algorithms.centrality.flow_matrix, networkx.algorithms.distance_measures, networkx.algorithms.link_analysis.hits_alg, networkx.drawing.layout, networkx.linalg.algebraicconnectivity)
 * scipy.spatial (networkx.generators.geometric)
 * scipy.special (networkx.generators.community)
 * scipy.stats (networkx.algorithms.assortativity.correlation, networkx.generators.spectral_graph_forge)
 * simplejson (requests.compat)
 * six.moves (wx.svg) [module alias]
 * thread (cffi.cparser, cffi.lock, wx.lib.agw.scrolledthumbnail)
 * toml (pip._vendor.pep517.compat)
 * tornado.concurrent (pip._vendor.tenacity.tornadoweb)
 * typing_extensions (cryptography.utils, pip._vendor.platformdirs)
 * urllib2 (pip._vendor.distlib.compat, pip._vendor.requests.compat, requests.compat, wx.lib.softwareupdate, wx.tools.wxget, wx.tools.wxget_docs_demo)
 * urlparse (pip._vendor.distlib.compat, pip._vendor.requests.compat, requests.compat, wx.tools.wxget, wx.tools.wxget_docs_demo)
 * win32com.client (wx.lib.agw.xlsgrid)
 * win32com.client.gencache (wx.lib.pdfwin_old)
 * win32com.shell (pkg_resources._vendor.appdirs)
 * win32pdh (numpy.testing._private.utils)
 * winxpgui (wx.lib.agw.artmanager, wx.lib.agw.supertooltip)
 * winxptheme (wx.lib.agw.aui.dockart, wx.lib.agw.aui.framemanager)
 * wx.activex (wx.lib.flashwin_old, wx.lib.iewin_old, wx.tools.genaxmodule)
 * xmlrpclib (pip._vendor.distlib.compat)
hasii2011 commented 2 years ago

The last released version used Python 3.9.0; Let's try 3.9.1; It works; but let's try 3.9.8

hasii2011 commented 2 years ago

Tried 3.9.7 same problem; will skip 3.9.8; 3.9.6 anyone ??

hasii2011 commented 2 years ago

Nope on 3.9.6; Trying in reverse order 3.9.2

hasii2011 commented 2 years ago

3.9.2 fails also; I think I need to wait for next version of wxPython

Tried the latest snapshot build of wxPython (4.1.2a1.dev5293+b2199e29); Same failure:

hasii2011 commented 2 years ago

Get on 3.9.1 Done on the 🤡 master 🤡 branch

hasii2011 commented 2 years ago

Getting this on code signing --

/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/dist/Pyut.app/Contents/Frameworks/liblzma.5.dylib: main executable failed strict validation

In subcomponent: /Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/dist/Pyut.app/Contents/Frameworks/liblzma.5.dylib

hasii2011 commented 2 years ago

used gittodoistclone pyenv-venv-3.9.1

xmlschema==1.4.2

pyumldiagrams==2.30.0 pygmlparser==1.0.0 orthogonal==1.1.6 installed networkx-2.6.3 antlr4-python3-runtime==4.8

hasii2011 commented 2 years ago

Done on the 🤡 master 🤡 branch