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.
Status: RESOLVED OBSOLETE
Product: pyatspi2
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: At-spi maintainer(s)
At-spi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-07-01 18:15 UTC by Eitan Isaacson
Modified: 2021-07-05 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
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 __init__.py preprocessed by automake, and using the version string in configure.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.

This.
Comment 9 GNOME Infrastructure Team 2021-07-05 12:36:48 UTC
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.