Recent commits to derivepassphrase.git (88fbfda029bfec81cf8190c000b1e539017c008c) https://git.schokokeks.org/derivepassphrase.git/tree/88fbfda029bfec81cf8190c000b1e539017c008c Recent commits feed provided by GitList. Set the Python path correctly during pytest invocation, round two In commit 0bf24eb16ec698d7759657cb810385ec7388f74c, we added the current directory explicitly to pytest's `pythonpath` configuration to avoid failing tests. Further analysis revealed that the culprit was the multiprocessing module with the `spawn` method, which needs to re-import the module it is called from (and other helper code from the `tests.data` and `tests.machinery` submodules), but is not compatible with some ways of modifying Python's module search path before module loading. According to my search results, the common way of dealing with this problem is instead to add the `tests` path to `pythonpath`, instead of the parent directory. Furthermore, it is unnecessary to explicitly add the `src` directory to `pythonpath`, as the virtualenv in which the tests run already has `derivepassphrase` installed. So we can reduce the `pythonpath` to only `tests`, and add an appropriate comment as to why this entry specifically is needed. We also add comments to the entries in `testpaths`, because it may not be immediately obvious that the `src` entry is needed for the doctests. https://git.schokokeks.org/derivepassphrase.git/commit/88fbfda029bfec81cf8190c000b1e539017c008c software@the13thletter.info (Marco Ricci) Sun, 23 Aug 2026 12:24:05 +0200 88fbfda029bfec81cf8190c000b1e539017c008c Update wishlist to post-v0.6.1 https://git.schokokeks.org/derivepassphrase.git/commit/96a6de836795685b74c4172cf8f807fd187bce47 software@the13thletter.info (Marco Ricci) Mon, 06 Jul 2026 21:29:46 +0200 96a6de836795685b74c4172cf8f807fd187bce47 Release 0.6.1 https://git.schokokeks.org/derivepassphrase.git/commit/84cfbefc857e59bbd2379d5201d338fa493d6d54 software@the13thletter.info (Marco Ricci) Mon, 06 Jul 2026 21:28:06 +0200 84cfbefc857e59bbd2379d5201d338fa493d6d54 Merge branch 'release-0.6.1-preparations' Prepare to release derivepassphrase v0.6.1 * release-0.6.1-preparations: Update wishlist Update the translation template, the German translation, and the message catalogs Add changelog entries for economic-test-suite, click-8.4.2-compatibility and openssh-bug3967-workaround Reformat everything with ruff Update wishlist Set the Python path correctly during pytest invocation https://git.schokokeks.org/derivepassphrase.git/commit/faad82c15c751fccb56639ec0f63b9181aa93211 software@the13thletter.info (Marco Ricci) Mon, 06 Jul 2026 21:20:40 +0200 faad82c15c751fccb56639ec0f63b9181aa93211 Update wishlist Also reference the new entry in the changelog. https://git.schokokeks.org/derivepassphrase.git/commit/6e6b81b3c29295e12d0cfb1cafb86885f9585dde software@the13thletter.info (Marco Ricci) Mon, 06 Jul 2026 20:19:03 +0200 6e6b81b3c29295e12d0cfb1cafb86885f9585dde Update the translation template, the German translation, and the message catalogs https://git.schokokeks.org/derivepassphrase.git/commit/180f4092b7d8f31d577478744bd4cd1de991b2cf software@the13thletter.info (Marco Ricci) Sun, 05 Jul 2026 22:34:45 +0200 180f4092b7d8f31d577478744bd4cd1de991b2cf Add changelog entries for economic-test-suite, click-8.4.2-compatibility and openssh-bug3967-workaround https://git.schokokeks.org/derivepassphrase.git/commit/f6501cdea5b9af2c5ea73367239b38dd7ef7f69b software@the13thletter.info (Marco Ricci) Sun, 05 Jul 2026 22:22:00 +0200 f6501cdea5b9af2c5ea73367239b38dd7ef7f69b Reformat everything with ruff Linting and type checking passes, so nothing to do there. https://git.schokokeks.org/derivepassphrase.git/commit/b21188f464eb047ac53f122b2ec64eb8a8a383ac software@the13thletter.info (Marco Ricci) Sun, 05 Jul 2026 21:47:45 +0200 b21188f464eb047ac53f122b2ec64eb8a8a383ac Update wishlist https://git.schokokeks.org/derivepassphrase.git/commit/a696063933df2258448ce50c38cfdfe5ce80a4ba software@the13thletter.info (Marco Ricci) Sun, 05 Jul 2026 21:46:51 +0200 a696063933df2258448ce50c38cfdfe5ce80a4ba Set the Python path correctly during pytest invocation Some of our tests spawn subprocesses, and without this, the subprocesses fail to import code from the `tests` hierarchy (e.g., `tests.data`.) We have so far sidestepped this issue by requiring `$PYTHONPATH` to be set accordingly, but it turns out that setting this in the pytest settings works even more reliably. In the long run, it might be smarter to use a similar source layout in `tests` as we already do in `src`: a top-level `test_derivepassphrase` package, and the `data`, `machinery` and other tests modules/packages as submodules/subpackages of `test_derivepassphrase`. https://git.schokokeks.org/derivepassphrase.git/commit/0bf24eb16ec698d7759657cb810385ec7388f74c software@the13thletter.info (Marco Ricci) Sun, 05 Jul 2026 21:31:22 +0200 0bf24eb16ec698d7759657cb810385ec7388f74c