Commit graph

6974 commits

Author SHA1 Message Date
Chris Mayo
46c5712baf Add pdfminer.six to minimum version testing
20181108 is the version used by the current Debian oldstable.
Ubuntu 20.04 LTS has 20191020.

pdfminer installs cryptography, >= 38 breaks pyOpenSSL < 22 as found in
Ubuntu 20.04 LTS. Update docs job to use ubuntu-22.04 to avoid
failures.
2022-12-05 19:22:35 +00:00
Chris Mayo
44226ed7b8 Document installing pdfminer.six 2022-12-05 19:22:35 +00:00
Chris Mayo
aa79f5a600 Increase minimum Requests version to 2.20
2.20 fixes CVE-2018-18074.
2022-12-05 19:22:35 +00:00
Chris Mayo
b6a6c9ea44
Merge pull request #703 from cjmayo/template
Recommend linkchecker -Dcmdline when reporting issues
2022-12-01 19:29:23 +00:00
Chris Mayo
ab941b6de4 Recommend linkchecker -Dcmdline when reporting issues
More compact output that is better for including inline.
2022-12-01 19:23:13 +00:00
Chris Mayo
d90d4e1f17
Merge pull request #700 from cjmayo/bs4-4.11
Fix minimum bs4 is 4.11 and test minimum requirements
2022-12-01 19:22:49 +00:00
Chris Mayo
f35448f8ef Increase minimum Requests version to 2.19
With Python 3.7 and Requests 2.4.0 on Ubuntu 20.04 there are two test
failures; reasons not immediately clear. There is a warning for the use
of ABCs from collections and not collections.abc. That will cause an
exception on Python 3.10 and is fixed in Requests 2.19.0.
2022-11-30 19:21:06 +00:00
Chris Mayo
f489660925 Test with minimum versions of requirements
Pick 1.8.1 as the minimum version of argcomplete. This is the version in
the current Debian oldstable and Ubuntu 20.04 LTS.
2022-11-30 19:21:06 +00:00
Chris Mayo
2294160a6a Fix minimum version of Beautiful Soup increased to 4.11.0
Since:
6d9061b0 ("Ignore bs4 markup and XML parser warnings", 2022-09-02)
2022-11-30 19:21:06 +00:00
Chris Mayo
a9312f39c4 Document installing requirements from distribution packages 2022-11-30 19:21:06 +00:00
Chris Mayo
56e5e94acd Improve sqlite3 names in configuration.Modules 2022-11-30 19:21:06 +00:00
Chris Mayo
1f5a1e92d3 Fix VirusCheck.check() docstring 2022-11-30 19:21:06 +00:00
Chris Mayo
4a75a116d6
Merge pull request #692 from cjmayo/rel102
Documentation for release 10.2.0
2022-11-21 19:23:08 +00:00
Chris Mayo
61835b02ec
Merge pull request #697 from cjmayo/translations
Update application translation catalogs
2022-11-21 19:22:32 +00:00
Chris Mayo
daf43f8ead Update nl_NL.po for AnchorCheck directory warning
f-string replaced in:
b87d26f9 ("Fix translatability of AnchorCheck directory warning", 2022-11-08)
2022-11-20 17:23:26 +00:00
LinkChecker
92e8385666 Update application translation catalogs 2022-11-20 17:23:26 +00:00
Gideon van Melle
94801b3723
Update nl_NL.po (#696)
* Update nl_NL.po

updated

changed CODERING back to ENCODING and BESTANDSNAAM to FILENAME
2022-11-20 17:08:50 +00:00
Chris Mayo
f8e2faa6b4 Documentation for release 10.2.0 2022-11-14 19:34:36 +00:00
Chris Mayo
f0c03b129a
Merge pull request #690 from cjmayo/pyupgrade37
pyupgrade --py37-plus
2022-11-14 19:28:45 +00:00
Chris Mayo
b87d26f992 Fix translatability of AnchorCheck directory warning 2022-11-08 19:21:29 +00:00
Chris Mayo
8065c75c4e Convert some printf-style strings 2022-11-08 19:21:29 +00:00
Chris Mayo
b6bc366af0 Run pyupgrade --py37-plus x 2 2022-11-08 19:21:29 +00:00
Chris Mayo
fd6c960ace Make more messages translatable 2022-11-08 19:21:29 +00:00
Chris Mayo
55c13f0834 Remove deprecated aliases for OSError 2022-11-08 19:21:29 +00:00
Chris Mayo
0bb1576887 Run pyupgrade --py37-plus --keep-percent-format 2022-11-08 19:21:29 +00:00
Chris Mayo
ea2cb6c597
Merge pull request #689 from cjmayo/html
Turn all warnings into errors when building website
2022-11-07 19:22:25 +00:00
Chris Mayo
353909bacc
Merge pull request #688 from cjmayo/de
Some German application translations
2022-11-07 19:21:13 +00:00
Chris Mayo
04e2b0379d Fix make -C doc/src/Makefile gettext with SPHINXOPTS
build.py: error: unrecognized arguments: man/linkchecker.rst man/linkcheckerrc.rst
2022-11-03 19:20:56 +00:00
Chris Mayo
c7989eb058 Turn all warnings into errors when building website
Drop code target, sphinx-autogen is not using conf.py, and since Sphinx
4.0 autosummary is generating stub pages by default anyway.

Mock ctypes and linkcheck.__main__: colorama.py imports MS Windows
libraries, autosummary executes __main__.py.
2022-11-02 19:24:35 +00:00
Chris Mayo
0a8c29ffcc Add docstring for AnchorCheckFileUrl 2022-11-02 19:24:35 +00:00
Chris Mayo
9bdfd52ec9 Some German application translations 2022-11-01 19:25:12 +00:00
Chris Mayo
d8b6d77706
Merge pull request #687 from cjmayo/man-updates
Update application translation catalogs
2022-11-01 19:21:09 +00:00
LinkChecker
b2ba5830c6 Update application translation catalogs 2022-10-31 19:45:56 +00:00
LinkChecker
eeef12cbb7 Update man pages 2022-10-31 19:45:56 +00:00
LinkChecker
4246d919df Update doc translation catalogs 2022-10-31 19:45:38 +00:00
Chris Mayo
614e84b554
Merge pull request #686 from cjmayo/xgettext
Specify source encoding to xgettext
2022-10-31 19:44:30 +00:00
Chris Mayo
189cd35fdf Specify source encoding to xgettext
Default is ASCII.

xgettext: Non-ASCII string at ../linkcheck/htmlutil/srcsetparse.py:39.
          Please specify the source encoding through --from-code or through a comment
          as specified in http://www.python.org/peps/pep-0263.html.
2022-10-31 19:39:15 +00:00
Chris Mayo
b796cec346
Merge pull request #683 from cjmayo/anchorcheckfileurl
Move AnchorCheck local file handling into a new class
2022-10-31 19:23:27 +00:00
Chris Mayo
740fce4df5
Merge pull request #682 from cjmayo/node16
Update Actions to Node16 versions
2022-10-31 19:22:50 +00:00
Chris Mayo
b2fd7b30c5
Merge pull request #684 from cjmayo/python311
Add Python 3.11
2022-10-26 19:31:16 +01:00
Chris Mayo
169e327d50 Add Python 3.11 2022-10-25 19:21:39 +01:00
Chris Mayo
16bee50068 Move AnchorCheck local file handling into a new class
When checking local files with AnchorCheck, anchors in URLs
like "example/#anchor" are not supported.

Without AnchorCheck enabled, the Real URL reported for such URLs
was changed to include the anchor when local file checking was added to
AnchorCheck, but it is the directory that is checked.
The same URL was also then used as the Parent URL for the check of each
of the contents of that directory.

For FileUrl this is a revert of:
c221afda ("Enable AnchorCheck to be used with local files", 2022-10-03)
2022-10-24 19:30:56 +01:00
Chris Mayo
776f2980bc Update 3rd-party Actions to Node16 versions 2022-10-24 19:26:52 +01:00
Chris Mayo
a3bedadfb6 Update GitHub Actions to Node16 versions 2022-10-24 19:26:52 +01:00
Chris Mayo
b66ca30e84
Merge pull request #680 from cjmayo/misc
Collection of independent small improvements
2022-10-24 19:26:13 +01:00
Chris Mayo
e32c76aa5c Make text logger outro "checked" translatable 2022-10-18 19:24:08 +01:00
Chris Mayo
9631c314dd Use \d in regexp in TestDecorators.test_timeit2() 2022-10-18 19:24:08 +01:00
Chris Mayo
deac09d2c1 Clarify note in TestConfig 2022-10-18 19:24:08 +01:00
Chris Mayo
ef2d571761 Support building wheel from sdist
Build hook is also called for the wheel since:
38dea6b7 ("Fix install with pip git+https", 2022-09-13)
2022-10-18 19:24:08 +01:00
Chris Mayo
a0eb6d5187 Align documentation of debug in man pages
Linked to:
b3967f75 ("Correct documentation of --debug in linkchecker(1)", 2022-09-30)
2022-10-18 19:24:08 +01:00