-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
mypy patch is failing #561
Comments
The patch necessary to compile mypy, is in hanging state, and mypy source code drifted away from it. You can create an override to disable compiling: overrides = self: super: {
mypy = super.mypy.overridePythonAttrs (old: {
patches = [];
MYPY_USE_MYPYC = false;
});
}; This mypy will work, although will be several times slower than one you would get from PyPI, because it is in pure python. |
Hi @takeda / @jmgilman, rebased the patch and solved the conflict on nixpkgs. Should be resolved downstream: NixOS/nixpkgs#165019 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/mach-nix-pip2nix-poetry2nix-or-pynixify-for-zulip-provision/18836/21 |
I just updated my NixOS unstable's Nixpkgs earlier this week, and still observed this problem on both Mypy 0.940 and 0.942. See the Discourse link above. |
Ah, my bad! I'm supposed to be using the latest master of |
Describe the issue
Attempting to build any of the .9xx versions of
mypy
is failing with the following error:Additional context
I'm assuming the offending line is here. The only way I was able to get it to build for me was by removing the patch. See here.
default.nix
/shell.nix
/flake.nix
pyproject.toml
poetry.lock
The text was updated successfully, but these errors were encountered: