























Actually I would just use a sed expression to delete the requirements lines with pathlib2 in them.
I think you still need to patch the requirements.txt to remove its declaration of pathlib2, otherwise setup will complain.
And also you need to bump pkgrel to 2, to force a rebuild with the changed metadata.
The requirements.txt should be patched to remove pathlib2;python_version>="3.4", as pathlib2 is part of the Python stdlib, and this module is only needed on some old Python 3.x versions, not for the current Python 3.8+ releases.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Python's build and install doesn't complain after all because of the missing pathlib2 (which is unnecessary for the execution of the code itself).
But the resulting MEDATATA file will contain an erroneous entry (the last one):