SemVer has two rules that the previous scheme violates:
1. major/minor/patch numbers can't start with a leading 0. Changing `%d` to `%-d` removes the leading zero. I also applied it to the year just in case :):
```
>>> print(now.strftime(f"%Y.%m.%d"))
2023.09.01
>>> print(now.strftime(f"%Y.%-m.%-d"))
2023.9.1
```
2. there can't be four dot-separated sections of the version. In this PR, I merge the year and month into one field (with a leading zero on the month!) so the seconds is the "patch" version, like this:
```
>>> print(now.strftime(f"%-Y%m.%-d.{modifier}"))
202309.1.82922
```
From the build:
> Package ‘python-2.7.18.6’ in
> /nix/store/n5hj62lgkwvz3gqnp4l4nxzjnadh7y54-source/pkgs/development/interpreters/python/cpython/2.7/default.nix:330
> is marked as insecure, refusing to evaluate.
and
> Python 2.7 has reached its end of life after 2020-01-01. See
> https://www.python.org/doc/sunset-python-2/.
Necessary to bump nixpkgs
<https://github.com/nix-community/poetry2nix/pull/996>.
- normalize package names to match PEP-503
- don't assume build dependencies on setuptools{,-scm}
- automatically generate overrides for setuptools{,-scm}
- pull known build systems directly from nixpkgs
- fix a bunch of mostly unrelated warnings
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>