Skip to content

Deprecate extra values for srcs_version. #6445

@brandjon

Description

@brandjon

Current allowed srcs_version values are:

  • PY2ONLY: errors out if built in PY3 mode
  • PY2: originally intended to mean "do 2to3 conversion", but it errors out (badly) if built in PY3 mode
  • PY2AND3: works for both PY2 and PY3 (no 2to3 conversion)
  • PY3ONLY: errors out if built in PY2 mode
  • PY3: same as PY3ONLY

We should reduce this to something like just:

  • PY2 (behaving like PY2ONLY does today)
  • PY2AND3
  • PY3

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)team-Rules-PythonNative rules for Pythontype: process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions