Skip to content

Commit a1c3177

Browse files
committed
restore previous-package-list-json
1 parent c194b5f commit a1c3177

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

make_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def main(argv: Sequence[str] | None = None) -> int:
118118
(
119119
sys.executable,
120120
"-mdumb_pypi.main",
121-
# f"--previous-package-list-json={prev_json}",
121+
f"--previous-package-list-json={prev_json}",
122122
f"--package-list-json={packages_json}",
123123
f"--output-dir={args.dest}",
124124
f'--packages-url={urllib.parse.urljoin(args.pypi_url, "wheels")}',

tests/make_index_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import zipfile
99
from unittest import mock
1010

11-
import pytest
1211
import re_assert
1312

1413
import make_index
@@ -144,7 +143,6 @@ def test_main_multiple_provide_same_package_first_wins(tmp_path):
144143
assert contents["requires_python"] == ">=3"
145144

146145

147-
@pytest.mark.skip
148146
def test_main_previous_packages_exist(tmp_path):
149147
dist = tmp_path.joinpath("dist")
150148
dist.mkdir()

0 commit comments

Comments
 (0)