Skip to content

Commit b38ef8f

Browse files
defgsusfsbraun
andauthored
revert type hint to typing.List (#1493)
* revert type hint to `typing.List` #1492 * Update test.yml to respect py 3.8 * Update test.yml to exclude py3.8/3.9 w/ dj50 in tests * Update CHANGELOG.rst * Bump version to 3.2.1 --------- Co-authored-by: Fabian Braun <fsbraun@gmx.de>
1 parent 250bd03 commit b38ef8f

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

.github/workflows/test.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ['3.10', '3.11', '3.12']
11+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
1212
requirements-file: [
1313
django-4.2.txt,
1414
django-5.0.txt,
@@ -18,6 +18,15 @@ jobs:
1818
os: [
1919
ubuntu-20.04,
2020
]
21+
exclude:
22+
- requirements-file: django-5.0.txt
23+
python-version: 3.8
24+
- requirements-file: django-5.0.txt
25+
python-version: 3.9
26+
- requirements-file: django-main.txt
27+
python-version: 3.8
28+
- requirements-file: django-main.txt
29+
python-version: 3.9
2130

2231
steps:
2332
- uses: actions/checkout@v1

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
CHANGELOG
33
=========
44

5+
3.2.1 (2024-09-05)
6+
==================
7+
8+
* fix: Restore python 3.8 and python 3.9 compatibility
9+
510
3.2.0 (2024-08-23)
611
==================
712

filer/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
8. Publish the release and it will automatically release to pypi
1414
"""
1515

16-
__version__ = '3.2.0'
16+
__version__ = '3.2.1'

filer/cache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def clear_folder_permission_cache(user: User, permission: typing.Optional[str] =
6565
cache.delete(get_folder_perm_cache_key(user, permission))
6666

6767

68-
def update_folder_permission_cache(user: User, permission: str, id_list: list[int]) -> None:
68+
def update_folder_permission_cache(user: User, permission: str, id_list: typing.List[int]) -> None:
6969
"""
7070
Updates the cached folder permissions for a given user and permission.
7171

0 commit comments

Comments
 (0)