1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
Metadata-Version: 2.4
Name: zope.deferredimport
Version: 6.0
Summary: zope.deferredimport allows you to perform imports names that will only be resolved when used in the code.
Home-page: http://github.com/zopefoundation/zope.deferredimport
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.dev
License: ZPL-2.1
Project-URL: Issue Tracker, https://github.com/zopefoundation/zope.deferredimport/issues
Project-URL: Sources, https://github.com/zopefoundation/zope.deferredimport
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development
Requires-Python: >=3.9
License-File: LICENSE.txt
Requires-Dist: setuptools
Requires-Dist: zope.proxy
Provides-Extra: test
Requires-Dist: zope.testrunner>=6.4; extra == "test"
Provides-Extra: docs
Requires-Dist: Sphinx; extra == "docs"
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary
=========================
``zope.deferredimport``
=========================
.. image:: https://img.shields.io/pypi/v/zope.deferredimport.svg
:target: https://pypi.python.org/pypi/zope.deferredimport/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.deferredimport.svg
:target: https://pypi.org/project/zope.deferredimport/
:alt: Supported Python versions
.. image:: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.deferredimport/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.deferredimport?branch=master
.. image:: https://readthedocs.org/projects/zopedeferredimport/badge/?version=latest
:target: http://zopedeferredimport.readthedocs.io/en/latest/
:alt: Documentation Status
Often, especially for package modules, you want to import names for
convenience, but not actually perform the imports until necessary.
The zope.deferredimport package provided facilities for defining names
in modules that will be imported from somewhere else when used. You
can also cause deprecation warnings to be issued when a variable is
used.
Documentation is hosted at https://zopedeferredimport.readthedocs.io/
=========
Changes
=========
6.0 (2025-09-12)
================
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
5.1 (2025-08-11)
================
- Add support for Python 3.12, 3.13.
- Drop support for Python 3.7, 3.8.
5.0 (2023-06-29)
================
- Drop support for Python 2.7, 3.5, 3.6.
- Add support for Python 3.11.
4.4 (2021-12-10)
================
- Add support for Python 3.8, 3.9 and 3.10.
- Drop support for Python 3.4.
4.3.1 (2019-08-05)
==================
- Avoid race condition in ``deferredmodule.ModuleProxy.__getattr__``
`#8 <https://github.com/zopefoundation/zope.deferredimport/issues/8>`_.
4.3 (2018-10-05)
================
- Add support for Python 3.7.
4.2.1 (2017-10-24)
==================
- Preserve the docstrings of proxied modules created with
``deprecatedFrom``, ``deferredFrom``, etc. See `issue 5
<https://github.com/zopefoundation/zope.deferredimport/issues/5>`_.
4.2.0 (2017-08-08)
==================
- Add support for Python 3.5 and 3.6.
- Drop support for Python 2.6 and 3.3.
- Convert doctests to Sphinx documentation, including building docs
and running doctest snippets under ``tox``.
4.1.0 (2014-12-26)
==================
- Add support for PyPy. PyPy3 support is blocked on release of fix for:
https://bitbucket.org/pypy/pypy/issue/1946
- Add support for Python 3.4.
- Add support for testing on Travis.
4.0.0 (2013-02-28)
==================
- Add support for Python 3.3.
- Drop support for Python 2.4 and 2.5.
3.5.3 (2010-09-25)
==================
- Add test extra to declare test dependency on ``zope.testing``.
3.5.2 (2010-05-24)
==================
- Fix unit tests broken under Python 2.4 by the switch to the standard
library ``doctest`` module.
3.5.1 (2010-04-30)
==================
- Prefer the standard library's ``doctest`` module to the one from
``zope.testing``.
3.5.0 (2009-02-04)
==================
- Add support to bootstrap on Jython.
- Add reference documentation.
3.4.0 (2007-07-19)
==================
- Finish release of ``zope.deferredimport``.
3.4.0b1 (2007-07-09)
====================
- Initial release as a separate project, corresponding to the
``zope.deferredimport`` from Zope 3.4.0b1.
|