Skip to content

Commit

Permalink
drop mock requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoely86 committed Feb 15, 2025
1 parent 9a74642 commit 2561cf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/vsc/install/shared_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _log(self, level, msg, args):

RELOAD_VSC_MODS = False

VERSION = '0.21.4'
VERSION = '0.21.5'

log.info('This is (based on) vsc.install.shared_setup %s', VERSION)
log.info('(using setuptools version %s located at %s)', setuptools.__version__, setuptools.__file__)
Expand Down Expand Up @@ -1539,11 +1539,9 @@ def parse_target(self, target, urltemplate=None):
# - https://github.com/PyCQA/flake8/blob/3.9.2/setup.cfg
# - https://github.com/PyCQA/prospector/blob/1.5.3.1/pyproject.toml
# To figure out requirements of what needs what: grep name_of_tool .eggs.py3/*/*/requires.txt
tests_requires.extend([
'mock',
])
if sys.version_info < (3, 7):
tests_requires.extend([
'mock', # part of Python core since 3.3
'pyflakes~=2.3.0',
'pycodestyle~=2.7.0',
'pylint~=2.12.2',
Expand Down Expand Up @@ -1781,7 +1779,9 @@ def main():
f'setuptools < {MAX_SETUPTOOLS_VERSION}',
]

install_requires.append('mock')
# mock is part of Python standard library now
if sys.version_info < (3, 7):
install_requires.append('mock')

PACKAGE = {
'version': VERSION,
Expand Down

0 comments on commit 2561cf6

Please sign in to comment.