pinterest / pymemcache

A comprehensive, fast, pure-Python memcached client.
https://pymemcache.readthedocs.io/
Apache License 2.0
778 stars 179 forks source link

Bump python-memcached from 1.59 to 1.62 #607

Open dependabot[bot] opened 3 months ago

dependabot[bot] commented 3 months ago

Bumps python-memcached from 1.59 to 1.62.

Release notes

Sourced from python-memcached's releases.

1.62 delete() returns 0 for NOT_FOUND or server error (consistent with docstring)

delete() return value now is 1 for "DELETED" and 0 for "NOT_FOUND" or server error. (Nick Pope PR #190) This is consistent with the docstring.

1.61 Fixing date in Changelog

This is a documentation-only fix, fixing the date in the Changelog in the 1.60 release. See that release for the full set of changes.

1.60: Many bug-fixes (2023)

  • Allow to use a datetime.timedelta parameter for Client.set (PR from Theo Massard)
  • Fix cmemcahe_hash 0 values being translated to 1 (PR from Chow Loong Jin)
  • Fix tuple key support in multi methods (PR from Sergii Mikhtoniuk) #154
  • Add support for default value in get (PR from Jakub Szafrański)
  • test_memcache.py: try import unittest.mock (PR from Tim Orling)
  • Use == as suggested by Python 3.8 (PR from @​za)
  • Decoding in slab funcs, replacing "1" with "True" in while. #175
  • Tell PyPI to parse README as markdown (PR from @​MartinThoma) #168
  • test_memcache.py: try import unittest.mock (PR from @​moto-timo) #172
  • Removed Python 2.7 from setup.cfg, adding 3.8-3.12
  • Add support for default value in get() (PR from @​samupl) #158
  • Fix tuple key support in multi methods (regression in 1.55). (PR from @​sergiimk) #155
  • Fix cmemcahe_hash 0 values being translated to 1. For example "ob" would hash to 0 and then get converted to 1. Looks like this dated back to 2009, the original code we imported for that hash function. (PR from @​hyperair) #152
  • Removing six.PY2/3 conditionals
  • Removing "time" from delete and making expiry mandatory in touch. (port of @​erankor's PR in #30 )
  • Added quit() method. This method sends the 'quit' command to the servers and then closes the connections, reducing the number of TIME_WAIT sockets hanging around the OS. (PR from @​userrl) #15
  • Allow to use a datetime.timedelta parameter for Client.set (PR from @​tbobm) #146
  • Allow keys to be encoded before use. (Port of PR in #52 from @​harlowja)
  • Removing historic python 2to3 code and deprecated socket.error (for OSError). (PR from @​pgajdos) #186
  • Updating to the latest PSF license
Commits
  • 5c5cb1b Unused release files removed (using github actions now), preparing for release
  • b5d59ca Updating ChangeLog
  • 880fe69 Merge pull request #190 from ngnpope/fix-delete-return
  • c9a1626 Fixed return value from delete command.
  • deac889 Adding changelog entry
  • b515221 Merge pull request #189 from ngnpope/cleanup-travis-ci
  • 718233c Removed obsolete configuration for Travis CI.
  • f0eba6e Fixed the "2024" date typo in the ChangeLog
  • 0221f35 Fixing year in ChangeLog entry
  • 36beb9c Adding changelog entry
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)