dependency-cache 0.2.2__tar.gz → 0.2.3__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.
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/.github/workflows/CI.yml +72 -33
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/PKG-INFO +1 -1
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/pyproject.toml +1 -1
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/uv.lock +1 -1
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/.github/workflows/Test.yml +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/.gitignore +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/Cargo.lock +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/Cargo.toml +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/LICENSE +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/README.md +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/dependency_cache/__init__.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/dependency_cache/dependency_cache.pyi +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/dependency_cache/plot_dependency_graph.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/automagic_dependency_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/inheritance_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/manual_dependency_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/runtime_dependencies_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/runtime_function_calls_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/static_function_calls_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/use_cache_example.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/test_python.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/test_python_automagic.py +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/decorator.rs +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/decorator_factory.rs +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/dependency_cache_base.rs +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/dependency_graph.rs +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/lib.rs +0 -0
- {dependency_cache-0.2.2 → dependency_cache-0.2.3}/src/py_introspection_utils.rs +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# This file is autogenerated by maturin v1.
|
|
1
|
+
# This file is autogenerated by maturin v1.14.1
|
|
2
2
|
# To update, run
|
|
3
3
|
#
|
|
4
|
-
# maturin generate-ci github
|
|
4
|
+
# maturin generate-ci github -o .github\workflows\CI.yml
|
|
5
5
|
#
|
|
6
6
|
name: CI
|
|
7
7
|
|
|
@@ -30,19 +30,26 @@ jobs:
|
|
|
30
30
|
- runner: ubuntu-22.04
|
|
31
31
|
target: ppc64le
|
|
32
32
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
34
|
-
- uses: actions/setup-python@
|
|
33
|
+
- uses: actions/checkout@v6
|
|
34
|
+
- uses: actions/setup-python@v6
|
|
35
35
|
with:
|
|
36
|
-
python-version: 3.
|
|
36
|
+
python-version: "3.8"
|
|
37
37
|
- name: Build wheels
|
|
38
38
|
uses: PyO3/maturin-action@v1
|
|
39
39
|
with:
|
|
40
40
|
target: ${{ matrix.platform.target }}
|
|
41
|
-
args: --release --out dist
|
|
41
|
+
args: --release --out dist
|
|
42
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
43
|
+
manylinux: auto
|
|
44
|
+
- name: Build free-threaded wheels
|
|
45
|
+
uses: PyO3/maturin-action@v1
|
|
46
|
+
with:
|
|
47
|
+
target: ${{ matrix.platform.target }}
|
|
48
|
+
args: --release --out dist -i python3.14t
|
|
42
49
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
43
50
|
manylinux: auto
|
|
44
51
|
- name: Upload wheels
|
|
45
|
-
uses: actions/upload-artifact@
|
|
52
|
+
uses: actions/upload-artifact@v6
|
|
46
53
|
with:
|
|
47
54
|
name: wheels-linux-${{ matrix.platform.target }}
|
|
48
55
|
path: dist
|
|
@@ -61,19 +68,26 @@ jobs:
|
|
|
61
68
|
- runner: ubuntu-22.04
|
|
62
69
|
target: armv7
|
|
63
70
|
steps:
|
|
64
|
-
- uses: actions/checkout@
|
|
65
|
-
- uses: actions/setup-python@
|
|
71
|
+
- uses: actions/checkout@v6
|
|
72
|
+
- uses: actions/setup-python@v6
|
|
66
73
|
with:
|
|
67
|
-
python-version: 3.
|
|
74
|
+
python-version: "3.8"
|
|
68
75
|
- name: Build wheels
|
|
69
76
|
uses: PyO3/maturin-action@v1
|
|
70
77
|
with:
|
|
71
78
|
target: ${{ matrix.platform.target }}
|
|
72
|
-
args: --release --out dist
|
|
79
|
+
args: --release --out dist
|
|
80
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
81
|
+
manylinux: musllinux_1_2
|
|
82
|
+
- name: Build free-threaded wheels
|
|
83
|
+
uses: PyO3/maturin-action@v1
|
|
84
|
+
with:
|
|
85
|
+
target: ${{ matrix.platform.target }}
|
|
86
|
+
args: --release --out dist -i python3.14t
|
|
73
87
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
74
88
|
manylinux: musllinux_1_2
|
|
75
89
|
- name: Upload wheels
|
|
76
|
-
uses: actions/upload-artifact@
|
|
90
|
+
uses: actions/upload-artifact@v6
|
|
77
91
|
with:
|
|
78
92
|
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
79
93
|
path: dist
|
|
@@ -85,22 +99,37 @@ jobs:
|
|
|
85
99
|
platform:
|
|
86
100
|
- runner: windows-latest
|
|
87
101
|
target: x64
|
|
102
|
+
python_arch: x64
|
|
88
103
|
- runner: windows-latest
|
|
89
104
|
target: x86
|
|
105
|
+
python_arch: x86
|
|
106
|
+
- runner: windows-11-arm
|
|
107
|
+
target: aarch64
|
|
108
|
+
python_arch: arm64
|
|
90
109
|
steps:
|
|
91
|
-
- uses: actions/checkout@
|
|
92
|
-
- uses: actions/setup-python@
|
|
110
|
+
- uses: actions/checkout@v6
|
|
111
|
+
- uses: actions/setup-python@v6
|
|
93
112
|
with:
|
|
94
|
-
python-version: 3.
|
|
95
|
-
architecture: ${{ matrix.platform.
|
|
113
|
+
python-version: "3.13"
|
|
114
|
+
architecture: ${{ matrix.platform.python_arch }}
|
|
96
115
|
- name: Build wheels
|
|
97
116
|
uses: PyO3/maturin-action@v1
|
|
98
117
|
with:
|
|
99
118
|
target: ${{ matrix.platform.target }}
|
|
100
|
-
args: --release --out dist
|
|
119
|
+
args: --release --out dist
|
|
120
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
121
|
+
- uses: actions/setup-python@v6
|
|
122
|
+
with:
|
|
123
|
+
python-version: "3.14t"
|
|
124
|
+
architecture: ${{ matrix.platform.python_arch }}
|
|
125
|
+
- name: Build free-threaded wheels
|
|
126
|
+
uses: PyO3/maturin-action@v1
|
|
127
|
+
with:
|
|
128
|
+
target: ${{ matrix.platform.target }}
|
|
129
|
+
args: --release --out dist -i python3.14t
|
|
101
130
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
102
131
|
- name: Upload wheels
|
|
103
|
-
uses: actions/upload-artifact@
|
|
132
|
+
uses: actions/upload-artifact@v6
|
|
104
133
|
with:
|
|
105
134
|
name: wheels-windows-${{ matrix.platform.target }}
|
|
106
135
|
path: dist
|
|
@@ -112,21 +141,30 @@ jobs:
|
|
|
112
141
|
platform:
|
|
113
142
|
- runner: macos-15-intel
|
|
114
143
|
target: x86_64
|
|
115
|
-
- runner: macos-
|
|
144
|
+
- runner: macos-latest
|
|
116
145
|
target: aarch64
|
|
117
146
|
steps:
|
|
118
|
-
- uses: actions/checkout@
|
|
119
|
-
- uses: actions/setup-python@
|
|
147
|
+
- uses: actions/checkout@v6
|
|
148
|
+
- uses: actions/setup-python@v6
|
|
120
149
|
with:
|
|
121
|
-
python-version: 3.
|
|
150
|
+
python-version: "3.8"
|
|
122
151
|
- name: Build wheels
|
|
123
152
|
uses: PyO3/maturin-action@v1
|
|
124
153
|
with:
|
|
125
154
|
target: ${{ matrix.platform.target }}
|
|
126
|
-
args: --release --out dist
|
|
155
|
+
args: --release --out dist
|
|
156
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
157
|
+
- uses: actions/setup-python@v6
|
|
158
|
+
with:
|
|
159
|
+
python-version: "3.14t"
|
|
160
|
+
- name: Build free-threaded wheels
|
|
161
|
+
uses: PyO3/maturin-action@v1
|
|
162
|
+
with:
|
|
163
|
+
target: ${{ matrix.platform.target }}
|
|
164
|
+
args: --release --out dist -i python3.14t
|
|
127
165
|
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
128
166
|
- name: Upload wheels
|
|
129
|
-
uses: actions/upload-artifact@
|
|
167
|
+
uses: actions/upload-artifact@v6
|
|
130
168
|
with:
|
|
131
169
|
name: wheels-macos-${{ matrix.platform.target }}
|
|
132
170
|
path: dist
|
|
@@ -134,14 +172,14 @@ jobs:
|
|
|
134
172
|
sdist:
|
|
135
173
|
runs-on: ubuntu-latest
|
|
136
174
|
steps:
|
|
137
|
-
- uses: actions/checkout@
|
|
175
|
+
- uses: actions/checkout@v6
|
|
138
176
|
- name: Build sdist
|
|
139
177
|
uses: PyO3/maturin-action@v1
|
|
140
178
|
with:
|
|
141
179
|
command: sdist
|
|
142
180
|
args: --out dist
|
|
143
181
|
- name: Upload sdist
|
|
144
|
-
uses: actions/upload-artifact@
|
|
182
|
+
uses: actions/upload-artifact@v6
|
|
145
183
|
with:
|
|
146
184
|
name: wheels-sdist
|
|
147
185
|
path: dist
|
|
@@ -152,18 +190,19 @@ jobs:
|
|
|
152
190
|
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
153
191
|
needs: [linux, musllinux, windows, macos, sdist]
|
|
154
192
|
permissions:
|
|
193
|
+
# Use to sign the release artifacts
|
|
155
194
|
id-token: write
|
|
195
|
+
# Used to upload release artifacts
|
|
156
196
|
contents: write
|
|
197
|
+
# Used to generate artifact attestation
|
|
157
198
|
attestations: write
|
|
158
199
|
steps:
|
|
159
|
-
- uses: actions/download-artifact@
|
|
200
|
+
- uses: actions/download-artifact@v7
|
|
160
201
|
- name: Generate artifact attestation
|
|
161
|
-
uses: actions/attest
|
|
202
|
+
uses: actions/attest@v4
|
|
162
203
|
with:
|
|
163
204
|
subject-path: 'wheels-*/*'
|
|
205
|
+
- name: Install uv
|
|
206
|
+
uses: astral-sh/setup-uv@v7
|
|
164
207
|
- name: Publish to PyPI
|
|
165
|
-
|
|
166
|
-
with:
|
|
167
|
-
command: upload
|
|
168
|
-
args: --non-interactive --skip-existing wheels-*/*
|
|
169
|
-
trust-publishing: true
|
|
208
|
+
run: uv publish 'wheels-*/*'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dependency_cache
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -11,7 +11,7 @@ classifiers = [
|
|
|
11
11
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
12
12
|
]
|
|
13
13
|
keywords = ["caching", "dependency-graph", "invalidation"]
|
|
14
|
-
version = "0.2.
|
|
14
|
+
version = "0.2.3"
|
|
15
15
|
description = "A caching library for Python object methods that utilises a dependency graph to track relationships and control invalidation, enabling efficient recomputation"
|
|
16
16
|
readme = "README.md"
|
|
17
17
|
license = { text = "MIT" }
|
|
@@ -329,7 +329,7 @@ wheels = [
|
|
|
329
329
|
|
|
330
330
|
[[package]]
|
|
331
331
|
name = "dependency-cache"
|
|
332
|
-
version = "0.2.
|
|
332
|
+
version = "0.2.3"
|
|
333
333
|
source = { editable = "." }
|
|
334
334
|
dependencies = [
|
|
335
335
|
{ name = "matplotlib", version = "3.7.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/dependency_cache/dependency_cache.pyi
RENAMED
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/dependency_cache/plot_dependency_graph.py
RENAMED
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/automagic_dependency_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/manual_dependency_example.py
RENAMED
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/runtime_dependencies_example.py
RENAMED
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/runtime_function_calls_example.py
RENAMED
|
File without changes
|
{dependency_cache-0.2.2 → dependency_cache-0.2.3}/python/examples/static_function_calls_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|