Skip to content
Snippets Groups Projects

Resolve "python_syntax is python2 only"

Merged Jon Azpiazu requested to merge 48-python_syntax-is-python2-only into master

Closes #48 (closed)

Edited by Jon Azpiazu

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 19 commits

    Compare with previous version

  • I don't understand the logic in the usage of when: on the jobs here. That is:

    • In ci-templates/python.yml
      • .py3_template has a when: never but .py2_template has a when: always.
      • .security_template has a when: always.
    • In ci-templates/auto-rules/no-default.yml
      • .py3_template has a when: always and .py2_template has nothing.

    Is all of this intentional or is are these just leftovers from trial-and-errors?

    • Resolved by Prada Sarasola, Miguel

      A quick test shows that including core.yml instead of any of the entry points in auto-rules results in an invalid YAML being generated. Specific error I get is:

      jobs:py3-flake8 when should be one of: on_success, on_failure, always, manual, delayed

      Still need to wrap my head around the rules logic, but leaving this here before I give up and later forget.

  • added 1 commit

    • 8c0a161e - Add 'humble' into distro-based python job selection logic

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading