sharkdp / shell-functools

Functional programming tools for the shell
MIT License
1.2k stars 49 forks source link

Fix Python 3.11 error #50

Closed LeXofLeviafan closed 1 year ago

LeXofLeviafan commented 1 year ago

The package is currently broken on Python 3.11+

inspect.getargspec() was deprecated since Python 3.0, in favour of inspect.getfullargspec(); and in Python 3.11 it got finally removed.

sharkdp commented 1 year ago

Thank you

LeXofLeviafan commented 1 year ago

I've also updated the tests setup, if you're interested (nose had no updates in years, and there's a bunch of deprecation warnings printed out when using it).

No idea if the Travis thing still works, but they're running cleanly on the Github CI.

sharkdp commented 1 year ago

Thank you. Please be aware that I'm not really maintaining this project anymore — but I'm happy to merge easy-to-review PRs.

LeXofLeviafan commented 1 year ago

…Well, I'll just make a pull-request and leave it up for your judgement, I guess.