We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a168c commit 41a1149Copy full SHA for 41a1149
CHANGES.rst
@@ -4,6 +4,8 @@
4
- Refreshed project metadata based on `jaraco's project
5
skeleton <https://github.com/jaraco/skeleton/tree/spaces>_.
6
- Releases are now automatically published via Travis-CI.
7
+- #111: More aggressively trap errors when importing
8
+ ``pkg_resources``.
9
10
8.1.2
11
-----
path.py
@@ -121,9 +121,7 @@ def io_error_compat():
121
try:
122
import pkg_resources
123
__version__ = pkg_resources.require('path.py')[0].version
124
-except ImportError:
125
- __version__ = 'unknown'
126
-except pkg_resources.DistributionNotFound:
+except Exception:
127
__version__ = 'unknown'
128
129
0 commit comments