GNOME Bugzilla – Bug 541119
Add __version__ constant for version checking.
Last modified: 2021-07-05 12:36:48 UTC
pyatspi should have a __version__ symbol for easily determining the version of pyatspi.
Created attachment 113797 [details] [review] Proposed patch This patch adds support for __version__ by having __init__.py preprocessed by automake, and using the version string in configure.in.
I am going to apply this to trunk. Please don't hate me. Not sure who would want to review this.
Created attachment 113876 [details] [review] Make __version__ a tuple. Instead of a string, use a tuple, for easier version comparisons.
[Resetting QA Contact to newly introduced "at-spi-maint@gnome.bugs". Reason: So far it was impossible to watch changes in at-spi bug reports without following all the specific persons (Li Yuan, Bill Haneman, Jeff Wai, ...) and also their activity outside of at-spi reports. IMPORTANT: Anyone interested in following all bug activity (including all maintainers) must watch the "at-spi-maint@gnome.bugs" dummy user by adding it to the 'Users to watch' list under Preferences->Email preferences. This is also the default procedure nowadays in GNOME when setting up new products.]
[Mass-resetting default assignee, see bug 705890. Please reclaim this bug report by setting the assignee to yourself if you still plan to work on this. Thanks!]
Guys, could you look again at this issue? Or please show me a way to determine the current running version of pyatspi (especially in case where 2 versions are installed, but the only one is chosen by python at runtime).
Mike: ping, there is an patch accepted on this bug.
(In reply to Alejandro Piñeiro Iglesias (IRC: infapi00) from comment #7) > Mike: ping, there is an patch accepted on this bug. This.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/pyatspi2/-/issues/ Thank you for your understanding and your help.