You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pipes module provides helpers to pipe the input of one command into the output of another command. The module is built on top of os.popen. Users are encouraged to use the subprocess module instead.
Just stumbled on this issue, as well, while using Python 3.13, in which pipes is actually removed (leading to a ModuleNotFoundError when calling verdi status in AiiDA, originating from this library). I realized that this is fixed on main, see here (@sphuber is everywhere hehe). Not sure how well-maintained the library is at this point, as the last changes on master, as well as the v0.18.0 release, are abut 2 years in the past.
There has indeed been almost no maintenance of this package. De facto it has been me and @biozz most recently, but we are clearly not active. It seems that the PR you linked is the only real fix on the master branch since the v0.18.0 release. So I guess I could simply trigger a new patch release. I seem to have added a CD workflow to automate it, so it should be straight forward, but it has been a while 😅
EDIT: Just realized that just addressing this one deprecation warning doesn't automatically guarantees that it is actually compatible with Python 3.13. The package doesn't even officially claim compatibility with Python 3.12 yet. So that will have to be done first.
The following DeprecationWarning started appearing in Python 3.11 and will become relevant later this year when Python 3.13 is released
The pipes module was deprecated in PEP-594:
https://peps.python.org/pep-0594/#pipes
The text was updated successfully, but these errors were encountered: