diff --git a/fakeredis-1.0.5.tar.gz b/fakeredis-1.0.5.tar.gz deleted file mode 100644 index 410990b..0000000 --- a/fakeredis-1.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e1bfb9de5a5ab5796b6101fbe7927fe1456fa8e72cbcd3625c9437e278bf581 -size 74193 diff --git a/fakeredis-1.3.0.tar.gz b/fakeredis-1.3.0.tar.gz new file mode 100644 index 0000000..d75da30 --- /dev/null +++ b/fakeredis-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c657d6345f3a9837be1ed118964ba2472f66083d325017edad917b560c01a78 +size 68497 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index 225acb3..6ec1ebc 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 20 12:31:00 UTC 2020 - Tomáš Chvátal + +- Disable py2 as upstream actually disabled python2 support competely + * The syntax simply is not compatible + +------------------------------------------------------------------- +Thu Mar 19 22:43:55 UTC 2020 - Hans-Peter Jansen + +- Update to 1.3.0: + * No upstream changelog +- python2 tests are dysfunctional, test with python3 only + ------------------------------------------------------------------- Fri Sep 13 07:55:04 UTC 2019 - Tomáš Chvátal diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 3072618..7fdb778 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -1,7 +1,7 @@ # # spec file for package python-fakeredis # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-fakeredis -Version: 1.0.5 +Version: 1.3.0 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT -Group: Development/Languages/Python URL: https://github.com/jamesls/fakeredis Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -38,7 +37,9 @@ Suggests: python-lupa BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module future} +BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lupa} +BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module redis} BuildRequires: %{python_module six >= 1.12} BuildRequires: %{python_module sortedcontainers} @@ -59,7 +60,8 @@ Fake implementation of redis API for testing purposes. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +export LANG="en_US.UTF8" +%pytest %files %{python_files} %doc README.rst