help users to discover z3c.form's feature set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
z3c.form |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Various versions of z3c.form have different feature sets that can be used by users of this package. One such user, S&D, was supplying their own version of form widgets which are now provided by z3c.form, but which leads to the problem that it is not possible to depend on "any" version of z3c.form, and esp. to require a patch to work with the latest version of z3c.form. The following patch should improve the situation in that it makes these features discoverable:
--- configure.zcml.orig 2010-10-21 15:24:05.000000000 +0200
+++ configure.zcml 2010-10-21 15:40:58.000000000 +0200
@@ -1,6 +1,7 @@
<configure
xmlns="http://
xmlns:i18n="http://
+ xmlns:meta="http://
i18n_
<!-- default z3c.form layer -->
@@ -9,6 +10,8 @@
/>
+ <meta:provides feature=
+ <meta:provides feature=
<!-- Validators -->
<adapter
This can be easily solved by requiring specific z3c.form versions or ranges thereof in your setup.py file.