Conversation
| ) | ||
| self.assertEqual({"test"}, bm.provides_extra) | ||
|
|
||
| def test_basic_metadata_fields(self) -> None: |
There was a problem hiding this comment.
can you include a couple more words about who does this -- is this from modern setuptools, or something else like flit/poetry/hatchling
There was a problem hiding this comment.
Update test to have Description.
Move the contents of the PKG-INFO to a module const.
metadata_please/sdist.py
Outdated
There was a problem hiding this comment.
Consider sorting this by length and taking the shortest; these might exist in test data and these archives are generally alphabetic order. I'll try to find you a real-world artifact that needs this.
There was a problem hiding this comment.
nose 1.3.1 (test data)
ucxdsa 2024.4.23 (project rename, didn't clean)
relaxed-poetry 0.2.2 (test data)
wish 1.0.1 (.lib dir)
additionally looks like rust projects don't have a top level dir
orjson 3.5.0
rfernet 0.1.3
metadata_please/sdist.py
Outdated
There was a problem hiding this comment.
this looks like a copypaste error from the zip one, I like requires_DATA = b"" and doing the read a couple lines above rather than in the last line of this func.
No description provided.