Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode #322

Closed
mgalardini opened this issue Apr 8, 2020 · 3 comments

Comments

@mgalardini
Copy link

Hi, thanks for the great library. When doing the following operation in python 3.8, a runtime warning is raised:

>>> import pybedtools
>>> import tempfile
>>> tmp_bed = tempfile.NamedTemporaryFile()
>>> test = pybedtools.BedTool(tmp_bed.name)
>>> test.sort()
/home/mgalactus/minimamba/envs/pyseer/lib/python3.8/subprocess.py:849: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stderr = io.open(errread, 'rb', bufsize)

I found this thread with some more details on why this warning is now raised. This seems the line where the warning is raised.

@daler
Copy link
Owner

daler commented Jun 2, 2020

@mgalardini this should be fixed as of #324 -- hope to have a release sometime soon.

@Jeff1995
Copy link

Also seeing this warning. Glad that it has been fixed, but when will there be a new release?

@roni-fultheim
Copy link

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants