rust-py-cache 0.3.0__tar.gz → 0.3.1__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.
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/.github/workflows/release.yml +17 -8
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/CHANGELOG.md +15 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Cargo.lock +1 -1
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Cargo.toml +1 -1
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/PKG-INFO +1 -1
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/pyproject.toml +1 -1
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/python/rust_py_cache/__init__.py +1 -1
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/.gitignore +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/LICENSE +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Makefile +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/PUBLISHING.md +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/README.md +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/ROADMAP.md +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/clippy.toml +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/examples/django_example.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/examples/fastapi_example.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/python/rust_py_cache/decorators.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/cache.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/entry.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/lib.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/stats.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/sweeper.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/ttl.rs +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_cache_basic.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_delete.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_eviction.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_features.py +0 -0
- {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_set_get.py +0 -0
|
@@ -196,22 +196,31 @@ jobs:
|
|
|
196
196
|
path: dist
|
|
197
197
|
|
|
198
198
|
macos:
|
|
199
|
+
# Um job só, os dois targets: o runner `macos-latest` é ARM e compila o
|
|
200
|
+
# x86_64 de forma cruzada. Antes era uma matriz de dois jobs, e cada
|
|
201
|
+
# release precisava de DUAS máquinas macOS — a fila mais disputada do
|
|
202
|
+
# GitHub Actions. Em 20/10/2026 dois releases (monitor 0.5.0, audit 0.4.1)
|
|
203
|
+
# ficaram parados com "The job was not acquired by Runner of type hosted
|
|
204
|
+
# even after multiple attempts" à espera da segunda.
|
|
199
205
|
runs-on: macos-latest
|
|
200
206
|
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
|
|
201
207
|
needs: [lint, test]
|
|
202
|
-
strategy:
|
|
203
|
-
fail-fast: false
|
|
204
|
-
matrix:
|
|
205
|
-
target: [x86_64, aarch64]
|
|
206
208
|
steps:
|
|
207
209
|
- uses: actions/checkout@v4
|
|
208
|
-
-
|
|
210
|
+
- name: Build wheels (x86_64)
|
|
211
|
+
uses: PyO3/maturin-action@v1
|
|
209
212
|
with:
|
|
210
|
-
target:
|
|
213
|
+
target: x86_64
|
|
211
214
|
args: --release --out dist
|
|
212
|
-
-
|
|
215
|
+
- name: Build wheels (aarch64)
|
|
216
|
+
uses: PyO3/maturin-action@v1
|
|
217
|
+
with:
|
|
218
|
+
target: aarch64
|
|
219
|
+
args: --release --out dist
|
|
220
|
+
- name: Upload wheels
|
|
221
|
+
uses: actions/upload-artifact@v4
|
|
213
222
|
with:
|
|
214
|
-
name: wheels-macos
|
|
223
|
+
name: wheels-macos
|
|
215
224
|
path: dist
|
|
216
225
|
|
|
217
226
|
sdist:
|
|
@@ -5,6 +5,21 @@ Todas as mudanças relevantes deste projeto são registradas aqui.
|
|
|
5
5
|
O formato segue [Keep a Changelog](https://keepachangelog.com/pt-BR/1.1.0/),
|
|
6
6
|
e o versionamento segue [SemVer](https://semver.org/lang/pt-BR/).
|
|
7
7
|
|
|
8
|
+
## [0.3.1] — não publicada
|
|
9
|
+
|
|
10
|
+
Só CI: nada muda no comportamento da biblioteca nem nas wheels publicadas.
|
|
11
|
+
|
|
12
|
+
### Alterado
|
|
13
|
+
|
|
14
|
+
- **Build macOS num job só.** O `release.yml` compilava `x86_64` e `aarch64`
|
|
15
|
+
numa matriz de dois jobs, e cada release precisava de duas máquinas macOS —
|
|
16
|
+
a fila mais disputada do GitHub Actions. Em 20/10/2026 dois releases
|
|
17
|
+
(`rust-py-monitor` 0.5.0 e `rust-py-audit` 0.4.1) ficaram parados com «The
|
|
18
|
+
job was not acquired by Runner of type hosted even after multiple attempts»
|
|
19
|
+
esperando a segunda máquina. Agora um único job em `macos-latest` (ARM)
|
|
20
|
+
compila os dois targets — o `x86_64` de forma cruzada, como já era feito —
|
|
21
|
+
e sobe um artefato `wheels-macos`. As wheels geradas são as mesmas.
|
|
22
|
+
|
|
8
23
|
## [0.3.0] — não publicada
|
|
9
24
|
|
|
10
25
|
Evicção LRU com custo amortizado O(1) (**P2-2**). Inclui também tudo o que
|
|
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
|
|
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
|
|
File without changes
|