[Bug 1300457] Review Request: python-mimerender - RESTful HTTP Content Negotiation for Flask, Bottle, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1300457



--- Comment #2 from awilliam@xxxxxxxxxx <awilliam@xxxxxxxxxx> ---
huh, I was sure there was a python dep generator. how is there not?! that be
crazy.

functools and re are stdlib stuff, unittest2 is only there so you can run the
file directly to run the unit tests (as I do in %check) so it doesn't make
sense to make it a requirement for normal use (normal use would be to import
the module).

The web, flask, bottle and webapp2 imports are all optional - basically for
each one, if it's there, you get a MimeRenderBase subclass for it, if it's not
there, you don't.

I'm not sure how best to handle this, I don't think Requires or even Recommends
make sense, because I figure the usual case is you're going to have a webapp
using *exactly one* of those frameworks which wants to use mimerender, and the
webapp itself will have the appropriate requirements anyway. If we add Requires
or Recommends you're going to wind up with four webapp frameworks installed,
likely three of which you don't need. I think the right thing to do is probably
just to add a comment about this in the spec. WDYT?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]