Hi Jonathan, I think I could solve this problem if only I knew how to reproduce the problem on my machine.
I am not an expert on how package builds work on Debian but I can get a virtual machine with a Debian on it. I would just need the steps to reproduce the error reported by Lucas. I will also try to better document the use of tox in trash-cli, I am using it but I am not familiar with it, it is likely that I need to improve the use of tox in trash-cli. If someone can send me the commands to reproduce your results I am sure I can solve it in no time. Regards and thanks for the report Il giorno mer 8 mag 2024 alle ore 15:13 Jonathan Dowland <j...@debian.org> ha scritto: > Hi Andrea > > I'm afraid we've hit problems running the trash-cli test suite in Debian > again. Our automated processes have removed the package from "testing" > for the time being. > > A trace of the errors is available here: > <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067303> > > It looks like the Debian packaging invokes pytest to run the test suite. > Does that make sense today? > > The errors are all of the form > > > E ModuleNotFoundError: No module named 'scripts' > > which implies an import path issue. Any clues? > > I've explored moving to your latest tag, and also trying to use tox for > running the test suite, but I haven't got something that passes yet. > (For tox the issue is that the test suite needs to run offline, so it > behaves very differently to if I just ran "tox" on my developer machine, > which worked after I adjusted Python 3.10 to 3.11 in tox.ini and changed > one test.) > > If you've got any time or clues or suggestions about what to try next > I'd really appreciate it. I don't do much Python packaging (trash-cli > is currently my own Python package) and I have trouble keeping up with > what the current Python test, build, project, configure fashions are, as > well as the same for the Debian packaging layer (we've had several > Debian/Python build integrations over the years too). > > > > Best wishes, > > -- > 👱🏻 Jonathan Dowland > ✎ j...@debian.org > 🔗 https://jmtd.net > > -- Andrea Francia http://andreafrancia.it