Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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


Since python 3.7 async is a reserved word, see .
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.
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)