222 Commits
Author SHA1 Message Date
Shay Palachi f6073a3ddf working on memory core locking + tests
Memory core is now thread safe

extend memory core tests

added checkdocs
v1.5.0
2020-11-26 13:48:03 +02:00
Charles Tapley Hoyt 67d425e3e7 Add "in memory" backend
Closes #6

Still needs unit tests

Update memory_core.py

Add tests for memory core

@shaypal5 these are copied from the pickle tests, the only one failing is test_memory_being_calculated. I could use your help with the implementation of the relevant function becuase I don't think I understand the threading part
2020-11-25 14:02:41 +02:00
Charles Tapley Hoyt 000f3212d9 Make code more abstract to pick from many future possible backends
Add stubs for redis and memory

References #4 and references #6

Make default compatible with previous interface

Now, the default is calculated dynamically to maintain previous behavior to default to pickle unless the ``mongetter`` argument is given. This makes it have the same behavior as before, so users aren't forced to change old code to use the ``backend`` argument

Update docs

Add tests
2020-11-25 14:02:41 +02:00
Shay Palachy 4e1999d465 Update README.rst v1.4.4 2020-10-20 16:41:42 +03:00
Shay Palachy cae343f9ec Merge pull request #36 from non-senses/master
Calculation timeout for MongoDB Backend
2020-10-20 16:28:20 +03:00
Shay Palachy 8831fa690f testing - and allowing failures - python 3.9 dev 2020-10-12 09:42:47 +03:00
Nico Andrade 5afa69098c Remove prints and a comment 2020-10-08 16:02:07 -04:00
Nico Andrade adc9143f3a Update test_mongo_core.py 2020-10-08 16:00:14 -04:00
Shay Palachy 9f063b7055 ignoring .DS_Store 2020-10-06 17:10:35 +03:00
Nico Andrade 4cb2afa438 Add prints to follow the flow in CI 2020-10-05 13:27:07 -04:00
Nico Andrade 3c339cb927 Add prints to follow the flow in CI 2020-10-05 13:09:29 -04:00
Nico Andrade 101fbbf046 Add prints to follow the flow in CI 2020-10-05 12:44:05 -04:00
Nico Andrade 7f2b0dc35c Update test for slow timeout 2020-10-02 21:51:21 -04:00
Nico Andrade cbd515c430 Update test documentation 2020-10-02 19:12:31 -04:00
Nico Andrade 3ab1a8d2b4 Add calculation timeout in MongoDB handler to avoid deadlocks 2020-10-02 19:10:30 -04:00
Nico Andrade a676ad422d Add calculation timeout in MongoDB handler to avoid deadlocks 2020-10-02 18:54:50 -04:00
Nico Andrade 466f7669b4 Add calculation timeout in MongoDB handler to avoid deadlocks 2020-10-02 18:15:51 -04:00
Nico Andrade fb32f722ab Add timeout for MongoDB backend 2020-10-02 17:24:27 -04:00
Shay Palachy 17d1b7cc9c Merge pull request #33 from jmrichardson/master
Update pickle_core.py
v1.4.3
2020-09-07 11:32:33 +03:00
jmrichardson d56ca0c42f Update pickle_core.py 2020-09-01 17:17:18 -04:00
Shay Palachy 4f6aff9af6 minor job naming fix 2020-04-26 16:40:17 +03:00
Shay Palachy dc49819978 at the moment - no idea how to test python 3.6.5 on macOS 2020-04-26 16:35:04 +03:00
Shay Palachy 87e92566f5 try testing with python3.7 on macOS on Travis 2020-04-26 16:25:16 +03:00
Shay Palachy 628f98e7c3 Merge pull request #20 from twinters/patch-1
Changed isAlive to is_alive
2020-03-20 15:24:31 +02:00
Shay Palachy 4adf5518c5 doc fix v1.4.2 2020-03-20 15:17:05 +02:00
Shay Palachy 63d3b6d6d7 hash_params documentation added 2020-03-20 15:08:54 +02:00
Shay Palachy aa735e108e Merge pull request #21 from amarczew/master
New callable param to deal with non hashable positional and/or keywords args
2020-03-20 14:16:58 +02:00
Alison Marczewski 17ed76a159 Creating tests for hash_params in get_entry methods (pickle and mongo cores) 2020-03-10 01:07:16 -03:00
Alison Marczewski b6cce34d0d Changing test_mongo_core test script for the new param 2020-03-08 17:31:20 -03:00
Alison Marczewski e99933b520 Creating a callable param (hash_params) to generate key when positional and/or keywords arguments are not hashable.
It can work as a workaround in scenarios that positional and keywords args are not hashable but one can be generated with a properly method for each case
2020-03-08 16:58:07 -03:00
Thomas Winters f7c6b0c614 Changed isAlive to is_alive
This removes the deprecation warning
2020-03-07 17:53:35 +01:00
Shay Palachy 012fe46cb1 testing on python 3.8 linux v1.4.1 2020-02-20 13:40:02 +02:00
Shay Palachy a0bd95167a dropped support for Python 2 2020-02-20 13:38:12 +02:00
Shay Palachy 0cbe7efcd1 playing around with pytest xml reports 2019-12-17 14:25:03 +02:00
Shay Palachy e6cd23f68c stopped tracking pipfiles 2019-12-17 14:03:57 +02:00
Shay Palachy e933a696d4 removed the .vscode folder 2019-12-10 16:20:52 +02:00
Shay Palachy 5f15026ba4 fixed deepsource.io issues 2019-12-09 17:21:56 +02:00
Shay Palachy f16b5680ce Merge pull request #15 from jaipradeesh/master
Update glob patterns in .deepsource.toml
2019-12-03 14:48:25 +02:00
Shay Palachy c8d20edbf2 cache_dir passes all tests v1.2.8 2019-12-03 14:47:22 +02:00
Shay Palachy 376aade8ae added cache_dir argument for custom cach dir paths 2019-12-03 14:39:54 +02:00
Shay Palachy 30d6f1451b added py3.8 trove classifier v1.2.7 2019-12-03 13:44:39 +02:00
Shay Palachy 8786caa99b try to fix bad_cache_file test 2019-12-03 13:36:42 +02:00
Shay Palachy 60e69083bf try to fix delete_cache_file test 2019-12-03 12:55:44 +02:00
Shay Palachy 263eba9250 small travis fix 2019-12-02 19:45:52 +02:00
Shay Palachy 15c182fe62 pip3 install fix for travis tests on macox 2019-12-02 19:20:58 +02:00
Shay Palachy c3d2da9e32 fixing more code issues 2019-09-07 12:35:19 +03:00
Shay Palachy ce6c2f57ee deepsource: Named lambda expression detected FLK-E731 (2) 2019-09-07 12:33:00 +03:00
Shay Palachy 0afa7e4854 adding test patterns 2019-09-07 12:32:05 +03:00
Shay Palachy f15b3102df deepsource: Named lambda expression detected FLK-E731 2019-09-07 12:31:02 +03:00
Jai Pradeesh 3c383c7bbb Update .deepsource.toml 2019-09-07 14:59:42 +05:30