netzkolchose / django-fast-update

Faster db updates using UPDATE FROM VALUES sql variants.
MIT License
21 stars 2 forks source link

Hard-coded dependency breaks Django minor and patch updates #19

Closed danjac closed 1 year ago

danjac commented 1 year ago

Django 4.2.1 was updated recently with a security patch

https://docs.djangoproject.com/en/4.2/releases/4.2.1/

However, when upgrading to latest Django using Poetry, this breaks compatibility with django-fast-update:

django-fast-update (0.2.2) depends on Django (>=3.2,<=4.2)

It looks like the dependency is set for some reason to upper limit of 4.2, which does not allow minor/patch updates, including security patches.

jerch commented 1 year ago

Hmm, what would you suggest? Is <5.0 reasonable, given that django typically jumps to next major after last LTS release?

danjac commented 1 year ago

Perhaps just >=3.2 ? i.e. no need to set the upper dependency limit

jerch commented 1 year ago

Yeah, thats fine by me, gonna remove the upper restriction...