Commit Graph

467 Commits

Author SHA1 Message Date
lilydjwg
6fb9ba590a travis: retry 2019-10-15 17:50:11 +08:00
lilydjwg
737c7b9448 fix travis script
also update dist to bionic
2019-10-15 17:35:18 +08:00
lilydjwg
6f48b774ae tests: add a needs_net mark for tests that require Internet access
use pytest-httpbin for test_regex

closes #113
2019-10-15 17:27:34 +08:00
lilydjwg
484778218d bump version 2019-10-15 17:22:39 +08:00
lilydjwg
893836fb09 rename nvchecker.main to nvchecker.__main__
closes #116
2019-10-15 16:54:31 +08:00
lilydjwg
5577e2cbd8 bitbucket: fix not returning a list of versions when use_max_tag is set
fixes #112
2019-10-12 15:40:08 +08:00
lilydjwg
6674a875bf README: minor fix 2019-08-30 15:09:49 +08:00
lilydjwg
1f36032a28 tests: allow nightly+aiohttp failure 2019-07-14 22:41:32 +08:00
lilydjwg
1e1f431f9b fix test_regex 2019-07-08 11:40:08 +08:00
lilydjwg
981143f62b update DEFAULT_USER_AGENT and bump version 2019-07-07 17:42:11 +08:00
lilydjwg
ed37892c87 tests: test default user agent in test_regex 2019-07-06 14:23:00 +08:00
lilydjwg
8b0186bd25 Revert "Use pytest-httpbin and add a test for default User-Agent"
This reverts commit 851e141f3d.

pytest-httpbin doesn't work with nightly. Also it brings in too many
dependencies.
2019-07-06 14:20:43 +08:00
依云
e12a9c4250
Merge pull request #110 from yan12125/investigate-crates-io-403
Fix 403 errors from crates.io
2019-07-06 14:15:45 +08:00
Chih-Hsuan Yen
851e141f3d
Use pytest-httpbin and add a test for default User-Agent 2019-07-06 13:39:59 +08:00
Chih-Hsuan Yen
629e82ac8a
Add default User-Agent
crates.io requires it since https://github.com/rust-lang/crates.io/pull/1696
2019-07-06 13:39:58 +08:00
Chih-Hsuan Yen
8720d59f79
Use the latest pypy3
Ref: https://github.com/pyenv/pyenv/tree/master/plugins/python-build/share/python-build
2019-07-05 09:22:09 +08:00
Chih-Hsuan Yen
51e2348d55
Install libgnutls-dev
Well, installing packages for some builds only seems complicated.
https://github.com/travis-ci/travis-ci/issues/3505
2019-07-05 09:22:09 +08:00
lilydjwg
5e324ef6ff travis: fix environmental variables 2019-07-04 22:35:36 +08:00
lilydjwg
077a752045 bitbucket: actually use max_page parameter 2019-07-04 17:59:19 +08:00
lilydjwg
93d1ca16db update tests 2019-07-04 16:47:33 +08:00
lilydjwg
3194ef8e6c bitbucket: 1.0 API is gone, let's use 2.0
fixes #109
2019-07-04 16:39:49 +08:00
lilydjwg
b1856f7426 test: don't raise RuntimeErrors for no-result warnings 2019-05-01 17:26:10 +08:00
lilydjwg
3481013f78 bump version to dev 2019-05-01 17:19:33 +08:00
lilydjwg
b014759f81 don't print tracebacks for networking errors
closes #108.
2019-05-01 17:16:17 +08:00
lilydjwg
8ade0f68b0 Merge branch 'test-ci', remote-tracking branch 'origin/pr/107' 2019-04-08 12:25:27 +08:00
lilydjwg
cc763205e8 test: don't raise RuntimeError for rate limited logs 2019-04-08 12:15:49 +08:00
lilydjwg
0f101bda4d test: is pytest-xdist necessary? 2019-04-08 11:45:19 +08:00
lilydjwg
05848d1bc2 test: has pytest-asyncio fix released?
https://github.com/pytest-dev/pytest-asyncio/issues/104
2019-04-08 11:42:40 +08:00
Haochen Tong
c6ef132ebb
Fix copy-paste mistake
BitBucket -> GitLab
2019-04-07 20:54:55 +02:00
lilydjwg
9a271c030b bump version to 1.4.3 and update doc 2019-03-24 15:31:40 +08:00
Chih-Hsuan Yen
7dab7c3b6a
Get rid of warnings from logging.warn
logging.warn is deprecated [1].

[1] https://docs.python.org/3/library/logging.html#logging.Logger.warning
2019-03-23 23:59:13 +08:00
lilydjwg
2677d29f1d github: use a better API for tags so we use less requests 2019-03-22 23:47:39 +08:00
lilydjwg
7370b8d23b github: fix next_page_url
fixes #103
2019-03-22 23:42:35 +08:00
lilydjwg
c64766cc0e bump version again to 1.4.2
because 1.4.1 was bad (forgot to git pull)
2019-03-22 21:04:02 +08:00
lilydjwg
445ae6452b bump version to 1.4.1 2019-03-22 21:03:46 +08:00
依云
34ce4b0678
Merge pull request #102 from donfranio/fix-wrong-config-param-type-max_page
read 'max_page' as int
2019-03-22 18:58:15 +08:00
Frank Scherrer
e2f68f764d
add casting 'max_page' to int 2019-03-22 10:34:01 +01:00
lilydjwg
a7f7a632a2 README: fix warnings 2019-03-16 21:32:00 +08:00
lilydjwg
c34c2e70ee version 1.4 2019-03-16 21:13:49 +08:00
lilydjwg
056fe65e79 use is not None for xml.etree.Element 2019-03-07 17:23:36 +08:00
依云
e58142e37f
Merge pull request #100 from yan12125/improve-tests
Improve tests
2019-03-07 17:08:05 +08:00
Chih-Hsuan Yen
2a9b60155b
Re-raise previous exceptions 2019-03-07 16:45:14 +08:00
Chih-Hsuan Yen
be7618988e
github: Fix "No tag found in upstream repository" with use_max_tag 2019-03-07 16:26:58 +08:00
Chih-Hsuan Yen
ab1ecc231d
Raise exceptions on all warnings and errors in tests 2019-03-07 16:25:54 +08:00
lilydjwg
5437100f08 fix github test 2019-03-06 22:45:23 +08:00
lilydjwg
ca68c44201 github: try as few API calls as possible 2019-03-06 22:37:18 +08:00
lilydjwg
c23ef737d4 add a `max_page` option to github source
also update README for other minor issue.
2019-03-06 22:33:58 +08:00
lilydjwg
e5d52a9762 add the exclude_regex list option 2019-03-06 22:15:50 +08:00
lilydjwg
5b47391af0 fix gitlab test 2019-03-06 22:03:35 +08:00
lilydjwg
de381bf26d fix github test and update the doc 2019-03-06 22:01:07 +08:00