David Brownman on Nostr: A fun(?) #python packaging question. I'm working on my Universal Test Runner and want ...
A fun(?) #python packaging question. I'm working on my Universal Test Runner and want better detection of #pytest presence. What file(s) + field(s) would I need to read to see that a user has declared a dependency on the Pytest package? I've got requirements.txt and pyproject.toml (in "project.dependencies" and "project.dependencies[test]", but I get the sense there are other places I should read.
Note: this is trying to detect for the first run, so assume there's not yet a .pytest-cache
Published at
2024-09-09 00:00:16Event JSON
{
"id": "acb5600f9609ea9c7aeca044330762387ddb8afe115135d0e6c2f4262fda9a7c",
"pubkey": "5894f8aedff3df605349b8ee10509ae926ccc8446842ccc7cf4e26087744e551",
"created_at": 1725840016,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"t",
"pytest"
],
[
"proxy",
"https://mastodon.social/users/xavdid/statuses/113104651324766527",
"activitypub"
]
],
"content": "A fun(?) #python packaging question. I'm working on my Universal Test Runner and want better detection of #pytest presence. What file(s) + field(s) would I need to read to see that a user has declared a dependency on the Pytest package? I've got requirements.txt and pyproject.toml (in \"project.dependencies\" and \"project.dependencies[test]\", but I get the sense there are other places I should read. \n\nNote: this is trying to detect for the first run, so assume there's not yet a .pytest-cache",
"sig": "f61c93f8d677291f31edc3995e21a6ef32e93fe3e298b491f3c55fc2e94eab78525bf1a8ddbd6021ff3f115741492696e8bf938f9d378ade064dfdead7947417"
}