diskcache-rs 0.2.1__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.
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.cz.toml +1 -1
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/build-abi3.yml +1 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/build.yml +1 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/bump-version.yml +11 -3
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/release.yml +31 -45
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/CHANGELOG.md +14 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/Cargo.lock +1 -1
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/Cargo.toml +1 -1
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/PKG-INFO +1 -1
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/pull_request_template.md +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/benchmark.yml +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.github/workflows/ci.yml +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/.gitignore +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/Dockerfile.test +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/LICENSE +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/README.md +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/comprehensive_performance_test.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/detailed_profiling.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/final_performance_comparison.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/high_performance_test.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/memory_usage_test.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/micro_benchmark.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/optimization_validation_test.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/performance_comparison.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/precise_benchmark.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/benchmarks/set_performance_analysis.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/docker-compose.test.yml +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/examples/basic_usage.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/justfile +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/pyproject.toml +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/__init__.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/__init__.pyi +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/_diskcache_rs.pyi +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/cache.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/core.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/fast_cache.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/pickle_cache.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/python/diskcache_rs/rust_pickle.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/renovate.json +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/scripts/generate_stubs.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/scripts/sync_version.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/scripts/test-docker-network.sh +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/cache.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/error.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/eviction.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/lib.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/memory_cache.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/migration.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/pickle_cache.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/serialization.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/storage/optimized_backend.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/storage/tests.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/storage.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/src/utils.rs +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/__init__.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/benchmark_official.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/conftest.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_basic_operations.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_ci_benchmark.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_compatibility.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_cross_platform_network.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_docker_network.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_fast_cache.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_network_filesystem.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_performance.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_pickle_cache.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/tests/test_rust_pickle_performance.py +0 -0
- {diskcache_rs-0.2.1 → diskcache_rs-0.2.3}/uv.lock +0 -0
|
@@ -4,9 +4,12 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
+
|
|
7
8
|
permissions:
|
|
8
|
-
contents: write
|
|
9
|
-
pull-requests: write
|
|
9
|
+
contents: write # Required for: modify files, create tags, create releases
|
|
10
|
+
pull-requests: write # Optional: for automated PR operations
|
|
11
|
+
actions: write # Optional: for triggering other workflows
|
|
12
|
+
|
|
10
13
|
jobs:
|
|
11
14
|
bump-version:
|
|
12
15
|
if: "!startsWith(github.event.head_commit.message, 'bump:')"
|
|
@@ -14,12 +17,17 @@ jobs:
|
|
|
14
17
|
name: "Bump version and create changelog with commitizen"
|
|
15
18
|
steps:
|
|
16
19
|
- name: Check out
|
|
17
|
-
uses: actions/checkout@
|
|
20
|
+
uses: actions/checkout@v4
|
|
18
21
|
with:
|
|
19
22
|
fetch-depth: 0
|
|
20
23
|
token: '${{ secrets.GITHUB_TOKEN }}'
|
|
24
|
+
|
|
21
25
|
- name: Create bump and changelog
|
|
22
26
|
uses: commitizen-tools/commitizen-action@master
|
|
23
27
|
with:
|
|
24
28
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
25
29
|
branch: main
|
|
30
|
+
debug: true
|
|
31
|
+
|
|
32
|
+
- name: Print Version
|
|
33
|
+
run: echo "Bumped to version ${{ env.REVISION }}"
|
|
@@ -9,7 +9,9 @@ on:
|
|
|
9
9
|
workflow_call:
|
|
10
10
|
|
|
11
11
|
permissions:
|
|
12
|
-
contents:
|
|
12
|
+
contents: write # Required for creating releases and uploading artifacts
|
|
13
|
+
id-token: write # Required for PyPI trusted publishing
|
|
14
|
+
attestations: write # Required for artifact attestation
|
|
13
15
|
|
|
14
16
|
jobs:
|
|
15
17
|
# Call the build workflow to build standard wheels
|
|
@@ -17,12 +19,14 @@ jobs:
|
|
|
17
19
|
uses: ./.github/workflows/build.yml
|
|
18
20
|
permissions:
|
|
19
21
|
contents: read
|
|
22
|
+
actions: write # Required for uploading artifacts
|
|
20
23
|
|
|
21
24
|
# Call the ABI3 build workflow to build universal wheels
|
|
22
25
|
build-abi3:
|
|
23
26
|
uses: ./.github/workflows/build-abi3.yml
|
|
24
27
|
permissions:
|
|
25
28
|
contents: read
|
|
29
|
+
actions: write # Required for uploading artifacts
|
|
26
30
|
|
|
27
31
|
# Call the CI workflow to run tests
|
|
28
32
|
test:
|
|
@@ -73,7 +77,9 @@ jobs:
|
|
|
73
77
|
runs-on: ubuntu-latest
|
|
74
78
|
needs: [release]
|
|
75
79
|
permissions:
|
|
76
|
-
contents: write
|
|
80
|
+
contents: write # Required for creating releases
|
|
81
|
+
actions: read # Required for downloading artifacts
|
|
82
|
+
attestations: write # Required for artifact attestation
|
|
77
83
|
steps:
|
|
78
84
|
- uses: actions/checkout@v4
|
|
79
85
|
with:
|
|
@@ -81,42 +87,22 @@ jobs:
|
|
|
81
87
|
|
|
82
88
|
- name: Generate changelog
|
|
83
89
|
id: changelog
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
echo "" >> CHANGELOG.md
|
|
101
|
-
|
|
102
|
-
# Get all commits up to the tag
|
|
103
|
-
git log --pretty=format:"- %s (%h)" $LATEST_TAG >> CHANGELOG.md
|
|
104
|
-
fi
|
|
105
|
-
else
|
|
106
|
-
# No tags exist, create changelog from all commits
|
|
107
|
-
echo "## Initial Release" > CHANGELOG.md
|
|
108
|
-
echo "" >> CHANGELOG.md
|
|
109
|
-
echo "This is the first release of diskcache_rs." >> CHANGELOG.md
|
|
110
|
-
echo "" >> CHANGELOG.md
|
|
111
|
-
echo "### All Changes:" >> CHANGELOG.md
|
|
112
|
-
|
|
113
|
-
# Get all commits
|
|
114
|
-
git log --pretty=format:"- %s (%h)" >> CHANGELOG.md
|
|
115
|
-
fi
|
|
116
|
-
|
|
117
|
-
echo "changelog<<EOF" >> $GITHUB_OUTPUT
|
|
118
|
-
cat CHANGELOG.md >> $GITHUB_OUTPUT
|
|
119
|
-
echo "EOF" >> $GITHUB_OUTPUT
|
|
90
|
+
uses: jaywcjlove/changelog-generator@main
|
|
91
|
+
with:
|
|
92
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
93
|
+
filter-author: (loonghao|renovate\[bot\]|dependabot\[bot\]|Renovate Bot)
|
|
94
|
+
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
|
|
95
|
+
template: |
|
|
96
|
+
## Bugs
|
|
97
|
+
{{fix}}
|
|
98
|
+
## Feature
|
|
99
|
+
{{feat}}
|
|
100
|
+
## Improve
|
|
101
|
+
{{refactor,perf,clean}}
|
|
102
|
+
## Misc
|
|
103
|
+
{{chore,style,ci}} 🔧 Nothing change}}
|
|
104
|
+
## Unknown
|
|
105
|
+
{{__unknown__}}
|
|
120
106
|
|
|
121
107
|
- name: Download all artifacts
|
|
122
108
|
uses: actions/download-artifact@v4
|
|
@@ -124,11 +110,11 @@ jobs:
|
|
|
124
110
|
path: release-artifacts
|
|
125
111
|
merge-multiple: true
|
|
126
112
|
|
|
127
|
-
-
|
|
128
|
-
uses: softprops/action-gh-release@v2
|
|
113
|
+
- uses: ncipollo/release-action@v1
|
|
129
114
|
with:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
115
|
+
artifacts: "release-artifacts/*"
|
|
116
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
117
|
+
body: |
|
|
118
|
+
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
|
|
119
|
+
|
|
120
|
+
${{ steps.changelog.outputs.changelog }}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## v0.2.3 (2025-07-13)
|
|
2
|
+
|
|
3
|
+
### Fix
|
|
4
|
+
|
|
5
|
+
- configure proper permissions for release workflows
|
|
6
|
+
- resolve release changelog generation issues
|
|
7
|
+
|
|
8
|
+
## v0.2.2 (2025-07-13)
|
|
9
|
+
|
|
10
|
+
### Fix
|
|
11
|
+
|
|
12
|
+
- add comprehensive GitHub Actions permissions for version management
|
|
13
|
+
- improve commitizen workflow with debug and proper permissions
|
|
14
|
+
|
|
1
15
|
## v0.2.1 (2025-07-13)
|
|
2
16
|
|
|
3
17
|
### Fix
|
|
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
|
|
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
|
|
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
|