Overview

Request 994347 superseded

- remove unnecessary pylama buildrequires

Loading...

Benjamin Greiner's avatar

Please test it before you do such submissions:

Pylama is an optional plugin, but you have to disable the tests then:

[   17s] + pytest-3.8 -v -W ignore::UserWarning -W ignore::DeprecationWarning --hypothesis-profile=obs --ignore tests/integration/test_projects_using_isort.py --ignore tests/benchmark -k 'not ((test_setting_combinations and test_isort_is_idempotent) or (test_deprecated_finders and test_pipfile_finder) )'
[   18s] ============================= test session starts ==============================
[   18s] platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python3.8
[   18s] cachedir: .pytest_cache
[   18s] hypothesis profile 'obs' -> deadline=timedelta(milliseconds=5000), suppress_health_check=[HealthCheck.too_slow], database=DirectoryBasedExampleDatabase('/home/abuild/rpmbuild/BUILD/isort-5.10.1/.hypothesis/examples')
[   18s] rootdir: /home/abuild/rpmbuild/BUILD/isort-5.10.1, configfile: setup.cfg, testpaths: tests
[   18s] plugins: hypothesis-6.47.1, mock-3.6.1
[   22s] collecting ... collected 519 items / 1 error / 2 deselected / 517 selected
[   22s] 
[   22s] ==================================== ERRORS ====================================
[   22s] _______________ ERROR collecting tests/unit/test_pylama_isort.py _______________
[   22s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/isort-5.10.1/tests/unit/test_pylama_isort.py'.
[   22s] Hint: make sure your test modules/packages have valid Python names.
[   22s] Traceback:
[   22s] /usr/lib64/python3.8/importlib/__init__.py:127: in import_module
[   22s]     return _bootstrap._gcd_import(name[level:], package, level)
[   22s] tests/unit/test_pylama_isort.py:1: in <module>
[   22s]     from isort.pylama_isort import Linter
[   22s] isort/pylama_isort.py:6: in <module>
[   22s]     from pylama.lint import Linter as BaseLinter  # type: ignore
[   22s] E   ModuleNotFoundError: No module named 'pylama'
[   22s] =========================== short test summary info ============================
[   22s] ERROR tests/unit/test_pylama_isort.py
[   22s] !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
[   22s] ======================== 2 deselected, 1 error in 3.89s ========================
Request History
Dirk Mueller's avatar

dirkmueller created request

- remove unnecessary pylama buildrequires


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Benjamin Greiner's avatar

bnavigator superseded request

superseded by 994358

openSUSE Build Service is sponsored by