Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm support of django 1.11 and python 2.7 to 3.* #141

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

joehybird
Copy link

  • Add specific target for django 1.11 in travis configuration.
  • Fix problem with int => long conversion in python 2.7
  • Maybe the problems with travis builds comes from fast set/get calls in unit tests (async issue ?). I had no time to investigate sorry.

# in get_slot() if the hash value overflows integer a LONG is returned !
# and LONG not exist in python 3.x
try:
NUMBER_TYPES = (int, long)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use django.utils.six.integer_types rather than reimplementing it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

@joehybird joehybird force-pushed the master branch 2 times, most recently from 47c21a2 to e1fd32a Compare December 7, 2018 14:23
@joehybird
Copy link
Author

I have a serious problem with redis-server, the requests seems to fail randomly (are the tests synchronous ?)

…aly). Fix issue due to integer overflow and python < 3 (converted to long). Fix redis version in order to have SCAN command.
@joehybird joehybird force-pushed the master branch 3 times, most recently from 1e22e46 to 68f2a41 Compare January 15, 2019 15:22
@joehybird
Copy link
Author

@timgraham, it seems to pass but I got some issues between pyyaml and python 3.7 and had to upgrade this dependency.

@timgraham
Copy link
Contributor

Okay. By the way, I'm not a maintainer of this project.

@joehybird
Copy link
Author

Ok, I should ping @sebleier instead... Thanks for the help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants