and struggling to get groovy and jenkins to escape...
# general
p
and struggling to get groovy and jenkins to escape the *
a
what pants command line are you executing and what error are you seeing?
(i have a meeting in a bit so will have to come back in an hour, quite sorry)
p
im trying to run
./pants --changed-parent=HEAD~1 list
but a warning about crypto library is polluting the output
a
that was fixed by the pex upgrade as well
i know it's difficult to do more than one thing at once but it will make it a lot easier for us to help you if you have the time to spare to migrate up to more recent pants. you can do it one version at a time
p
still struggling to get python3 100%, so that’s a roadblock lol
❤️ 1
a
oh ouch ok then
p
life’s a mess 😄
a
haha yes indeed
h
Is this to upgrade your plugin to python 3? To clarify, your own code can be python 2! It’s only your plugins.
p
other people are working on the python3 issue, im just trying to see why this command just started breaking
nothing should have been changed on that front
doesn’t seem to work, i might be escaping it incorrectly tho
h
Do you reproduce the warning locally? That flag is designed for deprecated Pants options - I’m not certain it would impact Pex output.
p
no, so that sounds like cryptography updated, lemme try to pin it
👍 1
h
Or, one of its dependencies are allowed to float and that was updated
p
awwwwesome, that worked!
❤️ 1
gotta get on that python3 tho
👏 1
a
let us know if we can help!!
h
Great! What was the fix? With python3, would it help for me to pair with anyone? I led Pants’s migration to Python 3, along with upgrading Twitter’s plugins. I’d be happy to help. Again, the scope is only upgrading your plugins - not your entire codebase.
p
i pinned crypto to the version that was working on my laptop (whatever was in .cache dir lol). that’s a very generous offer @hundreds-father-404, do u mind if i pass it onto the engineers working on it to see what they think?
❤️ 1
and yep i understand, it’s just about upgrading pants itself to py3
👍 1
h
Absolutely. They can reach out to me on Slack or at eric@toolchain.com Pants has seen some pretty huge improvements this past year, and we’d love for your org to benefit from it. We also recognize that sometimes the upgrades are non-trivial, so want to help as much as we can to ease that.
p
yeah, we also gotta switch from ivy to coursair, it seems a lot better. but that’s a different story
h
I think we kept Ivy until 1.27 iirc, so that one hopefully won’t block a couple upgrades. But it does indeed make life better. Meanwhile, Python 3 may bring you a nice performance boost: https://twitter.com/earellanoaz/status/1142213266384416773?s=21