15
0

- Disable broken tests with new packaging module because invalid

version
- Update to version 3.7.2
  * Fix #928: correct default for pre-release matching after switching
    from ``pkg_resources`` to ``packaging``.
  * Fix #949: correct parsing of wheel tags for Python 3.10 and above.
- 3.7.1 (2022-12-16)
  * Fix #939: pin packaging to <22 as it removed the deprecated
    LegacyVersion.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-common?expand=0&rev=6
This commit is contained in:
2023-03-06 17:23:09 +00:00
committed by Git OBS Bridge
parent f49c497401
commit 5eda3c1ddb
4 changed files with 23 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-devpi-common
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-devpi-common
Version: 3.7.0
Version: 3.7.2
Release: 0
Summary: Utilities jointly used by devpi-server and devpi-client
License: MIT
@@ -54,11 +53,14 @@ rm tox.ini
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# Doesn't work with latest packaging module because invalid version
donttest="test_noversion_sameproject or test_sort_sameproject_links"
%pytest -k "not ($donttest)"
%files %{python_files}
%doc CHANGELOG README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/devpi_common
%{python_sitelib}/devpi_common-%{version}*-info
%changelog