diff --git a/jaraco/vcs/subprocess.py b/jaraco/vcs/subprocess.py index 5f5bdb6..0959d80 100644 --- a/jaraco/vcs/subprocess.py +++ b/jaraco/vcs/subprocess.py @@ -1,8 +1,6 @@ import os import subprocess -from jaraco.collections import Mask - from . import base from . import cmd @@ -36,18 +34,6 @@ class Mercurial(Subprocess, cmd.Mercurial, base.Repo): priority = 1 + os.path.isdir('.hg') - @property - def env(self): - """ - Return an environment safe for calling an `hg` subprocess. - - Removes MACOSX_DEPLOYMENT_TARGET from the env, as if there's a - mismatch between the local Python environment and the environment - in which `hg` is installed, it will cause an exception. See - https://github.com/jaraco/jaraco.vcs/issues/7 for details. - """ - return Mask(['MACOSX_DEPLOYMENT_TARGET'], os.environ) - class Git(Subprocess, cmd.Git, base.Repo): """ diff --git a/newsfragments/7.feature.rst b/newsfragments/7.feature.rst new file mode 100644 index 0000000..431e977 --- /dev/null +++ b/newsfragments/7.feature.rst @@ -0,0 +1 @@ +Remove mask for environment when invoking hg as the underlying issue has been corrected. \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 9044e7b..faa7f9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,6 @@ install_requires = jaraco.classes more_itertools jaraco.versioning - jaraco.collections [options.packages.find] exclude =