Fix reproducible builds sdist test by properly requiring building the wheel
We were using the flag `--no-build`, which means Pex will not be able to use the sdist to build the wheel and can only use bdist wheels. Instead, we want `--no-wheel` to ban bdist wheels and require building from an sdist.
@@ -1390,9 +1390,8 @@ def test_reproducible_build_bdist_requirements():
assert_reproducible_build(['six==1.12.0', 'cryptography==2.6.1'])
-@pytest.mark.skip("Acceptance test for landing https://github.com/pantsbuild/pex/issues/716.")
def test_reproducible_build_sdist_requirements():
- assert_reproducible_build(['pycparser==2.19', '--no-build'])
+ assert_reproducible_build(['pycparser==2.19', '--no-wheel'])
def test_reproducible_build_m_flag():
