singleflight-cache 0.1.0__tar.gz → 0.1.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.
@@ -6,17 +6,27 @@ on:
6
6
  pull_request:
7
7
  branches: [ master, main ]
8
8
 
9
+ permissions:
10
+ contents: read
11
+
9
12
  jobs:
10
13
  test:
11
14
  name: Run Tests (Python ${{ matrix.python-version }})
12
- runs-on: ubuntu-latest
15
+ runs-on: ${{ matrix.os || 'ubuntu-latest' }}
13
16
  strategy:
14
17
  matrix:
15
18
  python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
19
+ include:
20
+ - python-version: '3.8'
21
+ os: ubuntu-24.04
22
+ - python-version: '3.9'
23
+ os: ubuntu-24.04
16
24
  steps:
17
- - uses: actions/checkout@v4
25
+ - uses: actions/checkout@v7
26
+ with:
27
+ persist-credentials: false
18
28
  - name: Set up Python ${{ matrix.python-version }}
19
- uses: actions/setup-python@v5
29
+ uses: actions/setup-python@v7
20
30
  with:
21
31
  python-version: ${{ matrix.python-version }}
22
32
  - name: Run Unit Tests
@@ -8,14 +8,19 @@ on:
8
8
  - 'v*'
9
9
  workflow_dispatch:
10
10
 
11
+ permissions:
12
+ contents: read
13
+
11
14
  jobs:
12
15
  test:
13
16
  name: Run Unit Tests
14
17
  runs-on: ubuntu-latest
15
18
  steps:
16
- - uses: actions/checkout@v4
19
+ - uses: actions/checkout@v7
20
+ with:
21
+ persist-credentials: false
17
22
  - name: Set up Python
18
- uses: actions/setup-python@v5
23
+ uses: actions/setup-python@v7
19
24
  with:
20
25
  python-version: '3.11'
21
26
  - name: Run Tests
@@ -27,11 +32,14 @@ jobs:
27
32
  needs: test
28
33
  runs-on: ubuntu-latest
29
34
  permissions:
35
+ contents: read
30
36
  id-token: write # Required for PyPI OIDC Trusted Publishing
31
37
  steps:
32
- - uses: actions/checkout@v4
38
+ - uses: actions/checkout@v7
39
+ with:
40
+ persist-credentials: false
33
41
  - name: Set up Python
34
- uses: actions/setup-python@v5
42
+ uses: actions/setup-python@v7
35
43
  with:
36
44
  python-version: '3.11'
37
45
  - name: Install build dependencies
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: singleflight-cache
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A high-performance thread-safe local cache with Single-Flight logic
5
5
  Project-URL: Homepage, https://github.com/avivklas/singleflight-cache
6
6
  Project-URL: Bug Tracker, https://github.com/avivklas/singleflight-cache/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "singleflight-cache"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  authors = [
9
9
  { name="Aviv", email="aviv@example.com" },
10
10
  ]