Has anyone else had an issue using requirements.tx...
# development
w
Has anyone else had an issue using requirements.txt with in-repo plugins as per: https://www.pantsbuild.org/2.19/docs/writing-plugins/overview#in-repo-plugins ? Using the "less recommended" version works great:
Copy code
[GLOBAL]
plugins = ["ansicolors==1.18.0"]
But the "by adding a
requirements.txt
file next to the plugin
register.py
module:" doesn't work for me it seems Specifically with libcst here: https://github.com/sureshjoshi/pants-plugins/blob/6ac20eec2065691932ec97e312b14c587926001b/pants.toml#L7
👀 1
c
What error do you get? i.e. works for me 🙂 (on your project):
w
🤯 What??
Goddamn machines
✔️ 1
I’ll check again this weekend, I just ran into it a few times because libcst wasn’t imported unless I used the
plugins
. There was no error outside of runtime
c
prob. something cached or whatnot then... 🤔
w
Yeah, I'll wipe out and re-try - thanks for testing!
👍 1