Commit graph

7197 commits

Author SHA1 Message Date
Chris Mayo
a61ffac5d3
Merge pull request #720 from cjmayo/rtd_sphinx
Allow sphinx-rtd-theme to pick the versions of sphinx & docutils
2023-01-18 19:30:14 +00:00
Chris Mayo
51c6b3ef2f Allow sphinx-rtd-theme to pick the versions of sphinx & docutils
From version 1.1.0 sphinx-rtd-theme adds upper bounds for compatible
versions of sphinx and docutils.
2023-01-18 19:22:50 +00:00
Chris Mayo
4162540019
Merge pull request #714 from cjmayo/python-version
Resolve actions/setup-python python-version warnings
2023-01-18 19:22:28 +00:00
Chris Mayo
0a5170286b
Merge pull request #719 from cjmayo/jquery
Ensure jQuery is installed to support Sphinx 6
2023-01-17 19:56:38 +00:00
Chris Mayo
67f884e507 Ensure jQuery is installed to support RTD on Sphinx 6
Without jQuery website search is broken.
2023-01-17 19:54:00 +00:00
Chris Mayo
98d32a11a7 Re-enable support for installing git archives
setuptools_scm 7 includes git archive support. hatch-vcs
currently requires a minimium of 6.4, ensure 7 is installed.
2023-01-17 19:26:24 +00:00
Chris Mayo
926932411d Only attempt to get rel attribute from link elements 2023-01-17 19:23:29 +00:00
Chris Mayo
643364a655 Raise minimum Python version to 3.8 2023-01-17 19:23:29 +00:00
Chris Mayo
8366bde4e2 Delete oldest Docker images
Keep 20 most recent.
2023-01-16 19:36:22 +00:00
Chris Mayo
aff5e2918d Resolve actions/setup-python python-version warnings 2023-01-14 17:22:20 +00:00
Chris Mayo
efc368e6ea Replace deprecated locale.getdefaultlocale()
gettext.translation() can do most of the work for us, calling
gettext.find() and with fallback=True returning a NullTranslations if no
catalog is found.

The do_unicode parameter of install_builtin() should have been removed
in:
384e1e196 ("Remove Python 2 gettext builtin installation", 2020-04-15)
2023-01-13 19:23:56 +00:00
Chris Mayo
ec9386d002
Merge pull request #713 from cjmayo/clamav
Make ClamAV cache directory writeable for cache action
2023-01-13 19:23:32 +00:00
Chris Mayo
86726a64f3 Make ClamAV cache directory writeable for cache action
Else cache restore fails:

/usr/bin/tar: ../../../../../var/lib/clamav/main.cvd: Cannot open: Permission denied
/usr/bin/tar: ../../../../../var/lib/clamav/freshclam.dat: Cannot open: File exists
/usr/bin/tar: ../../../../../var/lib/clamav/daily.cvd: Cannot open: File exists
/usr/bin/tar: ../../../../../var/lib/clamav/bytecode.cvd: Cannot open: Permission denied
/usr/bin/tar: ../../../../../var/lib/clamav: Cannot utime: Operation not permitted
/usr/bin/tar: Exiting with failure status due to previous errors
Warning: Failed to restore: Tar failed with error: The process '/usr/bin/tar' failed with exit code 2
Cache not found for input keys: clamav-v1
2023-01-12 19:53:03 +00:00
Chris Mayo
33b87190c7
Merge pull request #711 from cjmayo/docs
Fix build workflow docs job failure
2023-01-12 19:23:10 +00:00
Chris Mayo
87368c14da Fix build workflow docs job failure
cryptography 39 is causing problems on Ubuntu 22.04 for Sphinx
autosummary:

* AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

Stop installing pdfminer.six which is causing cryptography to be
installed.
2023-01-09 19:25:07 +00:00
Marius Gedminas
d179b916b5
Merge pull request #710 from linkchecker/clamav-cdn-relief
Cache ClamAV signatures
2023-01-01 12:15:37 +02:00
Marius Gedminas
4ee13f140a Cache ClamAV signatures
We don't care if the signatures are stale (we only need the EICAR virus
test signature), so run freshclam only if the cache is missing entirely.

Closes #709.

Also, use apt-get instead of apt to avoid

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2022-12-31 17:15:25 +02:00
Chris Mayo
9a5f914019
Merge pull request #708 from cjmayo/docker311
Update Docker image to Python 3.11
2022-12-12 19:25:03 +00:00
Chris Mayo
e3cd7f11ec Update Docker image to Python 3.11 2022-12-08 19:26:33 +00:00
Chris Mayo
2ddae7f798
Merge pull request #701 from cjmayo/rel1021
Documentation for release 10.2.1
2022-12-05 19:27:26 +00:00
Chris Mayo
1d7175f557
Merge pull request #704 from cjmayo/requests220
Increase minimum Requests version to 2.20
2022-12-05 19:25:22 +00:00
Chris Mayo
bf965c6a1a Tidy manual setup install steps 2022-12-05 19:22:35 +00:00
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
dabf21629f Documentation for release 10.2.1 2022-11-30 19:22:15 +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