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

FutureWarning on GzipFile #155

Open
luxb70 opened this issue Nov 18, 2021 · 1 comment
Open

FutureWarning on GzipFile #155

luxb70 opened this issue Nov 18, 2021 · 1 comment

Comments

@luxb70
Copy link

luxb70 commented Nov 18, 2021

There's the following warning that should be fixed:

/usr/local/lib/python3.9/dist-packages/pysyncobj/serializer.py:88: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases.  Specify the mode argument for opening it for writing.
@pabraksas
Copy link

yep..

WARNING:root:Failed to store full dump
/data/platfor/venv/lib/python3.10/site-packages/pysyncobj/serializer.py:88: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
with gzip.GzipFile(fileobj=f) as g:
/data/platfor/venv/lib/python3.10/site-packages/pysyncobj/serializer.py:88: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
with gzip.GzipFile(fileobj=f) as g:
WARNING:root:Failed to store full dump
WARNING:root:Failed to store full dump
/data/platfor/venv/lib/python3.10/site-packages/pysyncobj/serializer.py:88: FutureWarning: GzipFile was opened for writing, but this will change in future Python releases. Specify the mode argument for opening it for writing.
with gzip.GzipFile(fileobj=f) as g:

bakwc added a commit that referenced this issue Oct 14, 2022
bakwc added a commit that referenced this issue Oct 20, 2022
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

2 participants