Skip to content

Build NVDA with Python 3.8 32-bit#12042

Merged
michaelDCurran merged 8 commits into
nvaccess:py3.8from
josephsl:py38_sconstruct
Feb 15, 2021
Merged

Build NVDA with Python 3.8 32-bit#12042
michaelDCurran merged 8 commits into
nvaccess:py3.8from
josephsl:py38_sconstruct

Conversation

@josephsl

@josephsl josephsl commented Feb 5, 2021

Copy link
Copy Markdown
Contributor

Hi,

Required to build NVDA under Python 3.8:

Link to issue number:

None

Summary of the issue:

Currently SConstruct runs Python 3.7 to build NVDA.

Description of how this pull request fixes the issue:

Directs SConstruct to build NVDA under Python 3.8 32-bit.

Testing strategy:

  1. Build NVDA from source code locally (you'll need Python 3.8 32-bit to do this). If possible, testthis after installing Python 3.8 versions of our dependencies.
  2. Build NVDA on the cloud via AppVeyor (the yml file wasn't modified yet).

Known issues with pull request:

None

Change log entry:

None

Code Review Checklist:

As this is an internal change, only applicable tests are shown:

  • Pull Request description is up to date.
  • Unit tests.
  • Manual tests.

Note: system tests is excluded as it is not really required to build the PR build until AppVeyor is ready to run Python 3.8 to build NvDA.

Thanks.

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 6301195cec

@lukaszgo1

Copy link
Copy Markdown
Contributor

The copyright header upgrade would conflict with the work from #11967 and since #11967 is almost certainly going to be merged before this PR it makes sense to revert it. Have you considered re-targeting this to the py3.8 branch?

Comment thread scons.bat Outdated
@@ -6,7 +6,7 @@ where py 1>nul 2>&1
if "%ERRORLEVEL%" == "0" (
rem Python launcher is present in the PATH
rem Call python 3.7 for 32 bits

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please upgrade this comment to mention Python 3.8

@josephsl

josephsl commented Feb 6, 2021 via email

Copy link
Copy Markdown
Contributor Author

@lukaszgo1

Copy link
Copy Markdown
Contributor

Please double check - for me GitHub shows Master as a target branch.

@josephsl
josephsl changed the base branch from master to py3.8 February 6, 2021 17:57
@josephsl

josephsl commented Feb 6, 2021 via email

Copy link
Copy Markdown
Contributor Author

This reverts commit 096f61b due to impending Py2Exe upgrade that will update copyright header.
@michaelDCurran michaelDCurran changed the title SConstruct: build NVDA with Python 3.8 32-bit Build NVDA with Python 3.8 32-bit Feb 15, 2021
@michaelDCurran

Copy link
Copy Markdown
Member

I have taken the opportunity to change readme.md and appveyor.yml in this pr to mention/use Python 3.8, as it makes sense to change sconstruct, readme and appveyor all at once when we merge this to the py3.8 branch. However, we do not expect the py3.8 branch to actualy run with appveyor yet though as there are several large dependencies that much also change, which will be done in separate prs.

@michaelDCurran
michaelDCurran merged commit adf131a into nvaccess:py3.8 Feb 15, 2021
@nvaccessAuto nvaccessAuto added this to the 2021.1 milestone Feb 15, 2021
@josephsl
josephsl deleted the py38_sconstruct branch March 1, 2021 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants