opendp / smartnoise-sdk

Tools and service for differentially private processing of tabular and relational data
MIT License
254 stars 68 forks source link

Bump python version to >=3.8 in pyproject.toml #577

Closed mhauru closed 1 year ago

mhauru commented 1 year ago

There was already a conflict with the pandas requirement, the constraint was unsatisfiable. Trying to run poetry lock errored out with this:

The current project's Python requirement (>=3.7,<3.12) is not compatible with some of the required packages Python requirement:
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9

Because no versions of pandas match >2.0.1,<2.0.2 || >2.0.2,<2.0.3 || >2.0.3,<2.1.0 || >2.1.0,<2.1.1 || >2.1.1,<3.0.0
 and pandas (2.0.1) requires Python >=3.8, pandas is forbidden.
And because pandas (2.0.2) requires Python >=3.8, pandas is forbidden.
And because pandas (2.0.3) requires Python >=3.8
 and pandas (2.1.0) requires Python >=3.9, pandas is forbidden.
So, because pandas (2.1.1) requires Python >=3.9
 and smartnoise-sql depends on pandas (^2.0.1), version solving failed.