From 0299a52fb125eb027470b55e8fe92ec1ae8240a4 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Tue, 22 Apr 2025 05:15:36 -0700 Subject: [PATCH] [red-knot] Add list of failing/slow ecosystem projects (#17474) ## Summary I ran red-knot on every project in mypy-primer. I moved every project where red-knot ran to completion (fast enough, and mypy-primer could handle its output) into `good.txt`, so it will run in our CI. The remaining projects I left listed in `bad.txt`, with a comment summarizing the failure mode (a few don't fail, they are just slow -- on a debug build, at least -- or output too many diagnostics for mypy-primer to handle.) We will now run CI on 109 projects; 34 are left in `bad.txt`. ## Test Plan CI on this PR! --------- Co-authored-by: David Peter --- .../resources/primer/bad.txt | 34 +++++++++++++++++++ .../resources/primer/good.txt | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 crates/red_knot_python_semantic/resources/primer/bad.txt diff --git a/crates/red_knot_python_semantic/resources/primer/bad.txt b/crates/red_knot_python_semantic/resources/primer/bad.txt new file mode 100644 index 0000000000..d263c922c9 --- /dev/null +++ b/crates/red_knot_python_semantic/resources/primer/bad.txt @@ -0,0 +1,34 @@ +Tanjun # cycle panic (signature_) +aiohttp # missing expression ID +alerta # missing expression ID +altair # cycle panics (try_metaclass_) +antidote # hangs / slow +artigraph # cycle panics (value_type_) +colour # cycle panics (try_metaclass_) +core # cycle panics (value_type_) +cpython # missing expression ID, access to field whilst being initialized, too many cycle iterations +discord.py # some kind of hang, only when multi-threaded? +freqtrade # cycle panics (try_metaclass_) +hydpy # cycle panics (try_metaclass_) +ibis # cycle panics (try_metaclass_) +manticore # stack overflow +materialize # stack overflow +meson # missing expression ID +mypy # cycle panic (signature_) +pandas # slow +pandas-stubs # cycle panics (try_metaclass_) +pandera # cycle panics (try_metaclass_) +prefect # slow +pytest # cycle panics (signature_), missing expression ID +pywin32 # bad use-def map (binding with definitely-visible unbound) +schemathesis # cycle panics (signature_) +scikit-learn # success, but mypy-primer hangs processing the output +scipy # missing expression ID +spack # success, but mypy-primer hangs processing the output +spark # cycle panics (try_metaclass_) +sphinx # missing expression ID +steam.py # missing expression ID +streamlit # cycle panic (signature_) +sympy # stack overflow +trio # missing expression ID +xarray # cycle panics (try_metaclass_) diff --git a/crates/red_knot_python_semantic/resources/primer/good.txt b/crates/red_knot_python_semantic/resources/primer/good.txt index f1501dc9d5..2c7a36665a 100644 --- a/crates/red_knot_python_semantic/resources/primer/good.txt +++ b/crates/red_knot_python_semantic/resources/primer/good.txt @@ -30,6 +30,7 @@ dd-trace-py dedupe django-stubs downforeveryone +dragonchain dulwich flake8 flake8-pyi @@ -64,6 +65,8 @@ packaging paroxython parso pegen +pip +poetry porcupine ppb-vector psycopg @@ -87,6 +90,7 @@ rich rotki schema_salad scrapy +setuptools sockeye speedrun.com_global_scoreboard_webapp starlette