Commit graph

36 commits

Author SHA1 Message Date
lilydjwg
d3bf5b2db5 tests: fix unintended redirection 2025-02-11 10:01:33 +08:00
lilydjwg
72c0730725 tests: venv mitmproxy to avoid conflict 2025-02-10 17:31:01 +08:00
lilydjwg
6759d2f206 tests: use source distribution of pycurl so that it supports more compression types
Cross-os binary distribution is EVIL!
2025-02-10 16:18:09 +08:00
lilydjwg
17e351f825 support SSL_CERT_FILE env for pycurl http backend 2025-02-10 15:51:05 +08:00
lilydjwg
d58638733e tests: cache http responses 2025-02-10 15:51:05 +08:00
lilydjwg
e1a6517169 tests: disable aiohttp as it always fails; also use Python version 3.13 instead of 3.13-dev 2024-11-03 19:10:42 +08:00
lilydjwg
5cead67640 ci: add Python 3.13 2024-11-03 18:51:04 +08:00
lilydjwg
89b4cd90ba tests: use asyncio_default_fixture_loop_scope = "session"
See also https://github.com/pytest-dev/pytest-asyncio/issues/924.
2024-11-03 18:30:54 +08:00
rocka
47ce6fc2e4
feat: add jq source (#261)
feat: add jq source to parse json
2024-03-31 16:10:09 +08:00
lilydjwg
471b66ff4c tests: use pytest-rerunfailures instead of flaky
flaky is no longer compatible with pytest 8.0 and seems unmaintained.

https://github.com/pytest-dev/pytest/issues/12066
2024-03-09 20:23:25 +08:00
lilydjwg
60d88ac5d2 update github actions 2024-02-27 15:03:38 +08:00
依云
c9017d7e07
Update codeql.yml 2024-02-27 15:03:17 +08:00
lilydjwg
e5751d2894 workaround a pycurl wheel issue to fix ci
https://github.com/pycurl/pycurl/issues/834
2024-02-27 14:55:10 +08:00
lilydjwg
6c63d7991f drop support for Python 3.7
It has ended its life since 2023-06-06 and is not supported by pytest-asyncio 0.23+.
2023-12-09 20:38:23 +08:00
lilydjwg
56869a45bc tests: require pytest-asyncio version >=0.23 2023-12-09 20:38:23 +08:00
lilydjwg
c863d24695 tests: aiohttp isn't ready for 3.12 yet
See also https://github.com/aio-libs/aiohttp/issues/7739
2023-10-27 17:36:22 +08:00
lilydjwg
6da6145350 tests: include Python 3.12 2023-10-27 17:19:09 +08:00
lilydjwg
1bbbdca638 github actions: exclude matrix containing an upstream bug 2023-03-26 20:51:19 +08:00
lilydjwg
414c20a60f update github actions versions 2023-03-26 20:02:39 +08:00
lilydjwg
931b3fdf3c github actions: test again Python 3.11 2023-03-26 18:47:38 +08:00
Alexandru Fikl
8366e519d6
port from deprecated appdirs to platformdirs 2023-02-01 17:15:15 +02:00
lilydjwg
2107e6ef6f try to fix mypy 2022-11-20 14:14:33 +08:00
lilydjwg
fad7cf631d Merge remote-tracking branch 'origin/pr/212'
Conflicts:
      setup.cfg
      setup.py
2022-11-20 13:42:22 +08:00
lilydjwg
88cbdd925c fix mypy 2022-06-05 14:41:57 +08:00
Chih-Hsuan Yen
1235d77e72
Pin werkzeug for httpbin compatibility 2022-04-02 12:03:45 +08:00
Dusk Banks
15020dfcd6 switch from setup.py to PEP 517 & setup.cfg 2022-02-22 21:51:47 -08:00
lilydjwg
5e60a1dc86 replace the toml library with tomli 2021-12-29 16:36:23 +08:00
lilydjwg
ceb573f337 Python 3.10 2021-10-07 14:46:13 +08:00
lilydjwg
ad24b841cf github actions: run apt update 2021-07-25 19:49:00 +08:00
lilydjwg
ffaca8c949 option to not verify HTTPS certificate
fixes #190.
2021-06-23 16:08:47 +08:00
Maud LAURENT
9deb55806d
Add optional token for regex and httpheader. Add htmlparser source (#182)
add an httptoken option; add htmlparser with xpath source

Co-authored-by: Maud LAURENT <maud.laurent@eurecia.com>
Co-authored-by: lilydjwg <lilydjwg@gmail.com>
2021-06-11 16:18:39 +08:00
lilydjwg
de0a5fe02e github actions: omit pypy tests
continue-on-error doesn't work as expected and there is no way to
"allow-failure". See https://github.com/actions/toolkit/issues/399.
2021-02-01 17:58:14 +08:00
lilydjwg
0114a411f2 switch tests from travis to github actions
because travis queues are too long.
2021-02-01 15:17:44 +08:00
依云
c251af817a Create codeql-analysis.yml 2020-10-02 17:24:34 +08:00
lilydjwg
c0d836ba65 github actions: try run directly on ubuntu to speed up and get latest Python packages via pip 2020-08-17 22:09:54 +08:00
lilydjwg
34f7de18c0 try run mypy with github actions 2020-08-17 16:56:54 +08:00