python_dynamodb_lock icon indicating copy to clipboard operation
python_dynamodb_lock copied to clipboard

Context manager should not suppress exceptions

Open nazarewk opened this issue 5 years ago • 4 comments

Description

https://github.com/mohankishore/python_dynamodb_lock/blob/1a2725a83534cd544f5faec75681c0ae8c835143/python_dynamodb_lock/python_dynamodb_lock.py#L880-L886

I don't think context manager should suppress exceptions, makes for very annoying debugging experience and error handling.

nazarewk avatar Jun 18 '19 07:06 nazarewk

Looks like https://github.com/mohankishore/python_dynamodb_lock/pull/285 actually is a nice solution to this exact issue. I get the feeling this project isn't being maintained... @mohankishore any thoughts on how you might want support with regards to maintain this package?

benjackwhite avatar Jul 30 '19 12:07 benjackwhite

@nazarewk @benjackwhite I'm looking to use python_dynamodb_lock but it appears unmaintained. Are you using it in production or have you found something better?

danrue avatar Mar 24 '20 16:03 danrue

There is a fork with the applied fix

You can install it with following command

    pip install git+https://github.com/whatnick/python_dynamodb_lock.git

See also #819

yelizariev avatar Jul 02 '20 05:07 yelizariev

This fork now has a pypi package : https://pypi.org/project/python-dynamodb-lock-whatnick/ . More coming soon. I will fix up the CI pipeline and tag the source repo properly. During the Github downtime period yesterday my own CI pipeline failed to install from Github and I pushed from my local clone to PyPI to resuscitate my pipeline. I will do this properly soon. I am actively using this in my production deployment for Nairobi Rain Radar.

whatnick avatar Jul 14 '20 00:07 whatnick