Skip to content

Commit c293c61

Browse files
committed
fix: xmpp dependencies on python 3.10
1 parent b9b1900 commit c293c61

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def read(fname, encoding="ascii"):
6363

6464

6565
if __name__ == "__main__":
66-
6766
VERSION = read_version()
6867

6968
args = set(sys.argv)
@@ -124,7 +123,12 @@ def read(fname, encoding="ascii"):
124123
# held at 13.15: v20+ is fully async; backend would need a rewrite
125124
"python-telegram-bot==13.15",
126125
],
127-
"XMPP": [
126+
"XMPP:python_version < '3.11'": [
127+
"slixmpp==1.12.0",
128+
"pyasn1==0.6.3",
129+
"pyasn1-modules==0.4.2",
130+
],
131+
"XMPP:python_version >= '3.11'": [
128132
"slixmpp==1.15.0",
129133
"pyasn1==0.6.3",
130134
"pyasn1-modules==0.4.2",

0 commit comments

Comments
 (0)