Skip to content

Commit

Permalink
Ensure trees module is imported. Closes python#88.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 6, 2020
1 parent 90aa959 commit 3b5d345
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions importlib_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
from ._compat import metadata
from ._common import as_file

# for compatibility. Ref #88
__import__('importlib_resources.trees')


__all__ = [
'Package',
Expand Down
5 changes: 5 additions & 0 deletions importlib_resources/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
importlib_resources NEWS
==========================

v1.3.1
======
* For improved compatibility, ``importlib_resources.trees`` is
now imported implicitly. Closes #88.

v1.3.0
======
* Add extensibility support for non-standard loaders to supply
Expand Down

0 comments on commit 3b5d345

Please sign in to comment.