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
Incorrect dependencies for jupyter #1
Comments
Hmm, as far as I can tell, it does and the pre-commit hook now works as expected:
Where do you see the removal of pyproject.toml? Note that I previously had a bug psf/black#3835 where I did not specify optional-dependencies at all. I don't use the jupyter integration much and had just copied the pre-commit-config.yaml over, without realising that Unfortunately, the only way for me to fix this for past versions was to commit the minor sin of updating the tags in-place. I felt this was okay since a) I didn't see another way, b) technically the mirror is still in the "unreleased" section of the changelog, c) while philosophically sketchy I didn't see a downside from a consequentialist perspective, d) at the end of the day, tags are mutable. So possible you installed more than three days ago and had the buggy version. In which case, can you check if using |
Yes, that seems to be it. Refreshing my cached environments did make the problem go away, thank you! |
pre-commit does not allow you to reference
"."
insideadditional_dependencies
; it literally places a dumpy setup.py and removes pyproject.toml during this phase. So this doesn't install any dependencies required.This currently produces the following output:
I think the easiest (only?) fix would be to manually include the Jupyter dependencies in this hook.
The text was updated successfully, but these errors were encountered: