[08:28:19] <graingert> should this be attr: local_scheme.local_scheme ?
[09:22:56] <graingert> ronny: how do I register entry point names?
[09:23:19] <graingert> Also is relative_to __file__ needed anymore?
[09:25:09] <graingert> I think a comprehensive porting guide from the legacy options to the modern declarative options is required
[12:42:46] <graingert> ronny: I've figured how to add an entrypoint but the maintainer doesn't want to add a dep
[12:43:15] <graingert> is there a way to define a version scheme inline without using the setuptools_scm legacy options?
[13:00:32] <graingert> it's fair enough that they don't want to add a dep - I think setuptools_scm might need updating to accept "attr: ..." options to allow inline definitions of callable get_version kwargs
[13:03:20] <ronny> graingert: thats a setuptools level thing, setuptools_scm doesnt touch setup.cfg wit a 10ft pole, as for pyproject.toml, there is not mechanism yet, for simple variants i beleive we can do a pretty simple declarative one, for anytihng complesx, use deps
[13:06:20] <graingert> ronny: yeah the way it parses "attr: ..." is after the config loads per config option
[13:06:42] <graingert> as I understand it, it's not a setup.cfg thing per-se but something that's processed by each config option
[13:07:18] <whitequark> one thing i hoped might be possible with setuptools_scm is a declarative way to describe versions, something like fmt-strings
[13:08:01] <graingert> eg it reads "attr: some.pkg:module" then something does .startswith("attr:") to use pkg_util.resolve_name
[13:08:33] <whitequark> setuptools_scm describes four cases here: https://github.com/pypa/setuptools_scm#default-versioning-scheme
[13:09:10] <graingert> ronny: whitequark is the maintainer I mentioned earlier
[13:09:12] <whitequark> if i could configure each of the four cases with options, something like `distance_no_clean = "{tag}+{node}.dirty"` that would be ideal
[13:10:13] <whitequark> (actually i'd be fine with two cases personally, but setuptools_scm seems to be built to handle more complex dirty suffixes than i need)
[13:10:38] <graingert> ronny: my current attempt moves the config from an inline python function to a pypi package: https://github.com/nmigen/nmigen/pull/358/files#diff-522adf759addbd3b193c74ca85243f7dR2
[13:12:07] <whitequark> being able to specify a function inline (or really, anywhere that is not "in a dependency") would also be fine with me
[13:12:22] <whitequark> but i understand this goes against the spirit of the declarative approach, which is fair
[13:40:23] <ronny> im fine with addin a declarative aporach for the formatting in general
[13:40:43] <ronny> currently its a bit hard to find time for it tho + there is the mess with pytest unfolding
[13:42:23] <graingert> ronny: I think it would be a case of updating callable_or_entry to support a pkg_util.resolve_name string
[13:43:04] <graingert> I've made a backport in pkg_util_resolve_name but it's py3 only atm
[13:45:26] <ronny> i just have to load a fake entrypoint from setuptools
[13:45:35] <ronny> but i dont think i want to do that
[13:45:55] <ronny> that attr: thing is something from setultools core for config loading, i wont reimplement that in setuptools_scm
[13:57:15] <ronny> btw, until it is fixed, its totally a absolutely valid solution to just leave that bit in setup.py, its not like setup.py will go away soon
[13:57:55] <whitequark> yup, that's what i'm going to do
[13:58:10] <ronny> graingert: can you open a issue about that, i have to run for sorting details with my toddler and i think iä'll forget
[14:15:17] <graingert> ronny: whitequark: see https://github.com/pypa/setuptools_scm/issues/419 and https://github.com/pypa/setuptools_scm/issues/418
[19:14:48] <PSFSlack> <deveshkusingh> So as per the comment at https://github.com/pypa/pip/issues/7951#issuecomment-614226534 , can new PRs still be made for existing issues, assuming that they will only be merged after April 30th?
[19:26:55] <pradyunsg> Also, expect reviews on them to be delayed (at least from my end) since there's a bunch of other stuff being done around-and-toward the release. :)
[19:28:23] <PSFSlack> <deveshkusingh> Yes sure no worries, I see everyone of the pip maintainers hard at work doing fixes geared towards the release :slightly_smiling_face:
[19:29:49] <PSFSlack> <deveshkusingh> anyways, I will tag relevant folks in the PRs/issues so that they can see it whenever they can
[19:34:24] <pradyunsg> @deveshkusingh: could you be a little less eager in mentioning/adding folks for reviews? Almost all of pip's maintainers get notifications for new PRs and nearly all comments on existing issues/PRs.
[19:36:07] <graingert> ronny: how about instead of a dict, use a list of templates with extras_require style conditions?
[19:37:13] <PSFSlack> <deveshkusingh> pradyunsg: Oops I wasn't aware of maintainers getting automatic notifications. Thanks for letting me know :slightly_smiling_face:
[22:21:37] <pradyunsg> I wonder if there's any other thing that's worth adding here -- I don't know how big the query would get if we add `details.distro` or `details.system` to this.
[22:23:15] <pradyunsg> I guess `details.distro.name` and `details.distro.version` would likely be enough information? I know AWS downloads show up in `distro.name`. Does GCP information come through in this?
[22:26:02] <EWDurbin> pradyunsg: cost of BQ queries are based on how much data is queried... not columns so if you want more columns just holler
[22:27:50] <pradyunsg> EWDurbin: My understanding is that additional columns count as more data.
[22:28:10] <EWDurbin> makes sense, i guess more columns means reading more data.
[22:36:23] <EWDurbin> pradyunsg: note i rewrote your query to use standardsql and query the new table (announcement tomorrow) https://pastebin.com/PmJKDsGW
[22:36:51] <EWDurbin> summary of new table: https://gist.github.com/ewdurbin/6ff69333e5cb7cb77b9b7db4e291f22b
[22:37:06] <EWDurbin> it also includes a new table that might interest you :-D
[22:37:38] <PSFSlack> <di> Same is not true for me though, so feel free to send any massive queries my way!