[Build] Prevent usage of twisted>=23 on Windows
with newer versions of twisted, a regression was added for the GTK reactor on Windows. it effects all versions, including latest (currently 24.3.0). So will prevent the upgrade on Windows only. Issue: https://dev.deluge-torrent.org/ticket/3634 Related: https://github.com/twisted/twisted/issues/11987 Closes: https://github.com/deluge-torrent/deluge/pull/448
This commit is contained in:
parent
785ad00d2b
commit
322faa7a54
|
@ -1,5 +1,6 @@
|
||||||
libtorrent
|
libtorrent
|
||||||
twisted[tls]>=17.1
|
twisted[tls]>=17.1; sys_platform != 'win32'
|
||||||
|
twisted[tls]<23,>=17.1; sys_platform == 'win32'
|
||||||
rencode
|
rencode
|
||||||
pyopenssl
|
pyopenssl
|
||||||
pyxdg
|
pyxdg
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -538,7 +538,8 @@ _package_data['deluge.ui.gtk3'] = ['glade/*.ui']
|
||||||
|
|
||||||
setup_requires = ['setuptools', 'wheel']
|
setup_requires = ['setuptools', 'wheel']
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'twisted[tls]>=17.1',
|
"twisted[tls]>=17.1; sys_platform != 'win32'",
|
||||||
|
"twisted[tls]<23,>=17.1; sys_platform == 'win32'",
|
||||||
# Add pyasn1 for setuptools workaround:
|
# Add pyasn1 for setuptools workaround:
|
||||||
# https://github.com/pypa/setuptools/issues/1510
|
# https://github.com/pypa/setuptools/issues/1510
|
||||||
'pyasn1',
|
'pyasn1',
|
||||||
|
|
Loading…
Reference in New Issue