KotlinIsland / KotlinIsland/basedmypy
Tests fail because `_TypedDict.__closed__` is None at runtime (expected bool)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Describe the problem
That is a fairly recent issue, and it is not caused by updating basedmypy, but by some other change in nixpkgs (maybe updating Python?). Bisecting it, although it will take a while.
This happens on 2.10.0 and cf3b4b8d637c3f61cb1a77bda08df4bb9be0479f
Gist to reproduce
If you know Nix - nix build nixpkgs/94def634a20494ee057c76998843c015909d6311#basedmypy, else the build log is available at https://gist.github.com/PerchunPak/50a6e79cae164186b08374b63635b108 (feel free to ask me to rerun the build after any changes you do)
Severity
annoying but workaround is available
Your Environment
basedmypy 2.10.0 (compiled: yes)
Based on mypy 1.15.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with nix build nixpkgs/94def634a20494ee057c76998843c015909d6311#basedmypy and reviewing the linked build log. Compare basedmypy 2.10.0 with commit cf3b4b8d637c3f61cb1a77bda08df4bb9be0479f while bisecting the relevant nixpkgs or Python change; done means _TypedDict.__closed__ is a bool and the build passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100