forked from pool/python-pysmi
- Skipping failing tests (gh#lextudio/pysnmp#198)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=35
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 21:45:50 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
Fri Jul 25 23:57:07 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Skipping failing tests (gh#lextudio/pysnmp#198)
|
||||
- Redownload tarball from GitHub (missing tests, gh#lextudio/pysnmp#197)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -39,23 +39,23 @@ License: BSD-2-Clause
|
||||
URL: https://github.com/lextudio/pysmi
|
||||
# Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%%{version}.tar.gz
|
||||
Source: https://github.com/lextudio/pysmi/archive/refs/tags/v%{version}.tar.gz#/pysmi-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module flit-core >= 3.9.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Jinja2 >= 3.1}
|
||||
BuildRequires: %{python_module Jinja2 >= 3.1.3}
|
||||
BuildRequires: %{python_module ply >= 3.11}
|
||||
BuildRequires: %{python_module pyasn1}
|
||||
BuildRequires: %{python_module pysmi = %{version}}
|
||||
BuildRequires: %{python_module pysnmp}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.26}
|
||||
BuildRequires: %{python_module requests >= 2.26.0}
|
||||
%endif
|
||||
Requires: python-Jinja2 >= 3.1
|
||||
Requires: python-Jinja2 >= 3.1.3
|
||||
Requires: python-ply >= 3.11
|
||||
Requires: python-requests >= 2.26
|
||||
Requires: python-requests >= 2.26.0
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
@@ -86,7 +86,8 @@ Can produce PySNMP MIB modules.
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest tests/
|
||||
# Skipping tests because of gh#lextudio/pysnmp#198
|
||||
%pytest -k 'not (ModuleComplianceReferenceTestCase or NotificationGroupReferenceTestCase or ObjectGroupReferenceTestCase or TypeDeclarationTestCase or TypeDeclarationFixedLengthTestCase)'
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Reference in New Issue
Block a user