Z3c.autoinclude

Latest version: v1.0

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

Scan your dependencies

Page 2 of 3

0.3.7

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

- Add support for Python 3.4, Python 3.5 and PyPy.

- When choosing between multiple (equivalent) packages that offer the
same namespace and there are no namespace-only packages, choose
either the one whose project name matches the namespace (if there
are no dots in the namespace), or the first when sorted by project
name. Previously, the first in the list generated from the
combination of iterating ``sys.path`` and asking ``pkg_resources``
for distributions was picked. This should increase test
repeatability but is not expected to be otherwise noticeable. See
`PR 3 <https://github.com/zopefoundation/z3c.autoinclude/pull/3>`_
for discussion.

0.3.6

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

- Standardize namespace __init__.

- Fix broken tests.

0.3.5

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

* If a module cannot be resolved, but raises ``ImportError``, log a
warn and continue. This fixes an issue where the determining the
includable packages would fail due to a problem with the importation
of one or potentially more modules. An example is the ``gobject``
module which provides a Python binding to ``GObject``. In a recent
API deprecation, one is no longer allowed to both import ``gi`` and
``gobject``.

0.3.4

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

* Remove unnecessary distribution lookup in the PluginFinder.

0.3.3

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

* Ignore case in tests in order to pass tests on Windows.

* Clearly specify license as ZPL (not public domain, as it was
claiming before).

0.3.2

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

* Let ``subpackageDottedNames`` always return a sorted list of package names as
``os.listdir`` doesn't on some platforms.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.