#5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class")
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
Concepts sous-jacents
Commentaires
- 2 ans, 8 mois ago by Luc Saffre about #5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class") : Yes, I deactivated both blocks now also in the repository and pushed my changes. I'd like to talk with you @8lurry about whether we want to keep this feature.
- 2 ans, 8 mois ago by Sharif Mehedi about #5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class") : See: this [url gitlab.com/lino-framework/lino/-/blob/9ca6dc0ef67b87533ef23995a728efefcba52fd7/lino/utils/dpy.py#L500 block] also.
- 2 ans, 8 mois ago by Sharif Mehedi about #5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class") : [url gitlab.com/lino-framework/xl/-/blob/master/lino_xl/lib/google/__init__.py?ref_type=heads#L127 Here] is the first and only use of the OTHER_SOURCES.
- 2 ans, 8 mois ago by Luc Saffre about #5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class") : It is caused by import_string(f"{appname}.__version__") in dump2py, used to write the OTHER_SOURCES. I now deactivated the code that writes and reads OTHER_SOURCES because I have a feeling that we don't use this feature.
- 2 ans, 8 mois ago by Luc Saffre about #5460 (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class") : Created new Ticket #5460@dev (dump2py in mathieu says "Module "XXX" does not define a "__version__" attribute/class").