ollama-python icon indicating copy to clipboard operation
ollama-python copied to clipboard

Remove upper bound from Python version specifier

Open sisp opened this issue 9 months ago • 2 comments
trafficstars

Capping the Python version (e.g. <4) is a bad practice.

  • https://github.com/pypa/packaging.python.org/pull/850
  • https://iscinumpy.dev/post/bound-version-constraints/#pinning-the-python-version-is-special
  • https://discuss.python.org/t/requires-python-upper-limits/12663

Hence, I've removed the upper bound, i.e. I've replaced the version specifier ^ by >=.

sisp avatar Feb 24 '25 15:02 sisp

If we end up keeping poetry will get this in :)

ParthSareen avatar Feb 24 '25 22:02 ParthSareen

Any reason not to merge this, even if you consider migrating away from Poetry at some point?

sisp avatar Mar 14 '25 13:03 sisp