[07:08:44] <xsetech> I'm following the instructions at https://setuptools.readthedocs.io/en/latest/setuptools.html, and I've just gotten to `twine upload --repository-url https://test.pypi.org/simple/ dist/*`. The command was changed from `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` in commit 0fc2a2acd6cc64b37b67e5f42e4d15d8e734c01f
[07:08:51] <xsetech> Except when I run it I get: `InvalidPyPIUploadURL: It appears you're trying to upload to pypi.org but have an invalid URL. You probably want one of these two URLs: https://upload.pypi.org/legacy/ or https://test.pypi.org/legacy/.`
[07:09:50] <xsetech> I'm guessing this is a rare case of the documentation being more up to date than anything else :)
[07:10:56] <xsetech> Also, the webmaster of http://kafka.dcpython.org/channel/pypa should use a cert..
[07:12:47] <xsetech> (and ftr /legacy works for uploading)
[07:18:34] <xsetech> Note the documentation's url for installing (https://test.pypi.org/simple/) does work.
[17:15:02] <di_codes> xsetech: Thanks for pointing that out, you're right. I made <https://github.com/pypa/setuptools/pull/1957> to fix it.
[18:36:41] <mirko> a pypi hosted package is confusing me
[18:37:21] <mirko> named "pc-ble-driver-py" - which it says is available in version 0.14.1 - but it apparently isn't
[18:46:45] <mirko> i hope that's not received as unconstructive rant, but as somebody who really appreciates python and its eco system, this is kinda surprising to me.. couldn't pip be a bit moe verbose about why it can't pick the selected version? or at least show me the version which i can install despite being inconsistent on search and install?
[18:47:19] <ngoldbaum> probably, you might open an issue on pip's issue tracker asking for a better error message in this case
[18:47:45] <mirko> will do, thanks for help and clarification!
[20:23:36] <exarkun> I am trying to fix https://github.com/PrivateStorageio/ZKAPAuthorizer/blob/master/setup.cfg to correctly declare that it has a runtime dependency on https://github.com/leastauthority/privacypass but this causes `pip install` of the former to fail while trying to install milksnake, a setup_requires dependency of the latter
[20:24:00] <exarkun> If the latter actually had to be built then I could understand this. However, it does not. It is already present in the environment into which the install is being performed.
[20:25:55] <exarkun> https://pip.pypa.io/en/stable/reference/pip_install/#controlling-setup-requires doesn't make me hopeful of a good resolution here...
[20:26:00] <ngoldbaum> setup_requires is, as i understand it, a legacy setuptools thing that does not interact will with pip
[20:26:21] <ngoldbaum> so the path of least resistance might be to get privacypass to drop the use of setup_requires...
[20:27:54] <ngoldbaum> ah but that's how you're supposed to use milksnake
[20:36:33] <toad_polo> Oh maybe that's because `milksnake` is pulling in `cffi` indirectly.
[20:36:48] <toad_polo> I don't think I ever looked at the generated code.
[20:38:39] <toad_polo> In general you should drop `setup_requires` in favor of the `build-system.requires` key in `pyproject.toml`, but setuptools will actually append the contents of `setup_requires` to the requirements for building a wheel (and maybe an sdist) if they exist, rather than trying to install them itself.
[20:39:08] <exarkun> maybe milksnake docs should be updated to say that
[20:40:16] <toad_polo> Anyway, there's lots of things that could be going wrong here, I'm not clear which one is.
[20:41:53] <toad_polo> I'm not sure why `milksnake` isn't installing, but taking as a given that you can't install `milksnake` at all but it's already present with the right version in the location you're installing `privacypass` into, then it's possible that `privacypass` is already using `pyproject.toml` and it's trying to install a new copy of `milksnake` into the isolated build environment.
[20:42:29] <exarkun> It wasn't present because I convinced myself it was a build dependency only
[20:42:50] <toad_polo> I think the easiest way to fix it would be to make it so you can install `milksnake` if that's possible.
[20:43:24] <exarkun> Yea, well, NixOS, so not that. pip isn't allowed to download anything, just operate on what is handed to it locally.