Skip to content

Commit 0f74330

Browse files
authored
Update to py2exe 0.11.0.1 (#13066)
Closes #12357 Summary of the issue: NVDA currently uses py2exe version 0.10.1.0 to create a binary version since never versions of py2exe causes errors during build (py2exe/py2exe#112). These errors has been fixed by @albertosottile in version 0.11.0.0. While never version of py2exe does not provide us with any advantages for now not upgrading regularly might make it difficult to do so when we would need to move to Python 3.10 or later (currently used version of py2exe supports only up to 3.9). Description of how this pull request fixes the issue: Updates version of py2exe we're using to 0.11.0.1 Testing strategy: Created a self signed launcher - made sure that NVDA functions well in general Tested that NVDA_eoaproxy works Smoke tested NVDA-dmp and NVDA_slave Ensured that correct file names are shown in tracebacks ((see Update py2exe to version 0.11.0.0 #13057) Ensured that entire content of NVDAObjects package is included in the library.zip
1 parent 6413fc4 commit 0f74330

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ git+https://github.com/DiffSK/configobj@3e2f4cc#egg=configobj
1111
diff_match_patch_python==1.0.2
1212

1313
# Packaging NVDA
14-
py2exe==0.10.1.0
14+
py2exe==0.11.0.1
1515

1616
# For building developer documentation
1717
sphinx==3.4.1

source/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ def getRecursiveDataFiles(dest,source,excludes=()):
234234
],
235235
"packages": [
236236
"NVDAObjects",
237+
# As of py2exe 0.11.0.0 if the forcibly included package contains subpackages
238+
# they need to be listed explicitly (py2exe issue 113).
239+
"NVDAObjects.IAccessible",
240+
"NVDAObjects.JAB",
241+
"NVDAObjects.UIA",
242+
"NVDAObjects.window",
237243
"virtualBuffers",
238244
"appModules",
239245
"comInterfaces",

user_docs/en/changes.t2t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ What's New in NVDA
2929

3030
== Changes for Developers ==
3131
- Note: this is a Add-on API compatibility breaking release. Add-ons will need to be re-tested and have their manifest updated.
32+
- Updated py2exe to version 0.11.0.1. (#12357, #13066)
3233
- ``NVDAObjects.UIA.winConsoleUIA.WinConsoleUIA.isImprovedTextRangeAvailable`` has been removed. Use ``apiLevel`` instead. (#12955, #12660)
3334
- ``TVItemStruct`` has been removed from ``sysTreeView32``. (#12935)
3435
- ``MessageItem`` has been removed from the Outlook appModule. (#12935)

0 commit comments

Comments
 (0)