After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541119 - Add __version__ constant for version checking.
Add __version__ constant for version checking.
Product: pyatspi2
Classification: Applications
Component: general
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on:
Reported: 2008-07-01 18:15 UTC by Eitan Isaacson
Modified: 2021-07-05 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch (5.95 KB, patch)
2008-07-01 18:17 UTC, Eitan Isaacson
committed Details | Review
Make __version__ a tuple. (474 bytes, patch)
2008-07-02 18:58 UTC, Eitan Isaacson
accepted-commit_now Details | Review

Description Eitan Isaacson 2008-07-01 18:15:46 UTC
pyatspi should have a __version__ symbol for easily determining the version of pyatspi.
Comment 1 Eitan Isaacson 2008-07-01 18:17:30 UTC
Created attachment 113797 [details] [review]
Proposed patch

This patch adds support for __version__ by having preprocessed by automake, and using the version string in
Comment 2 Eitan Isaacson 2008-07-02 18:13:26 UTC
I am going to apply this to trunk. 
Please don't hate me.
Not sure who would want to review this.
Comment 3 Eitan Isaacson 2008-07-02 18:58:36 UTC
Created attachment 113876 [details] [review]
Make __version__ a tuple.

Instead of a string, use a tuple, for easier version comparisons.
Comment 4 André Klapper 2012-02-26 10:40:50 UTC
[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.]
Comment 5 André Klapper 2013-08-14 10:03:31 UTC
[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!]
Comment 6 Jarek Czekalski 2013-09-08 09:02:29 UTC
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).
Comment 7 Alejandro Piñeiro Iglesias (IRC: infapi00) 2014-05-06 16:41:34 UTC
Mike: ping, there is an patch accepted on this bug.
Comment 8 Magdalen Berns (irc magpie) 2015-02-24 15:54:04 UTC
(In reply to Alejandro Piñeiro Iglesias (IRC: infapi00) from comment #7)
> Mike: ping, there is an patch accepted on this bug.

Comment 9 GNOME Infrastructure Team 2021-07-05 12:36:48 UTC
GNOME is going to shut down in favor of
As part of that, we are mass-closing older open tickets in
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
and create a new ticket at

Thank you for your understanding and your help.