diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a22a0b5ed1..c0e5878809 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,20 +140,15 @@ jobs: pip install --upgrade pip wheel setuptools pip install -r requirements-ci.txt pip install -e . - + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + with: + detached: true + limit-access-to-actor: true - name: Test with pytest shell: bash run: | python -c 'import libtorrent as lt; print(lt.__version__)'; python -c 'from twisted.internet import gireactor; reactor = gireactor.install()' python -X dev -m pytest -vvv -ra --full-trace --showlocals -m "not (todo or security)" -p no:faulthandler deluge - - name: Start SSH session - uses: Lord-Kamina/debug-via-ssh@main - if: ${{ failure() }} - id: ssh_debug - continue-on-error: true - with: - NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} - SSH_PASS: ${{ secrets.SSH_PASS }} - NGROK_REGION: sa diff --git a/requirements.txt b/requirements.txt index 001af239c9..8daaaaa886 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ libtorrent<2.0.9 -twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; sys_platform != 'win32' and python_version >= '3.8' +twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@da989e93 ; sys_platform != 'win32' and python_version >= '3.8' twisted[tls] >17.1,<=23.8 ; sys_platform != 'win32' and python_version < '3.8' twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32' -twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; python_version >= '3.8' and sys_platform == 'win32' +twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@da989e93 ; python_version >= '3.8' and sys_platform == 'win32' rencode pyopenssl pyxdg diff --git a/setup.py b/setup.py index a5b6d241f7..b44d2a7ae8 100755 --- a/setup.py +++ b/setup.py @@ -538,10 +538,10 @@ def run(self): setup_requires = ['setuptools', 'wheel'] install_requires = [ - "twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; sys_platform != 'win32' and python_version >= '3.8'", + "twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@da989e93 ; sys_platform != 'win32' and python_version >= '3.8'", "twisted[tls] >17.1,<=23.8 ; sys_platform != 'win32' and python_version < '3.8'", "twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32'", - "twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; python_version >= '3.8' and sys_platform == 'win32'", + "twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@da989e93 ; python_version >= '3.8' and sys_platform == 'win32'", # Add pyasn1 for setuptools workaround: # https://github.com/pypa/setuptools/issues/1510 'pyasn1',