Comments (6)
I'm having the same issue ... so my code is now broken after I installed this newer version.
from sh.
My workaround is to uninstall v0.93 use v0.92:
pip install --upgrade pip
pip-2.6 uninstall pbs
pip-2.6 install pbs==0.92
>>> from pbs import find
>>> print find('/etc', '-maxdepth 1', '-name', 'passwd')
/etc/passwd
from sh.
@shai Your code should still work fine...DeprecationWarnings don't affect the output of any command. If you need to silence it right now, see this thread. I'm pushing a fix very soon though.
from sh.
@shai @Yossi version "0.94" (the latest) has the DeprecationWarning fix. Run "pip install pbs --upgrade" to grab it.
from sh.
Thanks for the quick fix .. I'll test it (after I upgrade) and let you know if it doesn't work.
from sh.
Thanks, it's fixed now :)
from sh.
Related Issues (20)
- RFE: please start making github releases HOT 6
- Automate github releases
- "Bad" signals can't be ignored with _ok_code HOT 5
- cannot import name 'pg_dump' from 'sh' HOT 2
- Github page link 404s HOT 2
- glob wrapper breaks glob(.., root_dir=someething) HOT 1
- Special kwarg _cwd and sh.pushd() not working HOT 5
- baking piped commands HOT 2
- piped commands via ssh? HOT 4
- RFH: Unable to pipe `sudo` process to `sudo` process HOT 3
- sh doesn't print output unless wrapped in print() HOT 1
- Feature proposal: _except callback HOT 6
- documentation has bad example code HOT 1
- Questions about Copilot + Open Source Software Hierarchy HOT 1
- Mention `pbs3` as an alternative for Windows? HOT 4
- Info pushed to stdout instead of variable when invoked with contirb.sudo HOT 6
- sh 1.14.3 breaks isinstance(sh.command_name, sh.Command) HOT 2
- Idiomatic way of handling binary data from commands? HOT 3
- Monkey patch of glob.glob breaks root_dir kwarg HOT 4
- Add GitHub release for 2.0.7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sh.