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.
Files changed (28) hide show
  1. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/.github/workflows/release.yml +17 -8
  2. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/CHANGELOG.md +15 -0
  3. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Cargo.lock +1 -1
  4. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Cargo.toml +1 -1
  5. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/PKG-INFO +1 -1
  6. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/pyproject.toml +1 -1
  7. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/python/rust_py_cache/__init__.py +1 -1
  8. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/.gitignore +0 -0
  9. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/LICENSE +0 -0
  10. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/Makefile +0 -0
  11. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/PUBLISHING.md +0 -0
  12. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/README.md +0 -0
  13. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/ROADMAP.md +0 -0
  14. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/clippy.toml +0 -0
  15. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/examples/django_example.py +0 -0
  16. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/examples/fastapi_example.py +0 -0
  17. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/python/rust_py_cache/decorators.py +0 -0
  18. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/cache.rs +0 -0
  19. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/entry.rs +0 -0
  20. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/lib.rs +0 -0
  21. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/stats.rs +0 -0
  22. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/sweeper.rs +0 -0
  23. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/src/ttl.rs +0 -0
  24. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_cache_basic.py +0 -0
  25. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_delete.py +0 -0
  26. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_eviction.py +0 -0
  27. {rust_py_cache-0.3.0 → rust_py_cache-0.3.1}/tests/test_features.py +0 -0
  28. {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
- - uses: PyO3/maturin-action@v1
210
+ - name: Build wheels (x86_64)
211
+ uses: PyO3/maturin-action@v1
209
212
  with:
210
- target: ${{ matrix.target }}
213
+ target: x86_64
211
214
  args: --release --out dist
212
- - uses: actions/upload-artifact@v4
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-${{ matrix.target }}
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
@@ -202,7 +202,7 @@ dependencies = [
202
202
 
203
203
  [[package]]
204
204
  name = "rust_py_cache"
205
- version = "0.3.0"
205
+ version = "0.3.1"
206
206
  dependencies = [
207
207
  "dashmap",
208
208
  "pyo3",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust_py_cache"
3
- version = "0.3.0"
3
+ version = "0.3.1"
4
4
  edition = "2021"
5
5
  license = "MIT"
6
6
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rust-py-cache
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -8,7 +8,7 @@ build-backend = "maturin"
8
8
 
9
9
  [project]
10
10
  name = "rust-py-cache"
11
- version = "0.3.0"
11
+ version = "0.3.1"
12
12
  description = "An ultra-fast local cache for Python, powered by Rust."
13
13
  readme = "README.md"
14
14
  requires-python = ">=3.10"
@@ -19,4 +19,4 @@ class Cache(_RustCache):
19
19
 
20
20
 
21
21
  __all__ = ["Cache", "hello"]
22
- __version__ = "0.3.0"
22
+ __version__ = "0.3.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes