File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6767 with :
6868 path : dist
6969 - run : python3 -um make_index --rebuild --pypi-url https://pypi.devinfra.sentry.io --dest index
70- - run : cat index/simple/dumb-pypi/index.html
70+ - run : |
71+ cat index/simple/dumb-pypi/index.html
72+ tree index/wheels
73+ cat index/wheels/dumb_pypi-1.15.0-py2.py3-none-any.whl.metadata
7174
7275 # - uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10
7376 # with:
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ def test_make_info_empty_wheel_metadata(tmp_path):
3232 "filename" : "a-1-py3-none-any.whl" ,
3333 "hash" : "sha256=64f7f4664408d711c17ad28c1d3ba7dd155501e67c8632fafc8a525ba3ebc527" ,
3434 "core_metadata" : "sha256=d4528dc2d072c0e6d65addae8b5700fd29253b9eb9a9214aba539447d6f29fae" ,
35+ "_metadata" : b"Name: a\n Version: 1\n " ,
3536 "upload_timestamp" : mock .ANY ,
3637 "uploaded_by" : re_assert .Matches (r"^git@[a-f0-9]{7}" ),
3738 }
@@ -59,6 +60,9 @@ def test_make_info_full_wheel_metadata(tmp_path):
5960 "packaging (==21.3) ; extra = 'p'" ,
6061 ],
6162 "core_metadata" : "sha256=a015186125a83e6667547b156f8c6813e72fbab48c4ae635ac3c3a5f1d86aa9f" ,
63+ "_metadata" : b"Name: a\n Version: 1\n Requires-Python: >= 3.7, != 3.7.0\n Require"
64+ b"s-Dist: cfgv (>=1)\n Requires-Dist: jsonschema\n Requires-Dist: "
65+ b"packaging (==21.3) ; extra = 'p'\n " ,
6266 "requires_python" : ">= 3.7, != 3.7.0" ,
6367 "upload_timestamp" : mock .ANY ,
6468 "uploaded_by" : re_assert .Matches (r"^git@[a-f0-9]{7}" ),
You can’t perform that action at this time.
0 commit comments