[00:10:20] <altendky> tos9: i don't know specifically for SAT but in general i'd think `if TYPE_CHECKING:` would be proper.
[00:19:43] <tos9> altendky: it's not my project otherwise I'd change it (I know like ~negative 7 things about typing so I don't really have a personal opinion)
[00:19:48] <tos9> but if that's the only way I'll probably suggest that
[00:32:45] <altendky> tos9: it is exactly there for things you only want for type hinting so obvious or not it seems more appropriate than `if False:`
[07:24:15] <agronholm> tos9: you don't – use `if typing.TYPE_CHECKING`:
[09:32:48] <graingert> dstufft: bittorrent v2 released recently and it uses a persistent data structure for torrents, putting a regularly updated .torrent v2 file for each package would allow TUF hashes to apply to chunks of releases
[09:33:28] <graingert> this would allow the range header approach of extracting metadata to be secure
[09:38:01] <graingert> so if there were a complete .torrent for all of pypi released daily v2 clients with the old .torrent would be able to provide pieces to clients with the latest .torrent
[19:43:08] <graingert> altendky: you can't refer to extras from extras, until 2020
[20:00:30] <altendky> graingert: maybe i need to revisit my tests
[20:01:28] <altendky> graingert: but for now i'm dealing with my fixtures getting torn down in the wrong order (async before a sync it depends on)
[22:06:05] <_val_> Hello everyone. I am running pip versoin: pip 20.2.3 and whenever I try to install a package from localshop.. I get: http://sprunge.us/WtoVRJ
[22:06:31] <_val_> any idea why it isn't retrieving the package from my localshop but instead it wan'ts to go to pypi.python.org?
[22:12:42] <tos9> _val_: how are you configuring it / what command are you running?
[22:16:32] <_val_> tos9: this is the line: pip -v install ruamel.yaml==0.16.12 --index-url https://localshop.foobar.tld/repo/tgho --trusted-host localshop.foobar.tld --extra-index-url https://localshop.foobar.tld/repo/tgho
[22:17:48] <tos9> _val_: and if you run that exact command on 20.2.2 you don't hit pypi?
[22:18:02] <tos9> also why are you specifying the same URL as both --index-url and --extra-index-url?
[22:38:46] <tos9> _val_: those two shouldn't have anything to do with each other
[22:38:47] <_val_> I have a linnk with ruamel.yaml and not ruamel-yaml
[22:39:35] <tos9> if pip went out and hit an index server other than the one you specified that'd be a huge deal if it happened, even if it didn't find the package you specified, but I can't tell if you mean to use --extra-index-url (in which case that behavior *is* expected) or whether you mean to use --index-url (in which case yeah that'd be a big bug)
[22:40:08] <_val_> tos9: I removed --extra-index-url..
[22:46:40] <_val_> that is stupid right and not sure where that happens
[22:46:46] <tos9> _val_: yes, I think the tl;dr is "your file is likely misgenerated"
[22:47:01] <tos9> and that it should not have a '.' in it
[22:47:22] <_val_> if I go via the web browser: https://localshop.foobar.tld/repo/tgho/ruamel-yaml it redirects me to https://pypi.org/simple/ruamel-yaml/
[22:47:35] <_val_> tos9: hmm where should I fix this? any idea?
[22:47:54] <tos9> _val_: and https://pypi.org/simple/ruamel-yaml/ works right?
[22:48:09] <tos9> I think because PyPI implements redirecting nonnormalized names to normalized ones
[22:48:47] <tos9> so if you have that, you either need to do that redirect in your index server as well (redirect ruamel.yaml to ruamel-yaml) or I half guess if you rebuild sdists/wheels with modern setuptools/wheel/etc. probably you'll end up with normalized names there too
[22:49:03] <_val_> tos9: yes that works but For security reasons I've denied access to external repositories