sergiocorreia / panflute

An Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions
http://scorreia.com/software/panflute/
BSD 3-Clause "New" or "Revised" License
500 stars 59 forks source link

`shutilwhich` listed as requirement for python3 #119

Closed toddrme2178 closed 4 years ago

toddrme2178 commented 5 years ago

The shutilwhich package is needed for python2, but not python3 which has it built-in. However, it is listed as a requirement even for python3, which means it will get pulled in for no reason.

We have this package in openSUSE, and this dependency causes a problem because we don't have a python3 version of shutilwhich (there is no point). But packages that depend on panflute end up failing because panflute incorrectly says it needs shutilwhich for python3.

sergiocorreia commented 5 years ago

I agree. I was planning on dropping py2 support around the time the clock expires but I can also do it sooner if it's useful on your side (don't think many people will mind).

toddrme2178 commented 5 years ago

I have a workaround for now. It is up to you.