Remove comInterfaces.Scripting in 2028.1
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- build-system
Research direction
Start in source/comInterfaces_sconscript and remove the Scripting.py entry from COM_INTERFACES, including its "Used for browseable messages" comment. Then add the API Breaking Changes entry in the user guide change log stating that comInterfaces.Scripting was removed with no replacement. Done when a build no longer generates comInterfaces.Scripting and the change log entry is in place.
Written by the indexing model from the issue text.
Description
Related issues, PRs or discussions
- #20251 removed the last use of
comInterfaces.Scripting. - Split off from #20987, rationale in https://github.com/nvaccess/nvda/pull/20987#issuecomment-6181994872.
What is the current state of the codebase?
NVDA generates comInterfaces.Scripting at build time from the Microsoft Scripting Runtime type library.
source/comInterfaces_sconscript lists it with the comment "Used for browseable messages".
Browseable messages used to run in an MSHTML dialog. NVDA passed the message to that dialog in a Scripting.Dictionary object.
Since #20251, browseable messages render in a wx.html2.WebView. Nothing in NVDA uses comInterfaces.Scripting anymore.
Why are changes required?
Every build generates and ships comInterfaces.Scripting, but NVDA does not use it.
What technical changes are required?
- Remove the
Scripting.pyentry fromCOM_INTERFACESinsource/comInterfaces_sconscript. - Add a change log entry under API Breaking Changes:
comInterfaces.Scriptinghas been removed with no replacement.
Are the proposed technical changes API breaking?
Yes. Add-ons that import comInterfaces.Scripting will fail to import it.
Are there potential risks or issues with the proposed implementation?
None known.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 842
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 56
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvaccess/nvda
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
needs-technical-investigation p5 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nvaccess/nvda#21085 · 7 comments ·
Maintainers usually reply within 1 day
-
Braille Viewer draws two braille patterns wrongly (U+28CC, U+2873) because of glyph errors in FreeMono-FixedBraille.ttfMay be free again A pull request for this issue was closed without being merged. Openaudience/a11y-tester good first issue p4 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nvaccess/nvda#21022 · 3 comments ·
Maintainers usually reply within 1 day
-
p5 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
p3 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nvaccess/nvda#20823 · 6 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
QuantConnect/lean-cli#792 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-webui/open-webui#35360 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100