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
Chih-Hsuan Yen
4ca61ba11a
tests: fix for pytest-asyncio 0.23
2023-12-09 20:38:00 +08:00
moui0
918457afed
tests: bump example and xml2 version
2023-12-07 06:01:56 +01:00
lilydjwg
eaac776a90
nvtake: clean up old records from oldver file on saving
2023-12-04 17:49:14 +08:00
Bian Jiaping
4833135f87
container source plugin supports watching update of a specified tag ( #243 )
...
container source plugin supports watching update of a specified tag. Resolve #241
2023-12-02 23:45:25 +08:00
Andreas Schleifer
0ba8cd41de
feat(tools): handle symlinks correctly for take command ( #240 )
2023-11-29 00:20:59 +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
Levente Polyak
9221a476c5
feat(core): resolve symlinks on file write ( #233 )
...
* feat(core): resolve symlinks on file write
Instead of using the passed filename as the rename target, use
Path.resolve for resolving any symlinks.
This allows to use symlinks for the nvchecker database files that point
somewhere else. Before this commit nvchecker simply replaced the symlink
with an actual file, now we resolve the targets first and only replace
the actual file that is pointed to.
---------
Signed-off-by: Levente Polyak <levente@leventepolyak.net>
Co-authored-by: Andreas 'Segaja' Schleifer <webmaster@segaja.de>
Co-authored-by: lilydjwg <lilydjwg@gmail.com>
2023-10-27 17:18:05 +08:00
依云
c401d239b2
Merge pull request #239 from dpeukert/feature/source-url-support
...
Implement URL result support for other sources
2023-10-23 16:18:30 +08:00
Daniel Peukert
55b3f671c8
implement second batch of URL results for sources
2023-10-18 21:58:29 +02:00
Daniel Peukert
592b4a4f6b
update docs for sparkle
2023-10-18 02:03:10 +02:00
Daniel Peukert
6bf34873d3
implement first batch of URL results for sources
2023-10-18 02:00:46 +02:00
Daniel Peukert
5a6fee2817
fix pacman test
2023-10-18 01:59:43 +02:00
Daniel Peukert
a04d6b0fc6
implement rich result support for list-based sources
2023-10-18 01:59:30 +02:00
lilydjwg
5dcb3bc36a
tests: update
2023-10-14 15:19:13 +08:00
lilydjwg
d00203d103
fix: Python < 3.10 doesn't have kw_only for dataclass
2023-10-14 14:54:56 +08:00
lilydjwg
bdd025d995
implement url results for AUR and PyPI
...
see https://github.com/lilydjwg/nvchecker/issues/238 .
2023-10-14 14:52:10 +08:00
lilydjwg
cc4a0cd301
support url in results
2023-10-14 14:52:10 +08:00
lilydjwg
0fd35f4458
minor fix of a docstring
2023-10-14 14:52:10 +08:00
依云
3563d71fb2
Merge pull request #237 from stepnem/notifyopt
...
nvchecker-notify: accept and pass --tries and --failures to nvchecker
2023-10-07 19:06:34 +08:00
Štěpán Němec
4f79058cbd
nvchecker-notify: accept and pass --tries and --failures to nvchecker
2023-10-03 17:28:34 +02:00
lilydjwg
b8c0e8a6b3
still fix readthedocs
...
[skip ci]
2023-08-26 11:54:02 +08:00
lilydjwg
f3da72403e
fix readthedocs
...
[skip ci]
2023-08-26 11:47:34 +08:00
lilydjwg
efc99cb791
add .readthedocs.yaml
...
https://blog.readthedocs.com/migrate-configuration-v2/
[skip ci]
2023-08-26 11:46:24 +08:00
lilydjwg
2683f47e04
update tests: give up deepin as it times out frequently
2023-08-26 10:23:40 +08:00
lilydjwg
0a90d195d1
update tests
2023-08-26 10:17:40 +08:00
依云
83272dc04a
Merge pull request #236 from dpeukert/github-prereleases
...
github: implement option to include prereleases
2023-08-26 10:09:00 +08:00
Daniel Peukert
5052d82550
github: implement option to include prereleases
2023-08-25 23:23:30 +02:00
依云
587eeafd65
Merge pull request #235 from yan12125/fix-tests
...
Fix tests
2023-08-22 20:48:46 +08:00
Chih-Hsuan Yen
386d05f8e3
tests: skip testing with broken Deepin mirror
2023-08-22 19:51:16 +08:00
Chih-Hsuan Yen
07cddd9bd6
tests: fix tests with httpbin 0.10.0
...
The latest httpbin changes the format of JSON response. For example:
```
{
"authenticated": true,
"user": "username"
}
```
2023-08-22 18:44:51 +08:00
Chih-Hsuan Yen
598bb94135
tests: update Android SDK version
2023-08-22 18:40:01 +08:00
依云
ea542d1fa1
Merge pull request #231 from hack3ric/master
...
tests: bump android-sdk-cmake and xml2 version
2023-07-13 18:00:44 +08:00
Eric Long
fe1342e9fb
tests: bump android-sdk-cmake and xml2 version
2023-07-13 16:54:24 +08:00
lilydjwg
5a972cd0d0
alpm: community repo is gone
2023-06-29 14:03:03 +08:00
依云
4e7dce4e93
Merge pull request #229 from yan12125/fix-test-alpmfiles
...
Fix test_alpmfiles in Arch chroots
2023-06-19 22:18:38 +08:00
Chih-Hsuan Yen
d9888cc49d
Fix test_alpmfiles in Arch chroots
...
In general, there are no /var/lib/pacman/sync/*.files in Arch chroots,
and thus tests in test_alpmfiles.py fail.
The tempfile approach roughly follows tests/test_alpm.py.
Follow-up https://github.com/lilydjwg/nvchecker/pull/226
2023-06-19 22:06:47 +08:00
lilydjwg
b54c5a0cf7
PyPI signature support is gone
...
[skip ci]
2023-06-17 22:27:21 +08:00
lilydjwg
82dc93ceff
bump version to 2.12
2023-06-17 18:52:00 +08:00
lilydjwg
e708d19d35
tests: update test_htmlparser to avoid httpbin.org
...
it produces a lot of 504 errors.
2023-06-02 00:58:24 +08:00
lilydjwg
d3603fcee8
better documentation on optional dependencies
...
fixes #225 .
[skip ci]
2023-06-02 00:43:49 +08:00
lilydjwg
ac57d8fd15
alpmfiles: fix typing
2023-06-02 00:35:05 +08:00
依云
62ab3b05ef
Merge pull request #226 from pekkarr/alpmfiles
...
Add alpmfiles source
2023-06-02 00:33:02 +08:00
Pekka Ristola
8157e08b59
Add alpmfiles source
...
Rewritten from the `archfiles` source in archlinuxcn/lilac
2023-05-31 21:29:17 +03:00
lilydjwg
af77af34f3
fight mypy[1]
...
The following error will be reported without if:
error: Name "tomllib" already defined (by an import)
While this can be silenced by a "# type: ignore", in some case[2] mypy
will report the following error:
error: Unused "type: ignore" comment
[1]: https://github.com/python/mypy/issues/1153
[2]: https://github.com/lilydjwg/nvchecker/actions/runs/4916840821/jobs/8793454970
2023-05-09 13:31:11 +08:00
lilydjwg
62a3f336b8
bump to dev version
2023-05-08 23:28:52 +08:00
lilydjwg
e9ecbd514b
silence mypy for new module
2023-05-08 23:28:20 +08:00
Felix Yan
34e87db8f9
Use tomllib on Python 3.11+
...
Fallback to tomli for compatibility with older Python.
2023-05-08 10:52:27 +03:00