zsoldosp / django-currentuser

Conveniently store reference to request user on thread/db level.
BSD 3-Clause "New" or "Revised" License
157 stars 40 forks source link

Conflicting dependencies with Django 4.0 #58

Closed toniengelhardt closed 1 year ago

toniengelhardt commented 2 years ago
ERROR: Cannot install -r requirements.txt, Django==4.0 and django-currentuser==0.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    django-currentuser 0.5.3 depends on Django<3.3 and >=1.11.17; python_version >= "2.7"

Is this just a matter of adjusting the dependency requirement or are there any changes needed in the package?

N1K1TAS95 commented 2 years ago

Same here. Django 4.0 support needed.

M3te0r commented 2 years ago

Hi, any update on Django 4.0 support ? Is django-currentuser still maintained ?

N1K1TAS95 commented 2 years ago

Any updates?

asucrews commented 2 years ago

I created a PR with 58, 61, and support for Django 4.0, Feel free to use my fork until PR is merged.

@toniengelhardt, @M3te0r, and @N1K1TAS95

bernd-wechner commented 2 years ago

I just ran into this same problem. Will use @asucews fork for now, though suggest you post the link to use in requirements.txt for the job. Will research that now and report if I find it.

bernd-wechner commented 2 years ago

Go with this in requirements.txt:

django-currentuser @ https://github.com/asucrews/django-currentuser/archive/refs/heads/master.zip
dannwise commented 1 year ago

@bernd-wechner thank you!

SachidanandAlle commented 1 year ago

Go with this in requirements.txt:

django-currentuser @ https://github.com/asucrews/django-currentuser/archive/refs/heads/master.zip

Will be helpful if the owner can push the latest version of PIP package for public use. Thanks :)

zsoldosp commented 1 year ago

62 solved it, #68 will make a pypi relase

melboone commented 1 year ago

Thanks

skuhikar-kc commented 1 year ago

Go with this in requirements.txt:

django-currentuser @ https://github.com/asucrews/django-currentuser/archive/refs/heads/master.zip

This was working till yesterday, but now url does not work. Is there any work around.

skuhikar-kc commented 1 year ago

django-currentuser @ https://github.com/asucrews/django-currentuser/archive/refs/heads/master.zip Above url not working from yesterday

varzgalys commented 1 year ago

The owner has changed, change URL to django-currentuser @ https://github.com/zsoldosp/django-currentuser/archive/refs/heads/master.zip

zsoldosp commented 1 year ago

FYI, 0.6.0 / 0.6.1 have just been released on pypi adding support for the current django versions. see #70