4 ms·
My wishlist: We need a way to configure an ordered list of indexes pip searches for packages. —extra-index-url or using a proxy index is not the solution. Als
by mdmglr 4y ago
My wishlist:
We need a way to configure an ordered list of indexes pip searches for packages. —extra-index-url or using a proxy index is not the solution.
Also namespaces and not based on a domain. So for example: pip install apache:parquet
Also some logic either in the pip client or index server to minimize typosquatting
Also pip should adopt a lock file similar to npm/yarn. Instead of requirements.txt
And also “pip list” should output a dependency tree like “npm list”
I should not have to compile source when I install. Every package should have wheels available for the most common arch+OS combos.
Also we need a way to download only what you need. Why does installing scipy or numpy install more dependencies than the conda version? For example pywin and scipy.
- tempest_ 4y agoIf you are using poetry you can add something to the pyproject.toml to handle the indexes, though I am not sure if they are ordered or not [[tool.poetry.source]] name = "my-pypi" url = "https://my-pypi-index.wherever https://my-pypi-index.wherever" secondary = true
- mdmglr 4y agoThanks. I’ll look into this.
- ciupicri 4y ago> apache:parquet How are you going to name the file storing the wheel for that package? Using ":" on Windows is going to be problematic.
- mdmglr 4y agoThat’s right. Then some other delimiter.
- jbylund 4y agoTyposquatting is a thing that has been looked at and is being looked at: https://github.com/pypi/warehouse/pull/5001 https://github.com/pypi/warehouse/pull/5001 - had to be reverted because it was too noisy https://github.com/pypi/warehouse/issues/9527 https://github.com/pypi/warehouse/issues/9527