Skip to content

Commit 72e9e3a

Browse files
committed
maybe Python 3.11 🤔
1 parent ab1e909 commit 72e9e3a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ env:
1717
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
1818
PYTHONWARNINGS: >
1919
error,
20-
default:pkg_resources::trac,
21-
default:Deprecated call to `pkg_resources.declare_namespace::pkg_resources,
22-
default:::passlib,default:version_info::trac.db.sqlite_backend,
20+
default:::passlib.utils,
2321
2422
jobs:
2523
noshadows:
@@ -29,7 +27,7 @@ jobs:
2927
uses: actions/checkout@v4
3028
- uses: actions/setup-python@v5
3129
with:
32-
python-version: '3.12'
30+
python-version: '3.11'
3331
- run: pip install "tinycss2>=1.2.0"
3432
- run: python noshadows.py --tests
3533

@@ -40,7 +38,7 @@ jobs:
4038
uses: actions/checkout@v4
4139
- uses: actions/setup-python@v5
4240
with:
43-
python-version: '3.12'
41+
python-version: '3.11'
4442
- name: Install system package dependencies
4543
run: |
4644
sudo apt-get update
@@ -57,7 +55,7 @@ jobs:
5755
uses: actions/checkout@v4
5856
- uses: actions/setup-python@v5
5957
with:
60-
python-version: '3.12'
58+
python-version: '3.11'
6159
- name: Install system package dependencies
6260
run: |
6361
sudo apt-get update

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ psycopg2==2.9.9 --no-binary=psycopg2
55
Django==4.2.15
66
libsass==0.23.0
77

8+
# Optional Trac dependencies that make DeprecationWarning go away
9+
multipart==1.1.0
10+
passlib==1.7.4
11+
812
# Trac plugins
913
TracSpamFilter[dns,spambayes] @ svn+https://svn.edgewall.org/repos/trac/plugins/trunk/spam-filter@17766
1014
TracDragDrop @ svn+https://trac-hacks.org/svn/tracdragdropplugin/0.12@18635

0 commit comments

Comments
 (0)