tests/test_cgi.py::TestWsgi::test_application
linkcheck/strformat.py:190: DeprecationWarning: Plural value must be an integer, got float
time_str.append(_n(single, plural, unit) % unit)
File ".../linkcheck/fileutil.py", line 110, in is_valid_config_source
return os.path.isfile(filename) or stat.S_ISFIFO(os.stat(filename).st_mode)
^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory
config["cookiefile"] is set correctly later on in setup_config().
Not working since check added in:
7b34be590 ("Introduce check plugins, use Python requests for http/s
connections, and some code cleanups and improvements.", 2014-03-01)
Replacing deprecated use of pyOpenSSL.
linkchecker/tests/checker/test_https.py:45: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
[crypto.X509Extension(b"subjectAltName", False, b"DNS:localhost")])
There are some config options which have no equivalent command line
option. Some may want to set these options dynamically or on a one-off
basis where a static config file is not ideal, and one very easy way to
do that is using process substitution:
linkchecker --config <(printf '%s\n' '[filtering]' 'ignorewarnings=http-redirected') ...
This, however, does not work in the current code because these are
typically implemented as FIFOs, which don't pass the `os.path.isfile`
check:
WARNING linkcheck.cmdline 2023-10-31 00:12:09,678 MainThread Unreadable config file: '/dev/fd/63'
Allow reading FIFOs as config input so that this is possible.
`fileutil.is_readable` also now doesn't check if the path leads to a
regular file: this is only used as part of cookie and config file input,
and in both cases that's not really relevant.
make -C doc code
make[1]: Entering directory '/var/tmp/linkchecker/doc'
make[1]: *** No rule to make target 'code'. Stop.
code target was removed in:
c7989eb05 ("Turn all warnings into errors when building website", 2022-11-02)