dolthub / doltpy

A Python API for Dolt
Apache License 2.0
55 stars 13 forks source link

Fixing the `packaging` dependency creates issues when trying to `pip-freeze` with other libraries #164

Open Focus opened 2 years ago

Focus commented 2 years ago

The packaging library is fixed to 20.4 which creates a problem when trying to freeze dependencies:

There are incompatible versions in the resolved dependencies:
  packaging==20.4 (from doltpy==2.0.9->-r requirements.train.in (line 1))
  packaging>=20.0 (from transformers==4.11.0->-r requirements.in (line 10))
  packaging>=14.3 (from google-cloud-secret-manager==2.7.2->-r requirements.in (line 11))
  packaging>=20.9 (from huggingface-hub==0.0.17->transformers==4.11.0->-r requirements.in (line 10))
  packaging (from mlflow==1.20.2->-r requirements.in (line 13))

Would it be possible to change this to a >= requirement?

AmirAktify commented 2 years ago

Yes, I'm having this exact same problem. 20.4 is quite old at this point, early 2020.