RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
This is from build of Flask. Looks really weird.
Also it has some weird file inside: /usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
Should we skip such things from RPM generator or we should remove that or what? Thoughts?
On Sat, Aug 20, 2016 at 05:17:59PM +0200, Igor Gnatenko wrote:
RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
This is from build of Flask. Looks really weird.
Also it has some weird file inside: /usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
Should we skip such things from RPM generator or we should remove that or what? Thoughts?
Looks like a in the build system or packaging script. Any automatic tools (like the RPM generator) should probably just ignore those, just like Python itself does.
Zbyszek
On Sat, Aug 20, 2016 at 6:24 PM, Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl wrote:
On Sat, Aug 20, 2016 at 05:17:59PM +0200, Igor Gnatenko wrote:
RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
This is from build of Flask. Looks really weird.
Also it has some weird file inside: /usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
Should we skip such things from RPM generator or we should remove that or what? Thoughts?
Looks like a in the build system or packaging script. Any automatic tools (like the RPM generator) should probably just ignore those, just like Python itself does.
Zbyszek
The generator itself ignores .egg files, as it (currently) is not set up to open them. It's still quite weird to see those, though.
On 21 August 2016 at 08:24, Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl wrote:
On Sat, Aug 20, 2016 at 05:17:59PM +0200, Igor Gnatenko wrote:
RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
This is from build of Flask. Looks really weird.
Also it has some weird file inside: /usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
Should we skip such things from RPM generator or we should remove that or what? Thoughts?
Looks like a in the build system or packaging script. Any automatic tools (like the RPM generator) should probably just ignore those, just like Python itself does.
This looks like RPM is flagging a potential bug in the Flask spec file to me - Python 3.x cache files shouldn't be showing up in the Python 2.7 site-packages directory.
Cheers, Nick.
Looks like this is bug in brp-python-compile, but I fixed python-Flask so it's not reproducible anymore ;)
On Sun, Aug 21, 2016 at 8:31 AM, Nick Coghlan ncoghlan@gmail.com wrote:
On 21 August 2016 at 08:24, Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl wrote:
On Sat, Aug 20, 2016 at 05:17:59PM +0200, Igor Gnatenko wrote:
RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/__pycache__/site.cpython-35.pyc
This is from build of Flask. Looks really weird.
Also it has some weird file inside: /usr/lib/python3.5/site-packages/flask/testsuite/test_apps/lib/python2.5/site-packages/SiteEgg.egg
Should we skip such things from RPM generator or we should remove that or what? Thoughts?
Looks like a in the build system or packaging script. Any automatic tools (like the RPM generator) should probably just ignore those, just like Python itself does.
This looks like RPM is flagging a potential bug in the Flask spec file to me - Python 3.x cache files shouldn't be showing up in the Python 2.7 site-packages directory.
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia _______________________________________________ python-devel mailing list python-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/python-devel@lists.fedoraproject...
python-devel@lists.fedoraproject.org