Skip to content

python-memcached 1.53 wheel package has 1.55 code in it #72

Closed
@vkurup

Description

@vkurup

Hi,

I just noticed that some of my TravisCI tests started failing. They depend on python-memcached==1.5.3, and the failure looks like this:

ERROR: test_cache_is_working (bulk_sms.tests.test_sending.MultiprocSendingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/<projectname>/bulk_sms/tests/test_sending.py", line 330, in test_cache_is_working
    self.assertTrue(cache.get('CACHETEST', default=False),
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/django/core/cache/backends/memcached.py", line 82, in get
    val = self._cache.get(key)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/memcache.py", line 1089, in get
    return self._get('get', key)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/memcache.py", line 1073, in _get
    return _unsafe_get()
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/memcache.py", line 1061, in _unsafe_get
    value = self._recv_value(server, flags, rlen)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/memcache.py", line 1235, in _recv_value
    val = int(buf)
ValueError: invalid literal for int() with base 10: 'True'

When I look at this page, the source package has different code than the wheel package:

image

Specifically, line 93 of memcache.py inside the wheel package says this:

__version__ = "1.55"

Would it be possible to upload a new wheel package with 1.53 code in it? Thanks for your work modernizing this package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions