Topics

Project Walrus: it is accomplished... not quite


 

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph


alexey
 

Will asynchrony be supported?
Can I in my addon for example, replace urllib with aiohttp


Rui Fontes
 

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph


Florian Beijers
 

NVDA Translate and VS Code addon are both incompatible as well as of
now, for as far as I can tell.


2021-03-11 17:32 GMT+01:00, Rui Fontes <rui.fontes@tiflotecnia.com>:

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project
Walrus aka Python 3.8. This marks a milestone in this project in that
anyone wanting to provide early feedback can now test Python 3.8 based
NVDA. This also means interested add-on authors should start porting
their add-ons to Python 3.8, with broader porting to commence once
NVDA 2021.1 beta 1 is released.

Key changes to be aware of:

* If your add-on uses C extensions (.pyd files), YOU MUST USE Python
3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or
later, you must install pyd files for Python 3.7 and 3.8.
* Unless the situation changes, you can now use asyncio library from
add-ons. In theory, this will let you define asynchronous
functions more easily.
* As part of Project Walrus, wxPython was upgraded to 4.1.1. There
can be breaking changes, so please test things early.
* You can now use assignment expressions (:=).

Next steps: interested authors should start porting their add-ons.
Most add-ons will work out of the box, but there is at least one
add-on that will break after installing NVDA alpha snapshot 21882.
Between now and NVDA 2021.1 beta 1 release should be considered
pre-transition phase, with broader transition to be declared once beta
cycle starts.

Cheers,

Joseph






bering.p
 

Hi,
For NVDAExtensionGlobalPlugin,
I'll take care of it as soon as possible.
It is the psutil package that must be updated.
Best regards.
Paul.
Le 11/03/2021 17:32, Rui Fontes a écrit :

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph



bering.p
 

Hi,
There it's done.
Here is the link to download the latest version under development.
v9.6-dev29
Rui, it's been a long time since the add-on's translation into Portuguese is out of date.
Should I consider that it is abandoned and that I can remove the existing translation from the add-on ?
Best regards.

Paul.
Le 11/03/2021 17:58, bering.p a écrit :

Hi,
For NVDAExtensionGlobalPlugin,
I'll take care of it as soon as possible.
It is the psutil package that must be updated.
Best regards.
Paul.
Le 11/03/2021 17:32, Rui Fontes a écrit :

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph




Rui Fontes
 

New list of no functioning add-ons:


objsounds

partialLines (Not by Python 3.8 but because AttributeError: module 'controlTypes' has no attribute 'REASON_CARET')

Translate

Weather_Plus

WlanReporter


Rui Fontes



Às 16:58 de 11/03/2021, bering.p escreveu:

Hi,
For NVDAExtensionGlobalPlugin,
I'll take care of it as soon as possible.
It is the psutil package that must be updated.
Best regards.
Paul.
Le 11/03/2021 17:32, Rui Fontes a écrit :

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph



Cyrille
 

Hello

 

The clock add-on is also to add to the list due to missing Python 3.8 pyd file.

 

The error is the following:

ERROR - external:globalPluginHandler.listPlugins (23:19:27.036) - MainThread (30084):

Error importing global plugin clock

Traceback (most recent call last):

  File "globalPluginHandler.py", line 23, in listPlugins

    plugin = importlib.import_module("globalPlugins.%s" % name, package="globalPlugins").GlobalPlugin

  File "C:\Users\Cyrille\AppData\Local\Programs\Python\Python38-32\lib\importlib\__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import

  File "<frozen importlib._bootstrap>", line 991, in _find_and_load

  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked

  File "<frozen importlib._bootstrap_external>", line 783, in exec_module

  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed

  File "C:\Users\Cyrille\AppData\Roaming\nvda\addons\clock\globalPlugins\clock\__init__.py", line 36, in <module>

    import ephem

  File "C:\Users\Cyrille\AppData\Roaming\nvda\addons\clock\globalPlugins\clock\libPy3\ephem\__init__.py", line 5, in <module>

    import ephem._libastro as _libastro

ModuleNotFoundError: No module named 'ephem._libastro'

 

Cheers,

 

Cyrille

 

 

 

De : nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> De la part de Rui Fontes
Envoyé : jeudi 11 mars 2021 22:14
À : nvda-addons@nvda-addons.groups.io
Objet : Re: [nvda-addons] Project Walrus: it is accomplished... not quite

 

New list of no functioning add-ons:

 

objsounds

partialLines (Not by Python 3.8 but because AttributeError: module 'controlTypes' has no attribute 'REASON_CARET')

Translate

Weather_Plus

WlanReporter

 

Rui Fontes

 

 

Às 16:58 de 11/03/2021, bering.p escreveu:

Hi,
For NVDAExtensionGlobalPlugin,
I'll take care of it as soon as possible.
It is the psutil package that must be updated.
Best regards.

Paul.

Le 11/03/2021 17:32, Rui Fontes a écrit :

Hello!

 

After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16

 

Rui Fontes

 

Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph

 


Adriano Barbieri
 

Hi

I have already fixed the problem in version 7.7 which I will publish shortly.

Thanks


Adriano Barbieri


Il 11/03/2021 17:32, Rui Fontes ha scritto:

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph


Reef Turner
 

Please note, the next release 2021.1 will be an add-on API compatibility breaking release. The add-on API version numbers will be updated before the first beta of 2021.1. All add-ons will need to be updated in response to this.

For now we have left the add-on API version unchanged. Leaving the API value unchanged on alpha allows add-on authors to more easily test their addons against the new changes, they don't need to do an update to their addon just to test. The changelog should be reviewed carefully by add-on authors to identify areas that need updating.

I hope this helps to clarify the plan for this release.

Reef Turner
Software Developer - NV Access


On Fri, 12 Mar 2021 at 15:55, Adriano Barbieri via groups.io <adrianobarb=yahoo.it@groups.io> wrote:

Hi

I have already fixed the problem in version 7.7 which I will publish shortly.

Thanks


Adriano Barbieri


Il 11/03/2021 17:32, Rui Fontes ha scritto:

Hello!


After instalation of last Alpha, at least two add-ons are not compatible:

Weather_Plus_7.6

NVDAExtensionGlobalPlugin_9.6-dev16


Rui Fontes


Às 08:34 de 11/03/2021, Joseph Lee escreveu:

Hello NVDA add-ons community,

As of NVDA alpha snapshot build 21882, NVDA is powered by Project Walrus aka Python 3.8. This marks a milestone in this project in that anyone wanting to provide early feedback can now test Python 3.8 based NVDA. This also means interested add-on authors should start porting their add-ons to Python 3.8, with broader porting to commence once NVDA 2021.1 beta 1 is released.

 

Key changes to be aware of:

 

  • If your add-on uses C extensions (.pyd files), YOU MUST USE Python 3.8 pyd files! Or better, if you wish to support NVDA 2019.3 or later, you must install pyd files for Python 3.7 and 3.8.
  • Unless the situation changes, you can now use asyncio library from add-ons. In theory, this will let you define asynchronous functions more easily.
  • As part of Project Walrus, wxPython was upgraded to 4.1.1. There can be breaking changes, so please test things early.
  • You can now use assignment expressions (:=).

 

Next steps: interested authors should start porting their add-ons. Most add-ons will work out of the box, but there is at least one add-on that will break after installing NVDA alpha snapshot 21882. Between now and NVDA 2021.1 beta 1 release should be considered pre-transition phase, with broader transition to be declared once beta cycle starts.

 

Cheers,

Joseph


Nikola Jovic
 

Hi,
unfortunately, speech history is also partially broken, though this is related to the new cancellable speech option.
If this is disabled, the addon works fine.
However, when it is enabled, previous entries in the speech history buffer are often not announced.