349e93904c3786f0f0a816551dafee4af921102c,src/python/pants/backend/python/pants_requirement.py,PantsRequirement,__call__,#PantsRequirement#Any#Any#,33
Before Change
"distributions, given {}".format(self.alias, dist),
)
requirement = PythonRequirement(
requirement="{key}=={version}".format(key=dist, version=pants_version())
)
self._parse_context.create_object(
"python_requirement_library", name=name, requirements=[requirement]
)
After Change
),
)
module_name = dist.replace("pantsbuild.", "")
requirement = PythonRequirement(
requirement=f"{dist}=={pants_version()}", modules=[module_name]
)
self._parse_context.create_object(
"python_requirement_library", name=name, requirements=[requirement]
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 349e93904c3786f0f0a816551dafee4af921102c
Time: 2020-07-01
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/pants_requirement.py
Class Name: PantsRequirement
Method Name: __call__
Project Name: pantsbuild/pants
Commit Name: bc58220f0ae6c31e6274cf6180804058b2308cec
Time: 2018-02-16
Author: benjyw@gmail.com
File Name: contrib/mypy/src/python/pants/contrib/mypy/tasks/mypy_task.py
Class Name: MypyTask
Method Name: _run_mypy
Project Name: pantsbuild/pants
Commit Name: 7e1f08abfc990ce06443ffcab1d219aca158f11f
Time: 2015-12-28
Author: stuhood@gmail.com
File Name: tests/python/pants_test/backend/python/test_python_chroot.py
Class Name: PythonChrootTest
Method Name: test_antlr