File tree 2 files changed +2
-15
lines changed 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -757,11 +757,8 @@ def build(self, autobuilding=False):
757
757
if not autobuilding :
758
758
logger .info (
759
759
'Skipping %s, due to already being wheel.' , req .name )
760
- elif req .editable :
761
- if not autobuilding :
762
- logger .info (
763
- 'Skipping bdist_wheel for %s, due to being editable' ,
764
- req .name )
760
+ elif autobuilding and req .editable :
761
+ pass
765
762
elif autobuilding and req .link and not req .link .is_artifact :
766
763
pass
767
764
elif autobuilding and not req .source_dir :
Original file line number Diff line number Diff line change @@ -380,16 +380,6 @@ def test_skip_building_wheels(self, caplog):
380
380
assert "due to already being wheel" in caplog .text ()
381
381
assert mock_build_one .mock_calls == []
382
382
383
- def test_skip_building_editables (self , caplog ):
384
- with patch ('pip.wheel.WheelBuilder._build_one' ) as mock_build_one :
385
- editable = Mock (editable = True , is_wheel = False , constraint = False )
386
- reqset = Mock (requirements = Mock (values = lambda : [editable ]),
387
- wheel_download_dir = '/wheel/dir' )
388
- wb = wheel .WheelBuilder (reqset , Mock ())
389
- wb .build ()
390
- assert "due to being editable" in caplog .text ()
391
- assert mock_build_one .mock_calls == []
392
-
393
383
394
384
class TestWheelCache :
395
385
You can’t perform that action at this time.
0 commit comments