summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Log any ImportErrors in top-level init filedevJordan Cook2021-04-221-4/+7
|
* Merge branch 'use-temp'Jordan Cook2021-04-225-9/+39
|\
| * Add use_temp option to SQLite backendJordan Cook2021-04-225-9/+39
|/ | | | Closes #243
* Merge pull request #245 from JWCook/integration-testsJordan Cook2021-04-2211-148/+166
|\ | | | | Run CachedSession integration tests for all backends.
| * Combine test_cache.py with BaseCacheTest to run these tests for all backendsJordan Cook2021-04-2211-148/+166
|/
* Merge pull request #242 from JWCook/integration-testsJordan Cook2021-04-2217-313/+308
|\ | | | | Refactor backend integration tests
| * Turn multi-threaded stress tests into test (sub)classesJordan Cook2021-04-228-50/+100
| | | | | | | | | | | | This is mainly to take advantage of fail-fast connection tests; otherwise, these tests may just hang if backend dependenices are installed but backend services are not set up. See issue #221 for details.
| * Turn remaining unittest.TestCase classes into pytest-style test classesJordan Cook2021-04-228-144/+82
| |
| * Reorganize backend integration tests and add some more thorough testsJordan Cook2021-04-228-149/+168
| |
| * Move storage class __str__ methods to base class, and just show keys instead ↵Jordan Cook2021-04-226-15/+3
| | | | | | | | of items
| * Store responses for filesystem backend in a 'responses' subdirectory, to ↵Jordan Cook2021-04-221-5/+7
| | | | | | | | avoid deleting redirects.sqlite with clear()
| * For SQLite and filesystem backends, resolve file paths in BaseStorage class ↵Jordan Cook2021-04-212-8/+6
|/ | | | rather than BaseCache class
* Merge pull request #238 from JWCook/filesystem-backendJordan Cook2021-04-2113-8/+139
|\ | | | | Add a filesystem backend
| * Update changelog, contributors, and versionJordan Cook2021-04-213-3/+6
| |
| * Add a filesystem backendJordan Cook2021-04-2110-5/+133
|/
* Use shared connection to create initial SQLite tableJordan Cook2021-04-211-1/+1
|
* Merge pull request #240 from jsemric/use-thread-local-connections-for-sqliteJordan Cook2021-04-212-41/+36
|\ | | | | Use thread local connections for sqlite
| * add sqlite no-op testsjsemric2021-04-211-0/+15
| |
| * remove locking of sqlite connectionjsemric2021-04-211-18/+10
| |
| * do not lock connection on readjsemric2021-04-211-4/+10
| |
| * make bulk commit use thread-local connectionjsemric2021-04-211-26/+7
| |
| * use thread local sqlite connectionsjsemric2021-04-201-16/+17
| |
* | Merge pull request #239 from JWCook/integration-testsJordan Cook2021-04-209-64/+90
|\ \ | |/ |/| Run multi-threaded tests for all backends
| * Run multi-threaded tests for all backends, and run with more threads & ↵Jordan Cook2021-04-206-42/+67
| | | | | | | | iterations for merges to master
| * Fix DynamoDbDict.__iter__ to return keys instead of values; update tests to ↵Jordan Cook2021-04-203-22/+23
|/ | | | test for this
* Merge pull request #237 from JWCook/backend-kwargsJordan Cook2021-04-1914-109/+169
|\ | | | | Allow passing any valid backend connection kwargs via BaseCache
| * Allow passing any valid backend connection kwargs via BaseCacheJordan Cook2021-04-1914-109/+169
|/ | | | | | | | * Pass `**kwargs` to backend storage classes, split out any that are valid for the backend-specific connection function/class, and pass them to the connection * Add intersphinx links to docs for dependencies * Update and format some more backend class docstrings * Remove 'Unrecognized keyword arguments' warning from `BaseStorage` * Turn `warnings.warn` about using secret keys into a `logging.warning` (due to complaints about too many messages)
* Add option to manually cache response objectsJordan Cook2021-04-194-2/+12
| | | | Updates #98
* Replace deprecated pymongo Collection.count() with estimated_document_count()v0.6.3Jordan Cook2021-04-193-2/+3
|
* Update changelog and contributorsJordan Cook2021-04-193-8/+11
|
* Merge branch 'test-updates'Jordan Cook2021-04-196-25/+22
|\
| * Use pytest-order to order tests; remove ipdb recommendationJordan Cook2021-04-196-22/+9
| |
| * Run DynamoDB integration tests last, since the DynamoDB container takes ↵Jordan Cook2021-04-182-4/+10
| | | | | | | | longer to initialize
| * Add some more info about testingJordan Cook2021-04-182-8/+12
|/
* Merge pull request #235 from JWCook/kwarg_warningsJordan Cook2021-04-184-13/+26
|\ | | | | Fix false positive warning with include_get_headers
| * Don't show warnings for 'include_get_headers' and 'ignored_parameters' ↵Jordan Cook2021-04-184-13/+26
|/ | | | | | | kwargs in BaseStorage Also don't name them as private members, since they can safely by changed after initialization (e.g., `session.cache.include_get_headers = True`)
* Merge pull request #234 from shiftinv/fix-decode-contentJordan Cook2021-04-183-28/+41
|\ | | | | Fix handling of decode_content parameter for raw.read(...)
| * Read manually instead of using _body, move decode tests to integration testsshiftinv2021-04-183-26/+27
| |
| * Improve raw response reset, update testsshiftinv2021-04-182-45/+35
| |
| * Fix handling of decode_content parameter for raw.read(...)shiftinv2021-04-182-15/+37
|/
* Merge branch 'dev'Jordan Cook2021-04-174-4/+34
|\
| * Set up automatic pre-release builds from dev branchJordan Cook2021-04-174-4/+34
|/
* Add warning about cache_disabled() not being thread-safe, and use a lock for ↵Jordan Cook2021-04-171-5/+14
| | | | request_expire_after()
* Merge pull request #231 from JWCook/docsJordan Cook2021-04-1612-5/+181
|\ | | | | Include example scripts on readthedocs
| * Include example scripts on readthedocsJordan Cook2021-04-1611-5/+135
| |
| * Add example of logging non-cached requestsJordan Cook2021-04-165-0/+46
|/
* Explicitly include docs, tests, and examples in sdistv0.6.2Jordan Cook2021-04-143-2/+9
|
* Update changelog and contributorsv0.6.1Jordan Cook2021-04-132-2/+7
|
* Merge pull request #228 from JWCook/backend-integration-testsJordan Cook2021-04-1212-147/+226
|\ | | | | Add & update backend integration tests
| * Update GridFSPickleDict.__delitem__ to raise a KeyError for missing itemsJordan Cook2021-04-122-4/+10
| |