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
Chris Mayo
06d662a677
Merge pull request #819 from cjmayo/ref-names
...
Remove ref-names from .git_archival.txt
2024-04-22 19:34:16 +01:00
Chris Mayo
8c392d917c
Remove ref-names from .git_archival.txt
...
Can cause differences in the archive generated for a tagged commit
when subsequent commits have been made to the repository.
2024-04-22 19:31:57 +01:00
Chris Mayo
c019013ebd
Merge pull request #820 from cjmayo/coverage
...
Fix coverage results upload to Coveralls
2024-04-22 19:29:54 +01:00
Chris Mayo
fad8e0afa5
Fix coverage results upload to Coveralls
...
As seen with coverage-reporter v0.6.10:
Detected coverage file: .coverage
Coverage reporter does not yet know how to process this file: .coverage
2024-04-22 19:22:52 +01:00
Chris Mayo
10f1178912
Merge pull request #809 from cjmayo/node20
...
Update Actions
2024-03-22 19:36:16 +00:00
Chris Mayo
46d7d78dd6
Preserve Docker images of releases
...
Use "delete-only-untagged-versions" and stop tagging non-release images.
2024-03-22 19:28:27 +00:00
Chris Mayo
9dadf285a1
Suppress progress output from actions/checkout
2024-03-22 19:28:27 +00:00
Chris Mayo
10530e5a26
Update Actions to Node 20 versions
2024-03-22 19:28:27 +00:00
Chris Mayo
1c83056f02
Add version to Coveralls Action
2024-03-22 19:28:27 +00:00
Chris Mayo
640b9f6483
Merge pull request #808 from cjmayo/actions_deploy-pages
...
Use actions/deploy-pages to publish to GitHub Pages
2024-03-21 19:27:26 +00:00
Chris Mayo
70e55ac122
Use actions/deploy-pages to publish to GitHub Pages
...
gh-pages branch is no longer used.
2024-03-21 19:24:06 +00:00
Chris Mayo
91aee31744
Merge pull request #807 from cjmayo/test_ignoreerrors
...
Fix test_ignoreerrors test_internet failure
2024-03-19 19:29:45 +00:00
Chris Mayo
ea0b2369f1
Rename test_ignoreerrors.TestFile
2024-03-19 19:21:29 +00:00
Chris Mayo
f1307c9f52
Fix test_ignoreerrors test_internet failure
...
example.com is returning HTTP code 500.
2024-03-19 19:21:29 +00:00
Chris Mayo
54be64c1e2
Merge pull request #806 from cjmayo/cryptography-42
...
Resolve CryptographyDeprecationWarning for not_valid_after
2024-03-18 19:21:28 +00:00
Chris Mayo
fcf0cd0a80
Resolve CryptographyDeprecationWarning for not_valid_after
...
linkchecker/linkcheck/httputil.py:31: CryptographyDeprecationWarning:
Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
2024-03-11 19:33:47 +00:00
Chris Mayo
b80aadbad6
Merge pull request #805 from cjmayo/bold
...
Use bold for referenced options and LinkChecker HTTP header in linkcheckerrc(5)
2024-02-26 19:34:23 +00:00
Chris Mayo
7684a22261
Make LinkChecker HTTP header bold in linkcheckerrc(5)
2024-02-26 19:28:11 +00:00
Chris Mayo
c7621d80a4
Make referenced options bold in WARNINGS in linkcheckerrc(5)
2024-02-26 19:28:11 +00:00
Chris Mayo
6d410673ed
Merge pull request #801 from cjmayo/w3conline
...
Update CssSyntaxCheck and HtmlSyntaxCheck documentation
2024-02-26 19:27:34 +00:00
Chris Mayo
ffe4a83b88
Document CssSyntaxCheck checks stylesheets
2024-02-26 19:24:07 +00:00
Chris Mayo
faa570f45c
Document CssSyntaxCheck and HtmlSyntaxCheck submit URLs
2024-02-26 19:24:07 +00:00
Chris Mayo
64e5cc1083
Merge pull request #799 from cjmayo/ignoreerrors
...
Remove space from ignoreerrors example in linkcheckerrc
2024-02-26 19:22:36 +00:00
Chris Mayo
907d97755c
Remove space from ignoreerrors example in linkcheckerrc
...
Was not matching "Error: SSLError: ...".
2024-02-15 19:33:47 +00:00
Chris Mayo
156f987ac6
Merge pull request #798 from cjmayo/advertencia
...
Fix Spanish translation of warning
2024-02-13 19:49:36 +00:00
Chris Mayo
ed31e097ab
Fix Spanish translation of warning
2024-02-13 19:46:42 +00:00
nodet
28f6743778
Add ignorewarningsforurls to ignore specific warnings ( #794 )
...
We want to allow specifying a warning to ignore for
each URL. If no regex is specified for the warning to ignore,
we'll ignore all warnings.
The tests still pass as they are, which means that unknown
values in the configuration file are simply ignored.
* [#782 ] Add values to configuration file
* [#782 ] Parse new configuration values
* [#782 ] Actually ignore a warning
* [#782 ] Confirm side cases work as expected
* [#782 ] Add logging when deciding to ignore warnings
* [#782 ] Documentation for ignorewarningsforurls
* [#782 ] Update (generated) man pages
* [#782 ] These tests pass without network, actually
* [#782 ] Fix copy/paste error in symbol naming
* [#782 ] The regex matches the name of the warning, not the message
* [#782 ] Better wording
* [#782 ] Update (generated) man pages
* [#782 ] We match the type, not the message
2024-02-13 19:43:29 +00:00
Chris Mayo
12e47c9877
Merge pull request #780 from cjmayo/no-sigstore
...
Stop generating Sigstore signatures on release
2023-12-11 19:46:50 +00:00