Skip to content

Investigate CI slowdown since Python 3.12 bump #576

@utensil

Description

@utensil

After #564 bumped CI from Python 3.8/3.9/3.10 to 3.10/3.11/3.12, total CI runtime increased by ~40–50 seconds.

Before #564: ~280–326 s (median ~320 s)
After #564: ~352–371 s (median ~360 s)

The cause is that Python 3.12 is the slowest job (~6 min) while 3.10 and 3.11 finish in ~4 min. Since jobs run in parallel, 3.12 sets the ceiling. Previously 3.10 was the ceiling at ~4 min.

Possible investigations:

  • Why is the 3.12 job ~2 min slower? Is it test execution time, dependency install, or runner warmup?
  • Are there specific tests or notebooks that are slower under 3.12?
  • Could caching be improved to reduce install time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions