Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Make clammy gevent-safe#8

Merged
ranguli merged 1 commit into
ranguli:developmentfrom
DemandLogic:python-clamd-pr-23-getsling-master
Jan 18, 2022
Merged

Make clammy gevent-safe#8
ranguli merged 1 commit into
ranguli:developmentfrom
DemandLogic:python-clamd-pr-23-getsling-master

Conversation

@stringfellow

@stringfellow stringfellow commented May 6, 2021

Copy link
Copy Markdown

Changes brought in from graingert#23

  • use sendall() instead of send()
  • allow custom max_buffer_size
  • set socket timeout before connect

Thanks to @mrname

- use sendall() instead of send()
- allow custom max_buffer_size
- set socket timeout before connect

Thanks to @mrname
@DanMauger

Copy link
Copy Markdown

👍 - much appreciated all around!

@nilstoedtmann

Copy link
Copy Markdown

Without @mrname's patch graingert#23 , python-clamd/clammy seem to not be gevent-safe. Would be great to see Justin's fix applied.

@stringfellow stringfellow changed the title apply changes from https://github.com/graingert/python-clamd/pull/23 Make clammy gevent-safe May 10, 2021
@stringfellow

Copy link
Copy Markdown
Author

bump @ranguli - please can someone take a look at this?

@ranguli

ranguli commented Jan 18, 2022

Copy link
Copy Markdown
Owner

Hey @stringfellow, thanks for the PR and for following up - no idea why I didn't see any of these notifications when they came through in May. I'll review and merge 👍

@ranguli ranguli changed the base branch from master to development January 18, 2022 14:42
@ranguli ranguli merged commit 0ad40bd into ranguli:development Jan 18, 2022
@ranguli

ranguli commented Jan 18, 2022

Copy link
Copy Markdown
Owner

Will try and get a new release out soon. Thanks! 🚀

ranguli added a commit that referenced this pull request Jan 18, 2022
* apply changes from graingert#23 (#8)

- use sendall() instead of send()
- allow custom max_buffer_size
- set socket timeout before connect

Thanks to @mrname

* Add CI, code quality improvements, fix tests

* Don't run pytest in CI since there's no clamd

Co-authored-by: Steve Pike <github@stevepike.co.uk>
@ranguli

ranguli commented Jan 18, 2022

Copy link
Copy Markdown
Owner

Release is now available here and on Pip. https://github.com/ranguli/clammy/releases/tag/v1.0.0

@stringfellow

Copy link
Copy Markdown
Author

Thanks @ranguli ! :) Happy new year!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants