diskcache-community 5.8.3__tar.gz → 5.8.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diskcache_community-5.8.3/diskcache_community.egg-info → diskcache_community-5.8.4}/PKG-INFO +7 -24
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/README.md +3 -18
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/__init__.py +4 -4
- diskcache_community-5.8.4/diskcache_community/arrays.py +717 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/arrays.pyi +4 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/core.py +43 -17
- {diskcache_community-5.8.3 → diskcache_community-5.8.4/diskcache_community.egg-info}/PKG-INFO +7 -24
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community.egg-info/SOURCES.txt +0 -1
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/pyproject.toml +4 -5
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_safedisk_numpy.py +753 -35
- diskcache_community-5.8.3/NOTICE +0 -9
- diskcache_community-5.8.3/diskcache_community/arrays.py +0 -329
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/LICENSE +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/__init__.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/_types.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/cli.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/core.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/djangocache.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/djangocache.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/fanout.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/fanout.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/persistent.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/persistent.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/py.typed +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/recipes.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community/recipes.pyi +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community.egg-info/dependency_links.txt +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/diskcache_community.egg-info/top_level.txt +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/setup.cfg +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_core.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_default_disk.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_deque.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_djangocache.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_doctest.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_entry_errors.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_fanout.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_golden.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_index.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_init.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_readonly.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_recipes.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_safedisk.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_safedisk_types.py +0 -0
- {diskcache_community-5.8.3 → diskcache_community-5.8.4}/tests/test_safejsondisk.py +0 -0
{diskcache_community-5.8.3/diskcache_community.egg-info → diskcache_community-5.8.4}/PKG-INFO
RENAMED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diskcache-community
|
|
3
|
-
Version: 5.8.
|
|
4
|
-
Summary: Disk Cache
|
|
5
|
-
Author:
|
|
6
|
-
Maintainer:
|
|
3
|
+
Version: 5.8.4
|
|
4
|
+
Summary: Disk Cache - Disk and file backed persistent cache.
|
|
5
|
+
Author: August V.
|
|
6
|
+
Maintainer: August V.
|
|
7
7
|
License-Expression: Apache-2.0
|
|
8
8
|
Project-URL: Homepage, https://github.com/secondwindoss/diskcache-community
|
|
9
9
|
Project-URL: Documentation, https://diskcache-community.readthedocs.io/
|
|
10
10
|
Project-URL: Source, https://github.com/secondwindoss/diskcache-community
|
|
11
11
|
Project-URL: Tracker, https://github.com/secondwindoss/diskcache-community/issues
|
|
12
|
-
Project-URL: Upstream, https://github.com/grantjenks/python-diskcache
|
|
13
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
13
|
Classifier: Intended Audience :: Developers
|
|
15
14
|
Classifier: Natural Language :: English
|
|
@@ -25,7 +24,6 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
25
24
|
Requires-Python: >=3.8
|
|
26
25
|
Description-Content-Type: text/markdown
|
|
27
26
|
License-File: LICENSE
|
|
28
|
-
License-File: NOTICE
|
|
29
27
|
Dynamic: license-file
|
|
30
28
|
|
|
31
29
|
<br />
|
|
@@ -57,16 +55,6 @@ Dynamic: license-file
|
|
|
57
55
|
</p>
|
|
58
56
|
<br />
|
|
59
57
|
|
|
60
|
-
> [!IMPORTANT]
|
|
61
|
-
> This is a community fork of [python-diskcache](https://github.com/grantjenks/python-diskcache),
|
|
62
|
-
> whose last release was 5.6.3 in August 2023. It is published on PyPI as
|
|
63
|
-
> `diskcache-community` and imported as `diskcache_community`, so it installs
|
|
64
|
-
> next to the upstream `diskcache` package. It carries the fix path for
|
|
65
|
-
> [CVE-2025-69872](https://github.com/advisories/GHSA-w8v5-vhqr-4h9v) and
|
|
66
|
-
> reads and writes the same cache directories as 5.6.3.
|
|
67
|
-
> See [Why this fork](#why-this-fork), [Migrating from diskcache](#migrating-from-diskcache)
|
|
68
|
-
> and [Fix CVE-2025-69872 in diskcache](https://diskcache-community.readthedocs.io/en/latest/fix-cve-2025-69872.html).
|
|
69
|
-
|
|
70
58
|
## Install
|
|
71
59
|
|
|
72
60
|
```sh
|
|
@@ -157,8 +145,7 @@ The upstream project stopped releasing after 5.6.3 (August 2023) and its last
|
|
|
157
145
|
commit landed in March 2024. In 2025, CVE-2025-69872 was published against
|
|
158
146
|
every released version: the cache reads pickled values with `pickle.load`, so
|
|
159
147
|
anyone who can write into the cache directory can run code in the process
|
|
160
|
-
that reads from it.
|
|
161
|
-
is no fixed upstream version.
|
|
148
|
+
that reads from it.
|
|
162
149
|
|
|
163
150
|
This fork publishes the same library as `diskcache-community`. It keeps the
|
|
164
151
|
`cache.db` schema, the file layout, the serialization modes and the memoize
|
|
@@ -171,9 +158,6 @@ dependencies in the same environment still use the upstream `diskcache`.
|
|
|
171
158
|
The [changelog](CHANGELOG.md) lists every change and
|
|
172
159
|
[SECURITY.md](SECURITY.md) describes what is and is not fixed.
|
|
173
160
|
|
|
174
|
-
DiskCache was written and maintained by Grant Jenks from 2016 to 2023. This
|
|
175
|
-
fork keeps his license, copyright and author credit; see [NOTICE](NOTICE).
|
|
176
|
-
|
|
177
161
|
## Migrating from diskcache
|
|
178
162
|
|
|
179
163
|
The public API and the files on disk are unchanged; only the import name
|
|
@@ -252,6 +236,5 @@ how to run the tests. Report vulnerabilities privately as described in
|
|
|
252
236
|
|
|
253
237
|
## License
|
|
254
238
|
|
|
255
|
-
Copyright
|
|
256
|
-
|
|
257
|
-
[Apache License, Version 2.0](LICENSE).
|
|
239
|
+
Copyright 2026 August V.
|
|
240
|
+
Licensed under the [Apache License, Version 2.0](LICENSE).
|
|
@@ -27,16 +27,6 @@
|
|
|
27
27
|
</p>
|
|
28
28
|
<br />
|
|
29
29
|
|
|
30
|
-
> [!IMPORTANT]
|
|
31
|
-
> This is a community fork of [python-diskcache](https://github.com/grantjenks/python-diskcache),
|
|
32
|
-
> whose last release was 5.6.3 in August 2023. It is published on PyPI as
|
|
33
|
-
> `diskcache-community` and imported as `diskcache_community`, so it installs
|
|
34
|
-
> next to the upstream `diskcache` package. It carries the fix path for
|
|
35
|
-
> [CVE-2025-69872](https://github.com/advisories/GHSA-w8v5-vhqr-4h9v) and
|
|
36
|
-
> reads and writes the same cache directories as 5.6.3.
|
|
37
|
-
> See [Why this fork](#why-this-fork), [Migrating from diskcache](#migrating-from-diskcache)
|
|
38
|
-
> and [Fix CVE-2025-69872 in diskcache](https://diskcache-community.readthedocs.io/en/latest/fix-cve-2025-69872.html).
|
|
39
|
-
|
|
40
30
|
## Install
|
|
41
31
|
|
|
42
32
|
```sh
|
|
@@ -127,8 +117,7 @@ The upstream project stopped releasing after 5.6.3 (August 2023) and its last
|
|
|
127
117
|
commit landed in March 2024. In 2025, CVE-2025-69872 was published against
|
|
128
118
|
every released version: the cache reads pickled values with `pickle.load`, so
|
|
129
119
|
anyone who can write into the cache directory can run code in the process
|
|
130
|
-
that reads from it.
|
|
131
|
-
is no fixed upstream version.
|
|
120
|
+
that reads from it.
|
|
132
121
|
|
|
133
122
|
This fork publishes the same library as `diskcache-community`. It keeps the
|
|
134
123
|
`cache.db` schema, the file layout, the serialization modes and the memoize
|
|
@@ -141,9 +130,6 @@ dependencies in the same environment still use the upstream `diskcache`.
|
|
|
141
130
|
The [changelog](CHANGELOG.md) lists every change and
|
|
142
131
|
[SECURITY.md](SECURITY.md) describes what is and is not fixed.
|
|
143
132
|
|
|
144
|
-
DiskCache was written and maintained by Grant Jenks from 2016 to 2023. This
|
|
145
|
-
fork keeps his license, copyright and author credit; see [NOTICE](NOTICE).
|
|
146
|
-
|
|
147
133
|
## Migrating from diskcache
|
|
148
134
|
|
|
149
135
|
The public API and the files on disk are unchanged; only the import name
|
|
@@ -222,6 +208,5 @@ how to run the tests. Report vulnerabilities privately as described in
|
|
|
222
208
|
|
|
223
209
|
## License
|
|
224
210
|
|
|
225
|
-
Copyright
|
|
226
|
-
|
|
227
|
-
[Apache License, Version 2.0](LICENSE).
|
|
211
|
+
Copyright 2026 August V.
|
|
212
|
+
Licensed under the [Apache License, Version 2.0](LICENSE).
|
|
@@ -72,8 +72,8 @@ except Exception: # pylint: disable=broad-except # pragma: no cover
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
__title__ = 'diskcache-community'
|
|
75
|
-
__version__ = '5.8.
|
|
76
|
-
__build__ =
|
|
77
|
-
__author__ = '
|
|
75
|
+
__version__ = '5.8.4'
|
|
76
|
+
__build__ = 0x050804
|
|
77
|
+
__author__ = 'August V.'
|
|
78
78
|
__license__ = 'Apache 2.0'
|
|
79
|
-
__copyright__ = 'Copyright
|
|
79
|
+
__copyright__ = 'Copyright 2026 August V.'
|