Skip to content

Commit dc577b8

Browse files
committed
Support Python 3.13
1 parent 691a1b8 commit dc577b8

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/runtests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest]
9-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
9+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1010
runs-on: ${{ matrix.os }}
1111
steps:
1212
- uses: actions/checkout@v2

CHANGELOG

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Release 1.14.0 (2025-??-??)
2+
===========================
3+
4+
* Fixed an error when using json encoder with cookie based sessions
5+
* Removed support for pylibmc
6+
* Beaker is now tested on Python 3.8+ ... 3.13
7+
18
Release 1.13.0 (2024-04-11)
29
===========================
310

beaker/_compat.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
from base64 import b64decode as _b64decode, b64encode as _b64encode
3030

3131
try:
32-
import dbm as anydbm
33-
except:
34-
import dumbdbm as anydbm
32+
import dbm.gnu as anydbm
33+
except ImportError:
34+
import dbm.dumb as anydbm
3535

3636
def b64decode(b):
3737
return _b64decode(b.encode('ascii'))

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
'Intended Audience :: Developers',
6565
'License :: OSI Approved :: BSD License',
6666
'Programming Language :: Python',
67-
'Programming Language :: Python :: 3.7',
6867
'Programming Language :: Python :: 3.8',
6968
'Programming Language :: Python :: 3.9',
7069
'Programming Language :: Python :: 3.10',
7170
'Programming Language :: Python :: 3.11',
7271
'Programming Language :: Python :: 3.12',
72+
'Programming Language :: Python :: 3.13',
7373
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
7474
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
7575
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',

0 commit comments

Comments
 (0)