Skip to content

Test utils fail on every OS when using Python version 3.10 #1614

Closed

Description

@MVrachev

Description of issue or feature request:
I tried adding support for Python version 3.10 in pr #1610, but there were CI problems with our test utilities when using every platform we are testing against - Windows, Ubuntu and MacOS:
https://github.com/theupdateframework/python-tuf/pull/1610/checks?check_run_id=3861875262

Current behavior:
CI fails when using our test utilities with Python version 3.10.

Expected behavior:
Resolve the above issue and add support for Python version 3.10.

Activity

  1. added
    backlog
    on Oct 13, 2021
  2. added this to the Sprint 10 milestone on Oct 13, 2021
  3. joshuagl commented on Oct 14, 2021

    @joshuagl
    Member

    Note to whomever merges this, when we add new Python versions to the test matrix we need to choose whether to update our branch protection rules.

  4. jku commented on Oct 14, 2021

    @jku
    Member

    Note to whomever merges this, when we add new Python versions to the test matrix we need to choose whether to update our branch protection rules.

    What was this about? Can't quite connect the two...

  5. joshuagl commented on Oct 14, 2021

    @joshuagl
    Member

    Apologies for the drive-by comment.

    • Our branch protection rules prevent us merging unless certain checks have passed.
    • When we add a new Python version to the Actions workflow, that creates a new set of checks of the form "Tests ($PY_VER, $HOST_OS-latest, py)".
    • Currently required checks includes checks of the form "Tests ($PY_VER, $HOST_OS-latest, py)" for each of PY_VER=[3.6, 3.7, 3.8, 3.9].
    • New checks introduced by adding a new Python version are not automatically included in our branch protection rules and must be added to the list of required checks manually.

    Therefore, when we add a new Python version to the workflow we need to decide whether we want to require checks pass before merging and, if so, update branch protection rules to make that happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backlogbugtesting

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions