FS#59547 - [python-atspi] needs a patch in order to work after python 3.7 upgrade

Attached to Project: Arch Linux
Opened by Peter Vágner (pvagner) - Tuesday, 07 August 2018, 07:12 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 09 August 2018, 07:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Since python 3.7 async is a reserved word, see https://docs.python.org/3.7/reference/lexical_analysis.html?highlight=reserved%20word#keywords .
When trying to import pyatspi with python 3.7 a traceback is returned because async is used throughout the code of pyatspi it-self.
There is an upstream issue about it and a merge request open to fix the issue, however it has not been merged into a stable branch yet. https://gitlab.gnome.org/GNOME/pyatspi2/merge_requests/3
After upgrading Arch linux to include python 3.7 visually disabled people running orca screen reader which depends on pyatspi to work will no longer be able to use their computers as they normally do. Orca won't run, they will lost access to all graphical apps.
So until this is addressed upstream I suggest to apply the merge request when building the package.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 09 August 2018, 07:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.26.0-3
Comment by Peter Vágner (pvagner) - Tuesday, 07 August 2018, 07:14 GMT
This is a PKGBUILD script that works for me.
   PKGBUILD (1.2 KiB)
Comment by Eli Schwartz (eschwartz) - Tuesday, 07 August 2018, 18:19 GMT
Sadly the testsuite is completely non-operational or we could have used it to test the build...
Comment by Peter Vágner (pvagner) - Tuesday, 07 August 2018, 18:25 GMT
Please note this is really critical as blind people relying on graphical desktop have lost access to all the tools they can use.
Power users can resort to text console but that is not ideal either.
Comment by Peter Vágner (pvagner) - Thursday, 09 August 2018, 07:20 GMT
The patch has changed a little fixing a typo, so if you wanted to download the earlier PKGBUILD and build a package from there it would fail.
So here is updated PKGBUILD.
   PKGBUILD (1.2 KiB)

Loading...