Hi Guix,
I’m packaging one of my yet-to-be-published-toy-project and I’m having this
weird error message when running the command installed by the Guix package:
```
Traceback (most recent call last):
File
"/gnu/store/i7i3zlsmrxrp9kq4pgyny3x49jx7j0vp-microbe-0.1.0a4/bin/.microbe-real",
line 5, in <module>
sys.exit (mod.app ())
^^^^^^^^^^
File
"/gnu/store/i7i3zlsmrxrp9kq4pgyny3x49jx7j0vp-microbe-0.1.0a4/lib/python3.11/site-packages/microbe/configuration/cli.py",
line 7, in app
return build()
^^^^^^^
File
"/gnu/store/i7i3zlsmrxrp9kq4pgyny3x49jx7j0vp-microbe-0.1.0a4/lib/python3.11/site-packages/microbe/infrastructure/typer/__init__.py",
line 47, in build
return app()
^^^^^
RuntimeError: Type not yet supported: pathlib.Path | None
```
>From the source repository, everything works as expected with our Python 3.11
and 3.12. But once packaged… **BOOM**, it throws the above error.
The *weird* thing is that `Path | None` is neither the return type of the caller
nor that of the callee!?
I’m not saying that I’m a Python packaging expert, but it’s not my first and it
usually works quite well.
Any idea or suggestion would be very welcome !
--
Tanguy