Is there a way to specify that you don't care about pypy when creating a lockfile? #9473
Labels
great writeup
A wonderful example of a quality contribution 💜
question
Asking for clarification or support
Consider this pyproject.toml:
These dependencies are mutually compatible using regular cpython, but not with pypy because
clickhouse-driver[lz4]
specifies that you need an older version oflz4
(that's incompatible withdatabricks-sql-connector
) on that platform:https://github.com/mymarilyn/clickhouse-driver/blob/8a4e7c5b99b532df2b015651d893a6f36288a22c/setup.py#L131
Thus running
uv sync
fails:Locally we can workaround this by adding
;implementation_name != 'pypy'
to the clickhouse driver specification:However that doesn't help if one of your dependencies is also depending on the generic
clickhouse-driver[lz4]
. Is there any way I can say that I just don't care about pypy when creating a uv lockfile? I know they're supposed to be cross-platform/implementation but for our use cases at least we don't really need this guarantee.The text was updated successfully, but these errors were encountered: