Z3c.autoinclude

Latest version: v1.0

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.3.1

------------------

* z3c.autoinclude no longer (spuriously) depends on PasteScript.

0.3

----------------

* Allow virtual namespace packages like 'plone' to be specified for the
package. I think this may need more thought for the dependency case.

* Allow ZCML ``includePlugins`` directive to specify a particular ZCML file to
try to load from plugins, so that loading of meta, configure and overrides
can be split across three ZCML files if desired. You can specify a file like:
<includePlugins package="." file="silly.zcml" />.

* Provide a separate ``includePluginsOverrides`` directive to be used when
loading overrides, and no longer look for 'overrides.zcml' files by default
with ``includePlugins``.

* Removed the deprecated ``autoinclude`` and ``autoincludeOverrides``
directives.

* `Allow autoinclusion to be disabled <http://lists.plone.org/pipermail/plone-framework-team/2009-February/005938.html>`_ by setting
``os.environ['Z3C_AUTOINCLUDE_PLUGINS_DISABLED']`` and
``os.environ['Z3C_AUTOINCLUDE_DEPENDENCIES_DISABLED']``, potentially useful for
test runners or debugging sessions.

For context on many of these changes, see `the PLIP 247 discussion <http://lists.plone.org/pipermail/plone-framework-team/2009-January/005823.html>`_.

0.2.2

------------------

* Gracefully catch KeyErrors in ``namespaceForDottedName``; get_metadata_lines
will sometimes throw this for certain distribution types, apparently. In
particular, some systems' version of Python itself will be wrapped in a
distribution which throws this error, resulting in system-dependent
unresumable breakage of z3c.autoinclude prior to this fix.

0.2.1

------------------

* Fixed bug which prevented proper inclusion of packages when the base
package's namespace has been extended by other installed packages.

* Rewrote ``distributionForPackage`` function.

* Added additional tests for ``includePlugins`` and utility functions.

* Fixed bug which made z3c.autoinclude look for ZCML in namespaces of nested
namespace packages (eg, if there happened to -- improperly -- be an
x/y/configure.zcml in a x.y.z package with an x.y namespace, it would have
been included; this is incorrect.)

0.2

----------------

* Added new directive ``includePlugins``.

* Renamed ``autoinclude`` directive to ``includeDependencies``.

* Deprecated ``autoinclude`` directive.

0.1

----------------

* Initial public release.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.