Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Aug 28, 2024
1 parent 0779b63 commit 90050ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Test with pytest
run: |
python -c 'from deluge._libtorrent import lt; print(lt.__version__)';
$DEBUG_PREFIX pytest -v -m "not (todo or gtkui)" deluge
$DEBUG_PREFIX pytest -v --full-trace --showlocals -m "not (todo or security)" deluge
- uses: actions/upload-artifact@v4
# capture all crashes as build artifacts
Expand Down Expand Up @@ -124,4 +124,5 @@ jobs:
- name: Test with pytest
run: |
python -c 'import libtorrent as lt; print(lt.__version__)';
pytest -vvv -m "not (todo or gtkui or security)" deluge
python -c 'from twisted.internet import gireactor; reactor = gireactor.install()'
python -v -c "import pytest; retcode = pytest.main(['--full-trace','--showlocals','-vvv','-ra','-m "not (todo or security)"','deluge']); print(f'pytest returned: {retcode}')";
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@8949cc15 ; sys_platform != 'win32' and python_version >= '3.8'
twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; 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@8949cc15 ; 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'
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@8949cc15 ; sys_platform != 'win32' and python_version >= '3.8'",
"twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@a4c0122b ; 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@8949cc15 ; 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'",
# Add pyasn1 for setuptools workaround:
# https://github.com/pypa/setuptools/issues/1510
'pyasn1',
Expand Down

0 comments on commit 90050ba

Please sign in to comment.