- Disable broken tests gh#jaraco/tempora#22

- Update to 5.2.1:
  * #21: Restored dependency on jaraco.functools, still used in timing
    module.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=37
This commit is contained in:
Daniel Garcia 2023-03-01 09:05:22 +00:00 committed by Git OBS Bridge
parent 7f989b21f2
commit 5d3ecba6a4
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 1 09:04:03 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken tests gh#jaraco/tempora#22
- Update to 5.2.1:
* #21: Restored dependency on jaraco.functools, still used in timing
module.
-------------------------------------------------------------------
Wed Jan 4 18:47:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
@ -24,7 +23,7 @@
%bcond_with libalternatives
%endif
Name: python-tempora
Version: 5.2.0
Version: 5.2.1
Release: 0
Summary: Objects and routines pertaining to date and time (tempora)
License: MIT
@ -77,7 +76,9 @@ sed -i '/--mypy/d' pytest.ini
%check
sed -i -e 's:--black::' -e 's:--cov::' -e 's/--flake8//g' pytest.ini
%pytest
# https://github.com/jaraco/tempora/issues/22
donttest="tempora.parse_timedelta"
%pytest -k "not $donttest"
%pre
# If libalternatives is used: Removing old update-alternatives entries.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af82eb016decda8daf566d1e4836f94f7f8ba8c7153637460156e081aadc64df
size 20775

3
tempora-5.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7176486c5948a75201e8d0b21ef2c23ca808474060df47218c92295bdce5276
size 20787