Refine Nix dev shell, ensure PyYAML availability, fix Python invocation, and

expose pkgmgr.cli for Python 3.13 compatibility

- Add `.nix-dev-installed` to .gitignore
- Improve flake.nix:
  * unify pkgs/pyPkgs definitions
  * provide python311.withPackages including pip + PyYAML
  * remove unused pkgmgrPkg reference from devShell
  * fix PYTHONPATH export and devShell help message
- Update unit/integration test scripts to use `python3 -m unittest`
- Add top-level pkgmgr.__init__ exposing `cli` attribute for
  pkgutil.resolve_name compatibility under Python 3.13+
This commit is contained in:
kevinveenbirkenbach committed 2025-12-11 09:33:55 +01:00
1 parent 1d03055491
commit 389ec40163
6 files changed
+32 -11

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ docker run --rm \
set -e;
git config --global --add safe.directory /src || true;
nix develop .#default --no-write-lock-file -c \
python -m unittest discover \
python3 -m unittest discover \
-s tests/integration \
-t /src \
-p "$TEST_PATTERN";
+1 -1
View File
@@ -20,7 +20,7 @@ docker run --rm \
set -e;
git config --global --add safe.directory /src || true;
nix develop .#default --no-write-lock-file -c \
python -m unittest discover \
python3 -m unittest discover \
-s tests/unit \
-t /src \
-p "$TEST_PATTERN";