Sign me up Login

Details about package "python-flask-jwt-extended"

Name: python-flask-jwt-extended
Uploader: Emmanuel Arias <emmanuelarias30@gmail.com> (Debian QA page)
Description: python3-python-flask-jwt-extended - Open source Flask extension that provides JWT support (Python 3)

Package versions

Version 3.21.0-1

Information

Version: 3.21.0-1
Uploaded: 2019-09-17 04:35
Source package: https://mentors.debian.net/debian/pool/main/p/python-flask-jwt-extended/python-flask-jwt-extended_3.21.0-1.dsc
Distribution: unstable
Section: python
Priority: optional
Closes bugs: 934102

QA information

Comments

  1. This still fails to build for me in pbuilder:
    
    Excerpt:
    
    """
    I: pybuild base:217: cd /build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build; python3.7 -m pytest tests
    ================================================= test session starts =================================================
    platform linux -- Python 3.7.4+, pytest-4.6.5, py-1.8.0, pluggy-0.12.0
    rootdir: /build/python-flask-jwt-extended-3.21.0
    collected 82 items / 3 errors / 79 selected                                                                           
    
    ======================================================= ERRORS ========================================================
    _____________ ERROR collecting .pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_config.py _____________
    ImportError while importing test module '/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_config.py'.
    Hint: make sure your test modules/packages have valid Python names.
    Traceback:
    tests/test_config.py:5: in <module>
        from dateutil.relativedelta import relativedelta
    E   ModuleNotFoundError: No module named 'dateutil'
    _________ ERROR collecting .pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_decode_tokens.py __________
    ImportError while importing test module '/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_decode_tokens.py'.
    Hint: make sure your test modules/packages have valid Python names.
    Traceback:
    tests/test_decode_tokens.py:4: in <module>
        from dateutil.relativedelta import relativedelta
    E   ModuleNotFoundError: No module named 'dateutil'
    ________ ERROR collecting .pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_view_decorators.py _________
    ImportError while importing test module '/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_view_decorators.py'.
    Hint: make sure your test modules/packages have valid Python names.
    Traceback:
    tests/test_view_decorators.py:4: in <module>
        from dateutil.relativedelta import relativedelta
    E   ModuleNotFoundError: No module named 'dateutil'
    ================================================== warnings summary ===================================================
    /usr/lib/python3/dist-packages/werkzeug/datastructures.py:16
    /usr/lib/python3/dist-packages/werkzeug/datastructures.py:16
    /usr/lib/python3/dist-packages/werkzeug/datastructures.py:16
      /usr/lib/python3/dist-packages/werkzeug/datastructures.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
        from collections import Container, Iterable, MutableSet
    
    /usr/lib/python3/dist-packages/jinja2/utils.py:485
      /usr/lib/python3/dist-packages/jinja2/utils.py:485: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
        from collections import MutableMapping
    
    /usr/lib/python3/dist-packages/jinja2/runtime.py:318
      /usr/lib/python3/dist-packages/jinja2/runtime.py:318: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
        from collections import Mapping
    
    -- Docs: https://docs.pytest.org/en/latest/warnings.html
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ========================================= 5 warnings, 3 error in 1.27 seconds =========================================
    E: pybuild pybuild:341: test: plugin distutils failed with: exit code=2: cd /build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build; python3.7 -m pytest tests
    dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned exit code 13
    make: *** [debian/rules:7: build] Error 255
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
    """
    Needs work Jonathan Carter (highvoltage) <jcc> at 2019-09-17 12:47:41.726818

Version 3.21.0-1

Information

Version: 3.21.0-1
Uploaded: 2019-09-17 04:24
Distribution: unstable
Section: python
Priority: optional
Closes bugs: 934102

QA information

Comments

No comments

Version 3.21.0-1

Information

Version: 3.21.0-1
Uploaded: 2019-09-12 03:02
Source package:
Distribution: unstable
Section: python
Priority: optional
Closes bugs: 934102

QA information

Comments

  1. Have you tested building this package in a clean chroot? Under pbuilder it seems like a pytest module might be missing:
    
    """
    ======================================================================
    ERROR: tests.test_cookies (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_cookies
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_cookies.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_decode_tokens (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_decode_tokens
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_decode_tokens.py", line 2, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_headers (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_headers
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_headers.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_json (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_json
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_json.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_multiple_token_locations (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_multiple_token_locations
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_multiple_token_locations.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_options_method (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_options_method
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_options_method.py", line 2, in <module>
        from flask_jwt_extended import (
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/flask_jwt_extended/__init__.py", line 1, in <module>
        from .jwt_manager import JWTManager
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/flask_jwt_extended/jwt_manager.py", line 13, in <module>
        from flask_jwt_extended.config import config
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/flask_jwt_extended/config.py", line 3, in <module>
        from six import raise_from
    ModuleNotFoundError: No module named 'six'
    
    
    ======================================================================
    ERROR: tests.test_query_string (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_query_string
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_query_string.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_user_claims_loader (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_user_claims_loader
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_user_claims_loader.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_user_loader (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_user_loader
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_user_loader.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ======================================================================
    ERROR: tests.test_view_decorators (unittest.loader._FailedTest)
    ----------------------------------------------------------------------
    ImportError: Failed to import test module: tests.test_view_decorators
    Traceback (most recent call last):
      File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
        __import__(name)
      File "/build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build/tests/test_view_decorators.py", line 1, in <module>
        import pytest
    ModuleNotFoundError: No module named 'pytest'
    
    
    ----------------------------------------------------------------------
    Ran 15 tests in 0.004s
    
    FAILED (errors=15)
    E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /build/python-flask-jwt-extended-3.21.0/.pybuild/cpython3_3.7_python-flask-jwt-extended/build; python3.7 -m unittest discover -v 
    dh_auto_test: pybuild --test -i python{version} -p 3.7 returned exit code 13
    make: *** [debian/rules:7: build] Error 255
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
    """
    
    It might also be worth while to update the package to its latest upstream version.
    Needs work Jonathan Carter (highvoltage) <jcc> at 2019-09-16 10:58:34.899238
  2. Hi highvoltage Thanks for your review. I've just upload the changes.
    Emmanuel Arias at 2019-09-17 04:29:05.698663
  3. PS: You probably want to set DPMT as Maintainer and yourself as uploader
    Jonathan Carter (highvoltage) <jcc> at 2019-09-16 11:20:39.785230