Skip to content

Commit

Permalink
wheel dependencies are build dependencies too
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly committed Sep 6, 2022
1 parent 7c59508 commit 2b9a42b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/test_main.py
Expand Up @@ -231,7 +231,7 @@ def test_build_package_via_sdist_invalid_distribution(tmp_dir, package_test_setu
'* Building wheel from sdist',
'* Creating venv isolated environment...',
'* Installing packages in isolated environment... (setuptools >= 42.0.0, wheel >= 0.36.0)',
'* Getting dependencies for wheel...',
'* Getting build dependencies for wheel...',
'* Installing packages in isolated environment... (wheel)',
'* Building wheel...',
'Successfully built test_setuptools-1.0.0.tar.gz and test_setuptools-1.0.0-py2.py3-none-any.whl',
Expand All @@ -243,7 +243,7 @@ def test_build_package_via_sdist_invalid_distribution(tmp_dir, package_test_setu
'* Getting build dependencies for sdist...',
'* Building sdist...',
'* Building wheel from sdist',
'* Getting dependencies for wheel...',
'* Getting build dependencies for wheel...',
'* Building wheel...',
'Successfully built test_setuptools-1.0.0.tar.gz and test_setuptools-1.0.0-py2.py3-none-any.whl',
],
Expand All @@ -253,7 +253,7 @@ def test_build_package_via_sdist_invalid_distribution(tmp_dir, package_test_setu
[
'* Creating venv isolated environment...',
'* Installing packages in isolated environment... (setuptools >= 42.0.0, wheel >= 0.36.0)',
'* Getting dependencies for wheel...',
'* Getting build dependencies for wheel...',
'* Installing packages in isolated environment... (wheel)',
'* Building wheel...',
'Successfully built test_setuptools-1.0.0-py2.py3-none-any.whl',
Expand All @@ -262,7 +262,7 @@ def test_build_package_via_sdist_invalid_distribution(tmp_dir, package_test_setu
(
['--wheel', '--no-isolation'],
[
'* Getting dependencies for wheel...',
'* Getting build dependencies for wheel...',
'* Building wheel...',
'Successfully built test_setuptools-1.0.0-py2.py3-none-any.whl',
],
Expand All @@ -276,7 +276,7 @@ def test_build_package_via_sdist_invalid_distribution(tmp_dir, package_test_setu
[
'* Getting build dependencies for sdist...',
'* Building sdist...',
'* Getting dependencies for wheel...',
'* Getting build dependencies for wheel...',
'* Building wheel...',
'Successfully built test_setuptools-1.0.0.tar.gz and test_setuptools-1.0.0-py2.py3-none-any.whl',
],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_projectbuilder.py
Expand Up @@ -602,7 +602,7 @@ def test_log(mocker, caplog, package_test_flit):

assert [(record.levelname, record.message) for record in caplog.records] == [
('INFO', 'Getting build dependencies for sdist...'),
('INFO', 'Getting dependencies for wheel...'),
('INFO', 'Getting build dependencies for wheel...'),
('INFO', 'Getting metadata for wheel...'),
('INFO', 'Building sdist...'),
('INFO', 'Building wheel...'),
Expand Down

0 comments on commit 2b9a42b

Please sign in to comment.