https://git.schokokeks.org/derivepassphrase.git/tree/7cd9237f42004c3548aebfe609ba84cff11e4756 Recent commits to derivepassphrase.git (7cd9237f42004c3548aebfe609ba84cff11e4756) 2024-10-04T10:59:28+02:00 tag:gitlist.org,2012:commit/7cd9237f42004c3548aebfe609ba84cff11e4756 Add some ideas for missing documentation pages 2024-10-04T10:59:28+02:00 Marco Ricci software@the13thletter.info <pre>These are likely documentation entries that are anticipated, and yet uncovered. This includes most of the "hard" stuff: tutorials and how-tos. (The reference part is easy, and the explanation part only slightly less so.) &lt;/pre&gt; tag:gitlist.org,2012:commit/59082d1f81b629c4be67bdcce2977db289d7c3af Tell MkDocs to ignore scriv's changelog snippets 2024-10-04T10:55:32+02:00 Marco Ricci software@the13thletter.info <pre>The master changelog file is included, of course, but we don't want MkDocs to bother with the single snippets (rendering them, generating warnings that they're not part of the navigation tree, etc.). &lt;/pre&gt; tag:gitlist.org,2012:commit/b0d6fe8ee3208a5c123e546aa931ce06306ad8f6 Update required Python version in the README 2024-10-03T13:40:52+02:00 Marco Ricci software@the13thletter.info <pre>This was forgotten while adding Python 3.9 support. &lt;/pre&gt; tag:gitlist.org,2012:commit/7bd5c68e2b3448a44f2b0faeb3025e9974ed3fb6 Relax hypothesis deadline for another slow-ish test 2024-10-03T13:30:36+02:00 Marco Ricci software@the13thletter.info <pre>The vault settings validation test keeps timing out on my older hardware, when running without the C tracer and at moderate power saving settings. I can only presume it would time out similarly on even lower-powered hardware, such as a Raspberry Pi. &lt;/pre&gt; tag:gitlist.org,2012:commit/ba27276a76a263a2d866bc55eca012f927c34877 Merge topic branch 'issue15-graceful-af_unix-degredation' into master 2024-10-02T20:35:24+02:00 Marco Ricci software@the13thletter.info <pre>* t/issue15-graceful-af_unix-degredation: Fail gracefully if UNIX domain socket support is unavailable GitHub: Closes #15. &lt;/pre&gt; tag:gitlist.org,2012:commit/27f9bd183d7b124ddf137b536d1063dd64db3c66 Fail gracefully if UNIX domain socket support is unavailable 2024-10-02T19:26:30+02:00 Marco Ricci software@the13thletter.info <pre>To talk to the SSH agent, we currently require UNIX domain socket support, but not every Python on every system supports this (notably: Windows). If we detect such missing support, fail gracefully and with a useful error message, instead of a technical reason such as `AttributeError`. Besides the new failure modes that API consumers will need to handle, this results in one more observable change: socket objects passed to the `SSHAgentClient` constructor are now required to be already connected. The constructor will no longer prepare sockets it didn't create itself in any way. This new failure behavior also has consequences for the tests, which so far have naively assumed UNIX semantics and UNIX domain socket support. So change the testing machinery to automatically skip any test that involves constructing a custom SSH agent client *and* expecting that step to go well. Furthermore, since the "no support" constellation can be reasonably well simulated even on systems that *do* have UNIX domain socket support (via pytest's monkeypatching fixture), include explicit tests on the API and the CLI level for the "no support" constellation, in any case. &lt;/pre&gt; tag:gitlist.org,2012:commit/2511d75900a3fddc676ede50f9b5310a6dae8b97 Merge topic branch 'support-py39' into master 2024-10-02T09:32:06+02:00 Marco Ricci software@the13thletter.info <pre>* t/support-py39: Add changelog entry for Python 3.9 support Add support for Python 3.9 Accomodate known slow tests in hypothesis deadline Fix awkward parametrization declaration for SSH agent client tests &lt;/pre&gt; tag:gitlist.org,2012:commit/b815a40b7b829470af7ea98e4065a563e518d963 Add changelog entry for Python 3.9 support 2024-10-02T09:31:40+02:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/eea542a5c4507c46f795152b3e6577b1408df4bd Add support for Python 3.9 2024-10-01T11:51:05+02:00 Marco Ricci software@the13thletter.info <pre>Support Python 3.9 by not using the following features: - `match`/`case` statements; replace them with `if`-statements - annotation-like class unions in `isinstance`; use a tuple instead - `TypeAlias` objects; write these as strings - the `root_dir` parameter of `glob.glob`; build the file list via `fnmatch.fnmatch` ourselves &lt;/pre&gt; tag:gitlist.org,2012:commit/37a84d7952f9b6a09b4404cf36ea6c2b5dd2a020 Accomodate known slow tests in hypothesis deadline 2024-10-01T11:36:02+02:00 Marco Ricci software@the13thletter.info <pre>With coverage measurement enabled, program execution can slow down by a factor of roughly 40 if the Python tracer is used, instead of the C tracer. In some configurations, only the Python tracer is available. To avoid timing out on tests that otherwise would be okay with default settings, manually reset those tests' deadline to 40 times their original value; currently only one test is affected. &lt;/pre&gt;