pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-limits



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 21 07:55:18 UTC 2022

Modified Files:
        pkgsrc/devel/py-limits: Makefile PLIST distinfo

Log Message:
py-limits: updated to 2.7.1

v2.7.1
------
Release Date: 2022-10-20

* Compatibility Updates

  * Increase pymemcached dependency range to in include 4.x
  * Add python 3.11 rc2 to CI

v2.7.0
------
Release Date: 2022-07-16

* Compatibility Updates

  * Update :pypi:`coredis` requirements to include 4.x versions
  * Remove CI / support for redis < 6.0
  * Remove python 3.7 from CI
  * Add redis 7.0 in CI

v2.6.3
------
Release Date: 2022-06-05

* Chores

  * Update development dependencies
  * Add CI for python 3.11
  * Increase test coverage for redis sentinel

v2.6.2
------
Release Date: 2022-05-12

* Compatibility Updates

  * Update :pypi:`motor` requirements to include 3.x version
  * Update async redis sentinel implementation to remove use of deprecated methods.
  * Fix compatibility issue with asyncio redis ``reset`` method in cluster mode
    when used with :pypi:`coredis` versions >= 3.5.0

v2.6.1
------
Release Date: 2022-04-25

* Bug Fix

  * Fix typing regression with strategy constructors `Issue 88 <https://github.com/alisaifee/limits/issues/88>`_

v2.6.0
------
Release Date: 2022-04-25

* Deprecation

  * Removed tests for rediscluster using the :pypi:`redis-py-cluster` library

* Bug Fix

  * Fix incorrect ``__slots__`` declaration in :class:`limits.RateLimitItem`
    and it's subclasses

v2.5.4
------
Release Date: 2022-04-25

* Bug Fix

  * Fix typing regression with strategy constructors `Issue 88 <https://github.com/alisaifee/limits/issues/88>`_

v2.5.3
------
Release Date: 2022-04-22

* Chore

  * Automate Github releases

v2.5.2
------
Release Date: 2022-04-17

* Chore

  * Increase strictness of type checking and annotations
  * Ensure installations from source distributions are PEP-561
    compliant

v2.5.1
------
Release Date: 2022-04-15

* Chore

  * Ensure storage reset methods have consistent signature

v2.5.0
------
Release Date: 2022-04-13

* Feature

  * Add support for using redis cluster via the official redis client
  * Update coredis dependency to use 3.x

* Deprecations

  * Deprecate using redis-py-cluster

* Chores

  * Remove beta tags for async support
  * Update code base to remove legacy syntax
  * Tighten up CI test dependencies

v2.4.0
------
Release Date: 2022-03-10

* Feature

  * Allow passing an explicit connection pool to redis storage.
    Addresses `Issue 77 <https://github.com/alisaifee/limits/issues/77>`_

v2.3.3
------
Release Date: 2022-02-03

* Feature

  * Add support for dns seed list when using mongodb

v2.3.2
------
Release Date: 2022-01-30

* Chores

  * Improve authentication tests for redis
  * Update documentation theme
  * Pin pip version for CI

v2.3.1
------
Release Date: 2022-01-21

* Bug fix

  * Fix backward incompatible change that separated sentinel
    and connection args for redis sentinel (introduced in 2.1.0).
    Addresses `Issue 97 <https://github.com/alisaifee/limits/issues/97>`_

v2.3.0
------
Release Date: 2022-01-15

* Feature

  * Add support for custom cost per hit

* Bug fix

  * Fix installation issues with missing setuptools

v2.2.0
------
Release Date: 2022-01-05

* Feature

  * Enable async redis for python 3.10 via coredis

* Chore

  * Fix typing issue with strategy constructors

v2.1.1
------
Release Date: 2022-01-02

* Feature

  * Enable async memcache for python 3.10

* Bug fix

  * Ensure window expiry is reported in local time for mongodb
  * Fix inconsistent expiry for fixed window with memcached

* Chore

  * Improve strategy tests

v2.1.0
------
Release Date: 2021-12-22

* Feature

  * Add beta asyncio support
  * Add beta mongodb support
  * Add option to install with extras for different storages

* Bug fix

  * Fix custom option for cluster client in memcached
  * Fix separation of sentinel & connection args in :class:`limits.storage.RedisSentinelStorage`

* Deprecation

  * Deprecate GAEMemcached support
  * Remove use of unused `no_add` argument in :meth:`limits.storage.MovingWindowSupport.acquire_entry`

* Chore

  * Documentation theme upgrades
  * Code linting
  * Add compatibility CI workflow

v2.0.3
------
Release Date: 2021-11-28

* Chore

  * Ensure package is marked PEP-561 compliant

v2.0.1
------
Release Date: 2021-11-28

* Chore

  * Added type annotations

v2.0.0
------
Release Date: 2021-11-27

* Chore

  * Drop support for python < 3.7


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-limits/Makefile \
    pkgsrc/devel/py-limits/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-limits/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-limits/Makefile
diff -u pkgsrc/devel/py-limits/Makefile:1.9 pkgsrc/devel/py-limits/Makefile:1.10
--- pkgsrc/devel/py-limits/Makefile:1.9 Tue Jan  4 20:53:15 2022
+++ pkgsrc/devel/py-limits/Makefile     Fri Oct 21 07:55:18 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:53:15 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/21 07:55:18 adam Exp $
 
-DISTNAME=      limits-1.5.1
+DISTNAME=      limits-2.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/limits/}
 
@@ -11,9 +10,13 @@ HOMEPAGE=    https://limits.readthedocs.org
 COMMENT=       Rate limiting utilities
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-deprecated>=1.2:../../devel/py-deprecated
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=21:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-limits/distinfo
diff -u pkgsrc/devel/py-limits/distinfo:1.9 pkgsrc/devel/py-limits/distinfo:1.10
--- pkgsrc/devel/py-limits/distinfo:1.9 Tue Oct 26 10:18:38 2021
+++ pkgsrc/devel/py-limits/distinfo     Fri Oct 21 07:55:18 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:18:38 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/10/21 07:55:18 adam Exp $
 
-BLAKE2s (limits-1.5.1.tar.gz) = ff5c19095e4762f488a616e44939f42fe79130ebb25343826e422101364a2234
-SHA512 (limits-1.5.1.tar.gz) = db7bf00c8469eaf2938c963af454045ae4647b0d5b37246c02f7a863042ff876079038e045f2b67eb8e1ed8f3dbee6d51c0f67262b7b431cb218cc3880a466f3
-Size (limits-1.5.1.tar.gz) = 37893 bytes
+BLAKE2s (limits-2.7.1.tar.gz) = 0e056c3af2ad12d39542727f6bf01c00b7f8212a4ceac4cd0c584de5e11af421
+SHA512 (limits-2.7.1.tar.gz) = ab5912aa84773543a3ead4ba190fe992eff756d3e3bd014599d7a157b10c6d4d517839298a107759e48629a1497ee680f81e998a9efedcb7f82433d4565c0a86
+Size (limits-2.7.1.tar.gz) = 61311 bytes

Index: pkgsrc/devel/py-limits/PLIST
diff -u pkgsrc/devel/py-limits/PLIST:1.2 pkgsrc/devel/py-limits/PLIST:1.3
--- pkgsrc/devel/py-limits/PLIST:1.2    Sun Sep 17 13:35:03 2017
+++ pkgsrc/devel/py-limits/PLIST        Fri Oct 21 07:55:18 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/09/17 13:35:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/10/21 07:55:18 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,27 +11,78 @@ ${PYSITELIB}/limits/__init__.pyo
 ${PYSITELIB}/limits/_version.py
 ${PYSITELIB}/limits/_version.pyc
 ${PYSITELIB}/limits/_version.pyo
-${PYSITELIB}/limits/backports/__init__.py
-${PYSITELIB}/limits/backports/__init__.pyc
-${PYSITELIB}/limits/backports/__init__.pyo
-${PYSITELIB}/limits/backports/counter.py
-${PYSITELIB}/limits/backports/counter.pyc
-${PYSITELIB}/limits/backports/counter.pyo
-${PYSITELIB}/limits/backports/total_ordering.py
-${PYSITELIB}/limits/backports/total_ordering.pyc
-${PYSITELIB}/limits/backports/total_ordering.pyo
+${PYSITELIB}/limits/aio/__init__.py
+${PYSITELIB}/limits/aio/__init__.pyc
+${PYSITELIB}/limits/aio/__init__.pyo
+${PYSITELIB}/limits/aio/storage/__init__.py
+${PYSITELIB}/limits/aio/storage/__init__.pyc
+${PYSITELIB}/limits/aio/storage/__init__.pyo
+${PYSITELIB}/limits/aio/storage/base.py
+${PYSITELIB}/limits/aio/storage/base.pyc
+${PYSITELIB}/limits/aio/storage/base.pyo
+${PYSITELIB}/limits/aio/storage/memcached.py
+${PYSITELIB}/limits/aio/storage/memcached.pyc
+${PYSITELIB}/limits/aio/storage/memcached.pyo
+${PYSITELIB}/limits/aio/storage/memory.py
+${PYSITELIB}/limits/aio/storage/memory.pyc
+${PYSITELIB}/limits/aio/storage/memory.pyo
+${PYSITELIB}/limits/aio/storage/mongodb.py
+${PYSITELIB}/limits/aio/storage/mongodb.pyc
+${PYSITELIB}/limits/aio/storage/mongodb.pyo
+${PYSITELIB}/limits/aio/storage/redis.py
+${PYSITELIB}/limits/aio/storage/redis.pyc
+${PYSITELIB}/limits/aio/storage/redis.pyo
+${PYSITELIB}/limits/aio/strategies.py
+${PYSITELIB}/limits/aio/strategies.pyc
+${PYSITELIB}/limits/aio/strategies.pyo
 ${PYSITELIB}/limits/errors.py
 ${PYSITELIB}/limits/errors.pyc
 ${PYSITELIB}/limits/errors.pyo
 ${PYSITELIB}/limits/limits.py
 ${PYSITELIB}/limits/limits.pyc
 ${PYSITELIB}/limits/limits.pyo
-${PYSITELIB}/limits/storage.py
-${PYSITELIB}/limits/storage.pyc
-${PYSITELIB}/limits/storage.pyo
+${PYSITELIB}/limits/py.typed
+${PYSITELIB}/limits/resources/redis/lua_scripts/acquire_moving_window.lua
+${PYSITELIB}/limits/resources/redis/lua_scripts/clear_keys.lua
+${PYSITELIB}/limits/resources/redis/lua_scripts/gcra_consume.lua
+${PYSITELIB}/limits/resources/redis/lua_scripts/incr_expire.lua
+${PYSITELIB}/limits/resources/redis/lua_scripts/moving_window.lua
+${PYSITELIB}/limits/storage/__init__.py
+${PYSITELIB}/limits/storage/__init__.pyc
+${PYSITELIB}/limits/storage/__init__.pyo
+${PYSITELIB}/limits/storage/base.py
+${PYSITELIB}/limits/storage/base.pyc
+${PYSITELIB}/limits/storage/base.pyo
+${PYSITELIB}/limits/storage/gae_memcached.py
+${PYSITELIB}/limits/storage/gae_memcached.pyc
+${PYSITELIB}/limits/storage/gae_memcached.pyo
+${PYSITELIB}/limits/storage/memcached.py
+${PYSITELIB}/limits/storage/memcached.pyc
+${PYSITELIB}/limits/storage/memcached.pyo
+${PYSITELIB}/limits/storage/memory.py
+${PYSITELIB}/limits/storage/memory.pyc
+${PYSITELIB}/limits/storage/memory.pyo
+${PYSITELIB}/limits/storage/mongodb.py
+${PYSITELIB}/limits/storage/mongodb.pyc
+${PYSITELIB}/limits/storage/mongodb.pyo
+${PYSITELIB}/limits/storage/redis.py
+${PYSITELIB}/limits/storage/redis.pyc
+${PYSITELIB}/limits/storage/redis.pyo
+${PYSITELIB}/limits/storage/redis_cluster.py
+${PYSITELIB}/limits/storage/redis_cluster.pyc
+${PYSITELIB}/limits/storage/redis_cluster.pyo
+${PYSITELIB}/limits/storage/redis_sentinel.py
+${PYSITELIB}/limits/storage/redis_sentinel.pyc
+${PYSITELIB}/limits/storage/redis_sentinel.pyo
+${PYSITELIB}/limits/storage/registry.py
+${PYSITELIB}/limits/storage/registry.pyc
+${PYSITELIB}/limits/storage/registry.pyo
 ${PYSITELIB}/limits/strategies.py
 ${PYSITELIB}/limits/strategies.pyc
 ${PYSITELIB}/limits/strategies.pyo
+${PYSITELIB}/limits/typing.py
+${PYSITELIB}/limits/typing.pyc
+${PYSITELIB}/limits/typing.pyo
 ${PYSITELIB}/limits/util.py
 ${PYSITELIB}/limits/util.pyc
 ${PYSITELIB}/limits/util.pyo



Home | Main Index | Thread Index | Old Index