Closed dlo closed 11 years ago
Yes please, a problem with Django 1.4 is solved installing from repo insteado of pypi :)
Just ran into this problem. The 'save' function on the pypi version is missing the check for the redis version.
if redis.VERSION[0] >= 2:
self.server.setex(self.get_real_stored_key(self._get_or_create_session_key()), self.get_expiry_age(), data)
lines 59 and 60 (and 61 for the 'else')
Will install from repo.
I had another unrelated issue. So this may not actually be causing an error.
right now the major difference for me between pypi and the repo is the usage of redis unix socket path ;) but checked out the source and used the git repo instead :)
It seams very important to me to not forget to tag the commit before actualy send it to PyPi.
This is the workflow I am using:
Update CHANGELOG using commit messages:
git log --pretty=format:"* %s" ${LAST_VERSION}.. --
git commit -am "Release ${NEXT_VERSION}."
git tag -a "$NEXT_VERSION" -m "Release ${NEXT_VERSION}."
Upload version on PyPi: python setup.py sdist upload
dev
suffixAdd CHANGELOG rule (unreleased)
git commit -am "Back to development." git push origin master --tags
I am using this workflow on https://github.com/novagile/django-mail-factory/ for instance.
There have been a few major changes (e.g. tabs to spaces, inclusion of redis session setting, etc)--would love to see these on PyPi.
Thanks!