PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 23rd of November, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[15:46:48] <taleinat> Hi, question about the file downloads BigQuery dataset: Is there a way to query the number of downloads for a package over time without processing multiple GB of data?
[15:47:09] <taleinat> For example, this simple query over downloads for a single package processed GB of data...
[15:47:31] <taleinat> https://packaging.python.org/guides/analyzing-pypi-package-downloads/#id14
[15:47:38] <taleinat> 6GB
[16:00:18] <tos9> taleinat: I don't know offhand, but probably worth looking at how pypinfo does it
[16:00:24] <tos9> (I assume if there is a way, that it does it that way)
[16:02:20] <taleinat> tos9: Thanks, that was on my list of things to check, just moved to the top of the list :)
[16:19:40] <taleinat> tos9: Looks like pypinfo also ends up with BigQuery processing multiple GB for such queries :(
[16:53:26] <tos9> taleinat: I'd probably take that as a sign it's the only way then unfortunately
[17:13:43] <lazka> can I pass a version for a package in "[build-system] requires=..." to pip?
[17:17:38] <lazka> in other words, I want to pin a version of a build dependency
[17:21:32] <FFY00> yeah
[17:21:38] <FFY00> you should have no issues
[17:21:53] <FFY00> build system dependencies work just like other dependencies
[17:22:01] <tos9> lazka: (what FFY00 said -- e.g. https://github.com/Julian/jsonschema/blob/main/pyproject.toml#L5 )
[17:31:08] <lazka> I mean pass the version via commandline, like "foo==1.2.3" for normal deps. I don't have control over the pyproject.toml as it comes from pypi
[17:31:31] <lazka> I guess "--no-build-isolation" might work as a workaround
[18:40:15] <tos9> lazka: as in you're trying to build a package with broken build requirements I guess?
[18:57:31] <lazka> yeah.the newest build dep depends on a C lib that is too old