From me as well, thank you Erik and Balthazar! Improves the dev experience so much!

On Thu, Aug 6, 2026 at 4:03 PM Dan Andreescu via Analytics-announce <analytics-announce@lists.wikimedia.org> wrote:
thank you Erik & Balthazar, this is awesome

On Wed, Aug 5, 2026 at 11:00 AM Erik Bernhardson via Analytics-announce <analytics-announce@lists.wikimedia.org> wrote:
brouberol and I worked through and improved the pytest CI job from 8-9 minutes to under 2 minutes. On my work laptop, make test now finishes in under 30 seconds.

Action required: rebase any in-progress patches that add DagProperties
DagProperties no longer infers the DAG file from the call stack. You must pass it explicitly:
props = DagProperties(
    _dag_file=__file__,
    ...
)
Every DAG in main has already been updated.
If your branch adds a DagProperties without either _dag_file or _variable_name, DAG parsing now fails with an AssertionError.
This can be easy to miss: your branch's CI may pass, but the merge result can fail because CI tests your branch, not the rebased merge. Rebase onto main before merging.

Action required: rebuild your dev image once
pytest-xdist is now a dependency. Because the development image is rebuilt only when Dockerfile.dev changes, you'll need to rebuild it manually once:
make test.image.rm && make test
Otherwise, pytest will fail with:
unrecognized arguments: -n
Other test changes
make test now runs with 4 workers by default.
Use make test jobs=1 for a small subset of tests.
--
Analytics-announce mailing list -- analytics-announce@lists.wikimedia.org
To unsubscribe send an email to analytics-announce-leave@lists.wikimedia.org
--
Analytics-announce mailing list -- analytics-announce@lists.wikimedia.org
To unsubscribe send an email to analytics-announce-leave@lists.wikimedia.org


--
Andrew McAllister (he/him)
Senior Data Analyst

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30-577 11 62-0
https://wikimedia.de

Keep up to date! Current news and exciting stories about Wikimedia, Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now.

Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Charlottenburg, VR 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207. Geschäftsführende Vorständin: Franziska Heine.