Commit graph

7197 commits

Author SHA1 Message Date
Chris Mayo
8c3a6f77b3
Merge pull request #867 from cjmayo/python3.14
Update CI to Python3.14 and ubuntu-latest
2025-07-23 19:44:27 +01:00
Chris Mayo
dec76d60ff Run tests on ubuntu-latest
The VirusCheck plugin is now disabled. Revert:
2d30942f2 ("Run tests on ubuntu-22.04", 2024-10-12)
2025-07-23 19:23:52 +01:00
Chris Mayo
193a87a852 Test with Python 3.14 2025-07-23 19:23:52 +01:00
Chris Mayo
2c5cf9d9f7
Merge pull request #868 from cjmayo/litecoin
Add litecoin schemes
2025-07-21 19:31:23 +01:00
Chris Mayo
6970a6c0a6 Add litecoin schemes
https://litecoin.info/docs/key-concepts/uri-scheme
2025-07-21 19:21:33 +01:00
Chris Mayo
45ee206f0c Update IANA schemes 2025-07-21 19:21:33 +01:00
Chris Mayo
8264e324ca
Merge pull request #866 from cjmayo/viruscheck
Disable VirusCheck plugin
2025-07-18 19:26:34 +01:00
Chris Mayo
759208d903 Disable VirusCheck plugin
Not compatible with ClamAV >= 1.0.
2025-07-14 19:52:34 +01:00
Chris Mayo
bf176ae423
Merge pull request #861 from cjmayo/flake8-f824
Ignore flake8 F824 error in strformat.py
2025-04-07 19:34:33 +01:00
Chris Mayo
872944ecb0 Ignore flake8 F824 error in strformat.py
With flake8 7.2.0:

./linkcheck/strformat.py:154:9: F824 `global _` is unused: name is never assigned in scope
./linkcheck/strformat.py:154:9: F824 `global _n` is unused: name is never assigned in scope
2025-04-07 19:22:19 +01:00
Chris Mayo
243d892f59
Merge pull request #847 from cjmayo/ubuntu-22.04
Run tests on ubuntu-22.04
2024-10-12 17:18:43 +01:00
Chris Mayo
2d30942f22 Run tests on ubuntu-22.04
VirusCheck plugin needs updating for ClamAV 1.0.
2024-10-12 17:04:47 +01:00
Chris Mayo
63a2cf7c04
Merge pull request #842 from cjmayo/urlunsplit
Fix TestHttp.test_html_internet on Python 3.12.6
2024-09-20 19:28:06 +01:00
Chris Mayo
94839dcb03 Fix TestHttp.test_html_internet on Python 3.12.6
A relative path in a URL without netloc is preserved in
urllib.parse.urlunsplit().

https://docs.python.org/3.12/whatsnew/changelog.html#id4
2024-09-20 19:21:25 +01:00
Chris Mayo
dae72c8b11
Merge pull request #834 from cjmayo/rel105
Release 10.5.0
2024-09-03 19:38:48 +01:00
Chris Mayo
0608d4c719 Documentation for release 10.5.0 2024-09-03 19:33:11 +01:00
Chris Mayo
7aa97cc632 Update IANA schemes 2024-09-03 19:33:11 +01:00
Chris Mayo
5a174bc19a
Merge pull request #837 from cjmayo/parameterized
Use pytest.mark.parametrize instead of parameterized
2024-09-03 19:32:34 +01:00
Chris Mayo
86c3071405 Use pytest.mark.parametrize instead of parameterized 2024-09-03 19:27:13 +01:00
Chris Mayo
7ae1244104
Merge pull request #835 from cjmayo/man-updates
Update man pages and translation catalogs
2024-09-03 19:26:32 +01:00
LinkChecker
eca09ff455 Update application translation catalogs 2024-09-03 19:21:57 +01:00
LinkChecker
42a4bcfd60 Update man pages 2024-09-03 19:21:57 +01:00
LinkChecker
39449bd63f Update doc translation catalogs 2024-09-03 19:21:57 +01:00
Chris Mayo
4247d5b5ad
Merge pull request #836 from cjmayo/fix-attest
Fix issues with attestation workflows
2024-08-28 19:31:30 +01:00
Chris Mayo
c698fe7877 Don't push attestation of Docker images to the registry
Generates additional entries in the list of image versions, some
are labelled making it impossible for actions/delete-package-version in
its current state to automatically remove them.

https://github.com/actions/attest-build-provenance/issues/71#issuecomment-2108140285
2024-08-28 19:26:49 +01:00
Chris Mayo
cea3a84e8a Fix attest path to Python distribution files
Error: Could not find subject at path dist/*.{tar.gz,whl}
2024-08-28 19:26:49 +01:00
Chris Mayo
58507e9d77
Merge pull request #833 from cjmayo/hatch-test-cryptography
Add cryptography to tool.hatch.envs.test
2024-08-27 19:46:16 +01:00
Chris Mayo
e27d15b05d Add cryptography to tool.hatch.envs.test
Needed since:
219c17aa6 ("Use cryptography to generate certificate in TestHttps", 2023-11-07)
2024-08-27 19:43:40 +01:00
Chris Mayo
7cf5037ecc
Merge pull request #832 from cjmayo/InsecureRequestWarning
Resolve InsecureRequestWarning for test_https
2024-08-27 19:42:53 +01:00
Chris Mayo
5246fe80cc Resolve InsecureRequestWarning for test_https 2024-08-27 19:40:32 +01:00
Chris Mayo
092590050c
Merge pull request #831 from cjmayo/ci-deps
Fail CI tests instead of skipping and add a geoip tox factor
2024-08-27 19:37:33 +01:00
Chris Mayo
48496b3854 Use a geoip tox factor
GeoIP requires libGeoIP which tox deps cannot install.
Likewise the GeoLiteCountry database which is also required by
TestLocationInfo().

The last GeoIP release was in 2014, and libGeoIP has been EOL since 2022,
but it is still available in Debian/Ubuntu.
2024-08-27 19:34:28 +01:00
Chris Mayo
83958558d3 Fix TestFile.test_bad_file() skip message 2024-08-27 19:34:28 +01:00
Chris Mayo
618c7305d6 Fail tests instead of skipping if resources are unavailable in CI 2024-08-27 19:34:28 +01:00
Chris Mayo
6d14986bd6 Add tests.running_in_ci() 2024-08-27 19:34:28 +01:00
Chris Mayo
e23ca84177
Merge pull request #830 from cjmayo/attest
Use actions/attest for Docker images and Python distributions
2024-08-27 19:33:39 +01:00
Chris Mayo
34bacae063 Use actions/attest for Docker images and Python distributions
https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds
2024-08-27 19:30:20 +01:00
Chris Mayo
b77e39f26b
Merge pull request #829 from cjmayo/oserror
Replace os.error
2024-08-27 19:29:39 +01:00
Chris Mayo
cd67cb4a78 Replace os.error
os.error is an alias for OSError.
2024-08-27 19:26:46 +01:00
Chris Mayo
b31eec21a4
Merge pull request #827 from cjmayo/coveralls-parallel
Avoid Coveralls upload failure because build was closed
2024-08-27 19:25:55 +01:00
Chris Mayo
c937ff467c Avoid Coveralls upload failure because build was closed
Error: Unprocessable Entity
Can't add a job to a build that is already closed.
See docs.coveralls.io/parallel-builds
2024-08-27 19:22:56 +01:00
Chris Mayo
611bdd6c0a
Merge pull request #828 from cjmayo/py313
Support Python 3.13
2024-08-21 19:38:07 +01:00
Chris Mayo
b6e2b4a0de Add Python 3.13 to supported versions 2024-08-21 19:34:37 +01:00
Chris Mayo
e095258856 Revert "Replace deprecated importlib.resources.path()"
importlib.resources.path() was undeprecated.

https://docs.python.org/3.13/whatsnew/3.13.html#importlib

This reverts commit f390b7da33.
2024-08-21 19:34:37 +01:00
Chris Mayo
ecfd35b9e9 Fix TestFile.test_markdown on Python 3.12.5
mime type mapping for markdown was added.

https://docs.python.org/3.12/whatsnew/changelog.html#id3
2024-08-21 19:34:37 +01:00
Chris Mayo
84b26b2da5 Test with Python 3.13 2024-08-21 19:34:37 +01:00
Chris Mayo
f9ef0fc9a8
Merge pull request #824 from JanMalte/patch-2
fix: rename Vater to Eltern in german translation
2024-06-11 19:25:23 +01:00
Jan Malte Gerth
f51be1800d
fix: rename Vater to Eltern in german translation 2024-06-09 14:14:02 +02:00
Marius Gedminas
6bfea133bc
Merge pull request #822 from linkchecker/pylint-errors
Fix pylint errors (false positives)
2024-05-21 10:11:26 +03:00
Marius Gedminas
b5fa5054c9 Fix pylint errors (false positives)
The errors were

    ************* Module linkcheck.ansicolor
    linkcheck/ansicolor.py:190:21: E0606: Possibly using variable 'WinColor' before assignment (possibly-used-before-assignment)
    ************* Module linkcheck.plugins.locationinfo
    linkcheck/plugins/locationinfo.py:107:12: E0606: Possibly using variable 'geoip_error' before assignment (possibly-used-before-assignment)

and while it's true that the variables (WinColor, geoip_error) are
assigned conditionally, their use is protected (indirectly) by the same
conditionals.
2024-05-20 14:10:30 +03:00