Skip to content

Update Scons build environment to run on Python 3 - #9667

Merged
michaelDCurran merged 13 commits into
nvaccess:threshold_py3_stagingfrom
BabbageCom:scons-py3
Jun 11, 2019
Merged

Update Scons build environment to run on Python 3#9667
michaelDCurran merged 13 commits into
nvaccess:threshold_py3_stagingfrom
BabbageCom:scons-py3

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Note, this is a work in progress. This pull request is merely there for ease of following the progress of this work. It will at least require one rebase on threshold, since it contains code from #9630 and #9648 to work in a sensible way.

Link to issue number:

First pr for #9638

Summary of the issue:

The current SCons build environment doesn't work on Python 3.

Description of how this pull request fixes the issue:

Updates several scons scripts to work with Python 3. A more in depth description will follow when this is finished.

Testing performed:

Todo

Known issues with pull request:

None

Change log entry:

None

@michaelDCurran
michaelDCurran changed the base branch from threshold to threshold_py3_staging June 8, 2019 06:51
@michaelDCurran

Copy link
Copy Markdown
Member

This is still marked as draft. As depedencies are now updated in threshold_py3_staging, is this ready to be reviewed?

Leonard de Ruijter added 10 commits June 10, 2019 12:30
* Remove obsolete _winreg import
* No longer pass unicode=True to gettext.install
* comInterfaces_sconscript: iteritems>items
* comInterfaces_sconscript: basestring>str
* nvdaHelper/archBuild_sconscript: xrange>range
* Liblouis sconscript: file>open
* cldrDict_sconscript: iteritems>items
@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

I would like to have #9648 and #9605 merged in first. After that, I can test drive this pr again and will mark it ready for review. Having said that, I think most of it is ready, so it won't be a waste of time to look into it now already.

@LeonarddeR
LeonarddeR marked this pull request as ready for review June 11, 2019 06:31
@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

I think this is readdy. I merged in threshold_py3_staging and changed the readme to mention that devDocs is currently not supported.

@michaelDCurran
michaelDCurran merged commit 840dce5 into nvaccess:threshold_py3_staging Jun 11, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jun 11, 2019
@LeonarddeR
LeonarddeR deleted the scons-py3 branch June 20, 2019 07:19
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.

3 participants