Compare commits

...

7 Commits

Author SHA1 Message Date
Miro Hrončok 121c463aac Use %pytest and be verbose, to display reason for skip
Examples:

    tests/test_searchadapters.py::test_xapian SKIPPED (needs sqlalchemy)     [  7%]
    tests/test_searchadapters.py::test_whoosh SKIPPED (needs sqlalchemy)     [ 15%]
    tests/test_websupport.py::test_no_srcdir PASSED                          [ 23%]
    tests/test_websupport.py::test_build SKIPPED (needs sqlalchemy)          [ 30%]
    tests/test_websupport.py::test_get_document SKIPPED (needs sqlalchemy)   [ 38%]
    tests/test_websupport.py::test_comments SKIPPED (needs sqlalchemy)       [ 46%]
    tests/test_websupport.py::test_user_delete_comments SKIPPED (needs s...) [ 53%]
    tests/test_websupport.py::test_moderation SKIPPED (needs sqlalchemy)     [ 61%]
    tests/test_websupport.py::test_moderator_delete_comments SKIPPED (ne...) [ 69%]
    tests/test_websupport.py::test_update_username SKIPPED (needs sqlalc...) [ 76%]
    tests/test_websupport.py::test_proposals SKIPPED (needs sqlalchemy)      [ 84%]
    tests/test_websupport.py::test_voting SKIPPED (needs sqlalchemy)         [ 92%]
    tests/test_websupport.py::test_differ PASSED                             [100%]

    tests/test_searchadapters.py::test_xapian SKIPPED (needs xapian bind...) [  7%]
    tests/test_searchadapters.py::test_whoosh SKIPPED (needs whoosh pack...) [ 15%]
    tests/test_websupport.py::test_no_srcdir PASSED                          [ 23%]
    tests/test_websupport.py::test_build PASSED                              [ 30%]
    tests/test_websupport.py::test_get_document PASSED                       [ 38%]
    tests/test_websupport.py::test_comments PASSED                           [ 46%]
    tests/test_websupport.py::test_user_delete_comments PASSED               [ 53%]
    tests/test_websupport.py::test_moderation PASSED                         [ 61%]
    tests/test_websupport.py::test_moderator_delete_comments PASSED          [ 69%]
    tests/test_websupport.py::test_update_username PASSED                    [ 76%]
    tests/test_websupport.py::test_proposals PASSED                          [ 84%]
    tests/test_websupport.py::test_voting PASSED                             [ 92%]
    tests/test_websupport.py::test_differ PASSED                             [100%]
2021-03-11 18:09:40 +01:00
Miro Hrončok 5d8cd6c44c Update runtime and buildtime dependencies
- mock is not used at all
- xapian is an optional test dependency (like sqlalchemy and whoosh)
- six is only used in tests
2021-03-10 18:41:29 +01:00
Fedora Release Engineering f24848b860 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:37:05 +00:00
Miro Hrončok 1821af5112 Update to 1.2.4 2020-08-18 23:50:18 +02:00
Fedora Release Engineering 17ee4e925b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:05:39 +00:00
Miro Hrončok 26e5815be4 Rebuilt for Python 3.9 2020-05-23 09:14:46 +02:00
Javier Pena 2177541d27 Update to upstream 1.2.1 (bz#1823520) 2020-04-14 10:29:17 +02:00
3 changed files with 32 additions and 11 deletions
+2
View File
@@ -5,3 +5,5 @@
/sphinxcontrib-websupport-1.1.0.tar.gz
/sphinxcontrib-websupport-1.1.1.dev20190321.tar.gz
/sphinxcontrib-websupport-1.1.2.tar.gz
/sphinxcontrib-websupport-1.2.1.tar.gz
/sphinxcontrib-websupport-1.2.4.tar.gz
+29 -10
View File
@@ -1,8 +1,8 @@
%global pypi_name sphinxcontrib-websupport
Name: python-%{pypi_name}
Version: 1.1.2
Release: 5%{?dist}
Version: 1.2.4
Release: 3%{?dist}
Summary: Sphinx API for Web Apps
License: BSD
@@ -20,17 +20,21 @@ Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-jinja2
BuildRequires: python3-mock
BuildRequires: python3-pytest
BuildRequires: python3-six
BuildRequires: python3-sphinx
BuildRequires: python3-sphinxcontrib-serializinghtml >= 1.1.3
# Optional tests deps:
BuildRequires: python3-sqlalchemy
BuildRequires: python3-whoosh
BuildRequires: python3-xapian
# Undeclared but used runtime dependencies
# https://github.com/sphinx-doc/sphinxcontrib-websupport/pull/46
Requires: python3-jinja2
Requires: python3-six
Requires: python3-sphinx
Requires: python3-sphinxcontrib-serializinghtml >= 1.1.3
Recommends: python3-sqlalchemy
Recommends: python3-whoosh
@@ -50,11 +54,7 @@ rm -rf %{pypi_name}.egg-info
%py3_install
%check
mkdir empty && pushd empty # don't run the tests from sources
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m pytest ../tests
popd
rmdir empty
%pytest -v
%files -n python3-%{pypi_name}
%license LICENSE
@@ -65,6 +65,25 @@ rmdir empty
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info/
%changelog
* Wed Mar 10 2021 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-3
- Update runtime and buildtime dependencies
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-1
- Update to 1.2.4
- Fixes rhbz#1800626
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
- Rebuilt for Python 3.9
* Tue Apr 14 2020 Javier Peña <jpena@redhat.com> - 1.2.1-1
- Update to upstream 1.2.1 (bz#1823520)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+1 -1
View File
@@ -1 +1 @@
SHA512 (sphinxcontrib-websupport-1.1.2.tar.gz) = 55754f6304f38abd50f410da164f401a1b9a1d289b19f0077a38f72ce11a2dd64eff0713bb99471e470ff15fbd6a0042d49bab14c92f82cdd61019adbb88397e
SHA512 (sphinxcontrib-websupport-1.2.4.tar.gz) = d1ccfb6a9ecfa6adbdf2298f4ded345cacefbc5a450b8dafc6faadbcd0dd79a8dbefcab4d1cedf34c65fc271aab754392bea8ab8ae82852323784a9e1717914c