Skip to content

Commit

Permalink
derp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Aug 31, 2024
1 parent 183557a commit 7a3250b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 7a3250b

Please sign in to comment.