https://git.schokokeks.org/derivepassphrase.git/tree/99863c4d7b2a3ee8f7b0d0d3e3f924afe7d40fb8Recent commits to derivepassphrase.git (99863c4d7b2a3ee8f7b0d0d3e3f924afe7d40fb8)2024-07-21T10:09:10+02:00tag:gitlist.org,2012:commit/99863c4d7b2a3ee8f7b0d0d3e3f924afe7d40fb8Reformat everything with ruff2024-07-21T10:09:10+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/a101d1f604a3ad6de242989f7a4887b78ab012a1Fix style issues with ruff (hatch default configuration)2024-07-20T23:46:05+02:00Marco Riccim@the13thletter.info
<pre>Because `ruff` only shows online documentation for the latest version,
it is inconvenient to work with outdated rulesets. So, manually update
the `hatch` configuration from `ruff` v0.4.5 to v0.5.0, and reimplement
all rule changes by hand.
</pre>
tag:gitlist.org,2012:commit/62317bc2b46db2cd7ea7686f742975f41bc1d507Fix style issues with ruff (in its default configuration)2024-07-19T18:58:12+02:00Marco Riccim@the13thletter.info
<pre>(One of them actually was a bug: an f-string missing the leading `f`.)
</pre>
tag:gitlist.org,2012:commit/74eb30950ad70a2eb68f89153c3afa6c3573d24bRelease 0.1.12024-07-14T16:14:59+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/9789064a7ad65603faf4eae8f0bafa81bc0619a6Set up a web host for the documentation2024-07-14T16:11:25+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/a95f76835b6b2583339951bf07e71409502ed6ebRemove CSS file mention in MkDocs configuration2024-07-14T16:10:32+02:00Marco Riccim@the13thletter.info
<pre>The file itself was already removed in
cedd14e7792ab8b3a7cc1bfe0b2d5e280695cd40.
</pre>
tag:gitlist.org,2012:commit/8e2ab9c4d21ea072614658c14e068c3b7b1c3bfbUpdate package dependencies in README2024-07-14T15:23:27+02:00Marco Riccim@the13thletter.info
<pre>We erroneously claim that we require Python 3.11 instead of 3.10, and we
neglect to mention the typing-extensions package.
</pre>
tag:gitlist.org,2012:commit/cb8368b8d13ff02bba21a498dcefb1056439bbb4Restore __version__ attributes in modules2024-07-14T15:00:43+02:00Marco Riccim@the13thletter.info
<pre>Version 0.1.0 included broken references to the `__version__` attribute
in other modules, most importantly in the command-line interface. In
the README, we mention that we support copying the files into the target
directory. The command-line interface will then have no installed
package to query for its version number.
Fix this by re-duplicating the version number in the `__version__`
attribute, manually, across all top-level modules.
In the long run, we either want Hatchling to support writing the version
back to multiple files, or we want to write a script or hook script that
accomplishes this ourselves, or perhaps we want to publish `sequin` and
`ssh_agent_client` as separate packages so they get their own version
number. Until then, manually duplicating the number to the top-level
modules is an acceptable compromise to me.
</pre>
tag:gitlist.org,2012:commit/3885f25a02fa7e87cf1f7faba51225bebf865944Release 0.1.02024-07-14T13:17:54+02:00Marco Riccim@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/565dd46f8506662fd4abcc8e7f9c7a99ae15958fSet project version statically due to Hatchling limitation2024-07-14T13:14:10+02:00Marco Riccim@the13thletter.info
<pre>Hatch/Hatchling do not support reading the version string from (or
writing a new string to) multiple files. See
[pypa/hatch#684](https://github.com/pypa/hatch/issues/684). Until such
a feature is implemented, or I write my own script or hatchling plugin
to replicate the version number myself, set the number statically in the
project metadata, and forego the luxury of having the version number
available in source code form. Users wanting the project version number
will need to query the package metadata, e.g. via
`importlib.metadata.version(...)` from the Python standard library.
</pre>