Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve speed and stability of Python 3.12 tests in canary build #38194

Merged
merged 1 commit into from
Mar 15, 2024

Commits on Mar 15, 2024

  1. Improve speed and stability of Python 3.12 tests in canary build

    Python 3.12 introduced a new (much faster) way of tracking and
    monitoring execution of python code by tools like coverage tracking
    using sysmon (PEP 669). This however also apparently heavily impacted
    performance of coverage tracking for Python 3.12 when PEP 669 is not
    used. The coverage library since 7.4.0 has an experimental support
    for PEP 669 that can be enabled with COVERAGE_CORE=sysmon env variable
    and a number of users confirmed it fixes the problem.
    
    We are using 7.4.4 coverage already so we should enable this mode
    to speed up our coverage tracking. That should also allow us to
    remove databricks from excluded providers.
    
    See databricks/databricks-sql-python#369
    for databricks case and nedbat/coveragepy#1665
    for coverage bug.
    potiuk committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    6a4488a View commit details
    Browse the repository at this point in the history