diff --git a/dogpile.cache-0.6.8.tar.gz b/dogpile.cache-0.6.8.tar.gz deleted file mode 100644 index 025c0b5..0000000 --- a/dogpile.cache-0.6.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2fbe5d95e6df3fcfff2b666c69f3c06a4a3f77296142ae2bca523a176f88fa0 -size 323481 diff --git a/dogpile.cache-0.7.1.tar.gz b/dogpile.cache-0.7.1.tar.gz new file mode 100644 index 0000000..d472825 --- /dev/null +++ b/dogpile.cache-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:691b7f199561c4bd6e7e96f164a43cc3781b0c87bea29b7d59d859f873fd4a31 +size 326127 diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index af8ac07..e72e2fe 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 8 14:37:22 UTC 2019 - Tomáš Chvátal + +- Update to 0.7.1: + * fix python3 deprecation warnings + * Restore the API for async_creation_runner in all cases + ------------------------------------------------------------------- Thu Mar 7 10:53:24 UTC 2019 - Tomáš Chvátal diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 52e2e19..568e2e5 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -19,32 +19,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-dogpile.cache -Version: 0.6.8 +Version: 0.7.1 Release: 0 Summary: A caching front-end based on the Dogpile lock License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/sqlalchemy/dogpile.cache -Source: https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz +URL: https://github.com/sqlalchemy/dogpile.cache +Source: https://files.pythonhosted.org/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz BuildRequires: %{python_module Mako} +BuildRequires: %{python_module decorator} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +Requires: python-decorator +BuildRequires: %{python_module six} +Requires: python-six BuildRequires: fdupes BuildRequires: python-rpm-macros -# NOTE(toabctl): upstream merged dogpile.core into dogpile.cache -# see https://gerrit.sqlalchemy.org/#/c/89/ +Provides: python-dogpile.core = %{version} +Obsoletes: python-dogpile.core < 0.4.1 +BuildArch: noarch %ifpython2 Obsoletes: %{oldpython}-dogpile.core < 0.4.1 Provides: %{oldpython}-dogpile.core = %{version} %endif -%ifpython3 -Provides: python3-dogpile.core = %{version} -Obsoletes: python3-dogpile.core < 0.4.1 -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -63,8 +61,7 @@ new value. %python_expand %fdupes %{buildroot}/%{$python_sitelib} %check -export RUNTESTS="-k 'not test_dbm_backend and not test_memcached_backend and not test_redis_backend'" -%python_exec -m pytest --ignore=tests/test_lock.py +%pytest %files %{python_files} %license LICENSE