Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
[opensuse-buildservice] Bogus warning "W: python-naming-policy-not-applied /usr/lib/pythonX.X/site-packages/X/lib/Y.py"
  • From: Florian Höch <lists+opensusebuildservice@xxxxxxxxx>
  • Date: Mon, 18 Jun 2012 18:19:44 +0200
  • Message-id: <4FDF5520.508@hoech.org>
If you have a python package named X, which happens to contain a
subpackage lib/Y, OBS complains that "This package doesn't respect the
naming policy for python packages. Its name
should match the regular expression ^python(-|$).", which is nonsensical
because you can't import from a package "python-Y" as hyphens are not
possible in package names, and a subpackage just named "python" doesn't
make sense either.

The warning in the subject should thus be removed.

--
Florian Höch


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages