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

Update the query only branch. #297

Merged
merged 129 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
a6212df
Remove unused "env" setting from pytest section
grantjenks Aug 23, 2020
82b45e8
Remove nose references
grantjenks Aug 23, 2020
83fe89c
Fixes for pylint in Python 3.8
grantjenks Aug 23, 2020
e197a93
Update 2019 date references to 2020
grantjenks Aug 23, 2020
2ba5b79
Update references to Python 2 support
grantjenks Aug 23, 2020
4497cfc
Remove Python 2 shims
grantjenks Aug 23, 2020
8e0f545
Add flake8 to linters and fix issues
grantjenks Aug 23, 2020
4f2ff54
Add locked method to Lock
bungoume Aug 1, 2020
a8a014c
Add paragraph to caveats about cache volume for Issue #140
grantjenks Aug 23, 2020
b1ab12c
Bump version to 5.0.0
grantjenks Aug 23, 2020
38bd901
Remove Python 2 mapping methods keys/values/items/iter*/view*
grantjenks Aug 23, 2020
a1bfadd
Update tests for Python 3
grantjenks Aug 23, 2020
cdeee61
Bump version to 5.0.1
grantjenks Aug 23, 2020
1f339c1
Bump version to 5.0.2
grantjenks Aug 26, 2020
d6c3a49
Add python_requires kwarg to setup
grantjenks Sep 9, 2020
9670fbb
Bump version to 5.0.3
grantjenks Sep 9, 2020
49205f5
Prevent cache shard attribute access when unsafe
grantjenks Nov 9, 2020
77ca254
Support transactions in FanoutCache (probably a bad idea)
grantjenks Nov 9, 2020
c5259bd
Bump version to 5.1.0
grantjenks Nov 9, 2020
40ce0de
Use no hardcoded /tmp/diskcache/... paths in tests
grantjenks Nov 9, 2020
c4ba1f7
replace open mode 'w' to 'x'
Cologler Dec 11, 2020
ce44a42
Use disk provided by the user whenever possible
i404788 Jan 20, 2021
9a300bd
Remove transaction from Deque.__init__
grantjenks Jan 21, 2021
8b0f68b
Use the same Disk in FanoutCache as in Index and Deque subdirs
grantjenks Jan 21, 2021
fcd3164
Remove travis and appveyor in favor of GitHub Actions
grantjenks Jan 22, 2021
8d2009a
Rewrite k/v store benchmarking to avoid IPython "magic" syntax
grantjenks Jan 22, 2021
b7ecbe9
Update development requirements for editable install
grantjenks Jan 22, 2021
2ed7787
I blue it
grantjenks Jan 22, 2021
3b87dde
Make imports consistent with isort
grantjenks Jan 22, 2021
c40b57f
Increase max attributes to 8
grantjenks Jan 22, 2021
58227d1
Tell mypy to ignore django
grantjenks Jan 22, 2021
db76f11
Remove useless `dataset` target
grantjenks Jan 22, 2021
b2c0ae4
Ignore type errors when setting class attributes
grantjenks Jan 22, 2021
585f47f
Add django to deps for sphinx and pylint
grantjenks Jan 22, 2021
945ee10
Tell doc8 to ignore docs/_build dir
grantjenks Jan 22, 2021
4bbe73f
Update flake8 configs
grantjenks Jan 22, 2021
99f0ca2
Flake8 fixes (mostly removing useless module imports)
grantjenks Jan 22, 2021
4b0fc23
Update pylint and fix code
grantjenks Jan 22, 2021
c654aed
Update Sphinx and re-gen conf.py
grantjenks Jan 22, 2021
d1cf8c5
Update copyright year
grantjenks Jan 22, 2021
6df6505
Update readme badges and CI notes
grantjenks Jan 22, 2021
7212702
Pin jedi for ipython
grantjenks Jan 22, 2021
e49358a
Skip help() examples when running doctest
grantjenks Jan 22, 2021
0d41722
Fix configs for pytest
grantjenks Jan 22, 2021
a5d1c73
Add branch coverage and decrease coverage minimum to 96
grantjenks Jan 22, 2021
fc38bd9
Ignore more .coverage files
grantjenks Jan 22, 2021
6b69447
Bump version to 5.2.0
grantjenks Jan 22, 2021
619eb69
Install libmemcached-dev for release action
grantjenks Jan 23, 2021
e1d7c4a
Bump version to 5.2.1
grantjenks Jan 23, 2021
12c1db2
Add Python 3.9 support trove classifier.
thedrow Jan 28, 2021
660e53d
Run integration on pull requests
grantjenks Jan 30, 2021
2ba659e
Fix typo
joakimnordling Mar 28, 2021
12400ec
Fix the URL to Django documentation for cache.
maxking May 21, 2021
b460e74
remove leftovers from Travis and AppVeyor
jugmac00 Jun 7, 2021
d20ddb3
remove unused imports
jugmac00 Jun 8, 2021
d9b9d06
Ignore pylint's consider-using-with in Disk.fetch
grantjenks Jun 9, 2021
fac9ad3
Simplify ENOENT handling around fetch() and remove()
grantjenks Aug 31, 2021
ceff81c
Add doc about IOError
grantjenks Aug 31, 2021
aefb2fe
Add notes about changes to store() and remove()
grantjenks Aug 31, 2021
49c5979
Update remove to cleanup parent dirs
grantjenks Sep 1, 2021
1acab3b
Remove logic from filename() for creating directories
grantjenks Sep 1, 2021
b86aa9e
Modify store() to create the subdirs when writing the file (1 of 4)
grantjenks Sep 1, 2021
879a65a
Refactor file writing logic to retry makedirs
grantjenks Sep 7, 2021
226a5cf
Add test for Lock.locked()
grantjenks Sep 7, 2021
9d5c0b7
Test re-entrancy of "rlock"
grantjenks Sep 7, 2021
14094b3
Delete EACCESS error tests
grantjenks Sep 7, 2021
2f18867
Test Cache.memoize() with typed kwargs
grantjenks Sep 7, 2021
094b873
Test JSONDisk.get by iterating cache
grantjenks Sep 7, 2021
b92f2fd
Increase coverage to 97%
grantjenks Sep 7, 2021
f950332
Add test for cleaning up dirs
grantjenks Sep 7, 2021
587f00d
Add TODO for testing Disk._write
grantjenks Sep 7, 2021
28aa595
Add tests for Disk._write
grantjenks Sep 14, 2021
a2e461a
Add a pragma "no cover" statements and increase threshold to 98
grantjenks Sep 14, 2021
ab1484d
Blue fixes (mostly docstring triple quotes)
grantjenks Sep 14, 2021
72bbd73
Pylint fixes
grantjenks Sep 14, 2021
3e87128
Disable no-self-use in Disk._write
grantjenks Sep 14, 2021
fbc537a
Add `ignore` to memoize()
grantjenks Sep 14, 2021
bd800aa
Fixes for blue
grantjenks Sep 14, 2021
606d8f2
Fixes #201 added github repo to project_urls
AbhinavOmprakash Jun 11, 2021
c22d3ee
Fixup formatting for project urls
grantjenks Sep 14, 2021
d55a50e
Stop using ENOVAL in args_to_key()
grantjenks Sep 14, 2021
b10b386
Add caveat about inconsistent pickles
grantjenks Sep 14, 2021
3ad6c0e
Bug Fix: Use "ignore" keyword argument with Index.memoize()
grantjenks Sep 14, 2021
4de3c0e
Drop old Ubuntu from integration testing
grantjenks Sep 14, 2021
6ed012a
docs: fix typo
artiom Sep 29, 2021
20f1d93
Disable consider-using-f-string
grantjenks Sep 29, 2021
7bfbce6
Support for Python 3.10 in testing (#238)
grantjenks Nov 30, 2021
78a5cc6
Update tests for Django 3.2
grantjenks Dec 31, 2021
f3836f9
Fix DjangoCache.delete to return True/False
grantjenks Dec 31, 2021
8da6634
Bump Django testing to 3.2
grantjenks Dec 31, 2021
221f3d3
Remove unused imports
grantjenks Dec 31, 2021
5ac7796
Run isort
grantjenks Dec 31, 2021
1cb1425
Bump version to 5.4.0
grantjenks Dec 31, 2021
c9844bb
Put commands above deps for doc8 testenv
grantjenks Feb 20, 2022
2d2cc8b
Update rsync command for uploading docs
grantjenks Feb 20, 2022
c177446
Remove unused import
grantjenks Apr 11, 2023
f3fcdff
Update Cache(...) params when allocating
grantjenks Apr 11, 2023
ee7a248
Add docs about the eviction policy to recipes
grantjenks Apr 11, 2023
fb2fa2c
Test on Django 4.2 LTS
grantjenks Apr 11, 2023
0a97833
Update year to 2023
grantjenks Apr 11, 2023
712cc18
Bump python testing to 3.11
grantjenks Apr 11, 2023
d7ae099
i blue it
grantjenks Apr 11, 2023
a53283d
Update requirements
grantjenks Apr 11, 2023
b22a7d5
Update pylint
grantjenks Apr 11, 2023
471aa5e
Drop Python 3.7 from testing
grantjenks Apr 11, 2023
c14345f
Update tests for Django 4.2
grantjenks Apr 11, 2023
0294d58
Bump version to v5.5.0
grantjenks Apr 11, 2023
6cd6888
Drop 3.7 from CI
grantjenks Apr 11, 2023
bbac13b
Install dev requirements for wheel package
grantjenks Apr 11, 2023
0f5d8ed
Bump version to 5.5.1
grantjenks Apr 11, 2023
fe5ee43
Close the cache explicitly before deleting the reference
grantjenks Apr 17, 2023
9380c78
Oops, close the cache, not the deque
grantjenks Apr 17, 2023
f5a17ff
Shutup pylint
grantjenks Apr 18, 2023
ef94856
Bump version to 5.5.2
grantjenks Apr 18, 2023
74e554c
Bump versions of checkout and setup-python
grantjenks Apr 18, 2023
35dbeab
Add maxlen parameter to diskcache.Deque (#191)
grantjenks Apr 18, 2023
4beffe8
Bump version to 5.6.0
grantjenks Apr 18, 2023
cffbcec
Fix docs re: JSONDisk
grantjenks Apr 18, 2023
f81160f
Support pathlib.Path as directory argument
grantjenks Apr 18, 2023
4d30686
Bump version to 5.6.1
grantjenks Apr 18, 2023
17a5f42
Bug fix: Fix peek when value is so large that a file is used (#288)
grantjenks Aug 31, 2023
63a5f60
Bump version to 5.6.2
grantjenks Aug 31, 2023
23d10dc
Update release.yml to use pypa/gh-action-pypi-publish
grantjenks Aug 31, 2023
323787f
Bump version to 5.6.3
grantjenks Aug 31, 2023
a07c077
Merge remote-tracking branch 'origin/master' into query-only-2023
audetto Nov 16, 2023
ef3a72d
Fix a few things after merging.
audetto Nov 16, 2023
cb5c836
Fix blue check.
audetto Nov 17, 2023
ae848f0
Fix pylint errors R0904 and R0915.
audetto Nov 17, 2023
abe3915
Add read-only tests.
audetto Nov 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: integration

on: [push, pull_request]

jobs:

checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 8
matrix:
check: [bluecheck, doc8, docs, flake8, isortcheck, mypy, pylint, rstcheck]

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install tox
- name: Run checks with tox
run: |
tox -e ${{ matrix.check }}

tests:
needs: checks
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, '3.10', 3.11]

steps:
- name: Set up Python ${{ matrix.python-version }} x64
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- uses: actions/checkout@v3

- name: Install tox
run: |
pip install --upgrade pip
pip install tox

- name: Test with tox
run: tox -e py
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: release

on:
push:
tags:
- v*

jobs:

upload:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install build
run: pip install build

- name: Create build
run: python -m build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# test files/directories
/.cache/
.coverage
.coverage*
.pytest_cache/
/.tox/

Expand Down
Loading