Skip to content

SConstruct: modernize syntax and require Python 3.11 as minimum version #37

Closed

Description

@josephsl

Hi,

To be implemented around NVDA 2024.1 release:

I propose modernizing SConstruct file in add-on template to use:

  • Formatted string literals (f strings) in places where string interpolations (%s) and str.format are used (unless this introduces security problems)
  • Assignment expressions in places where variables are assigned and then used

Also, mark Python 3.11 as the minimum version to run SConstruct.

Thanks,

Activity

  1. josephsl commented on Jun 28, 2024

    @josephsl
    ContributorAuthor

    Hi,

    Done as of 2024.2 (minimum is Python 3.10 due to l10n workflow server).

  2. added a commit that references this issue on Aug 3, 2026
    e7d8ceb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions