qutebrowser/misc/requirements
Florian Bruhin 2e40bd3a36 tox: Update pytest-qt to 2.0.0
See #1702.

Breaking Changes

With pytest-qt 2.0, we changed some defaults to values we think are much
better, however this required some backwards-incompatible changes:

- pytest-qt now defaults to using PyQt5 if PYTEST_QT_API is not set.
  Before, it preferred PySide which is using the discontinued Qt4.
- Python 3 versions prior to 3.4 are no longer supported.
- The @pytest.mark.qt_log_ignore mark now defaults to extend=True, i.e.
  extends the patterns defined in the config file rather than overriding
  them. You can pass extend=False to get the old behaviour of overriding
  the patterns.
- qtbot.waitSignal now defaults to raising=True and raises an exception
  on timeouts. You can set qt_wait_signal_raising = false in your config
  to get back the old behaviour.
- PYTEST_QT_FORCE_PYQT environment variable is no longer supported. Set
  PYTEST_QT_API to the appropriate value instead or the new qt_api
  configuration option in your pytest.ini file.

New Features

- From this version onward, pytest-qt is licensed under the MIT license.
- New qtmodeltester fixture to test QAbstractItemModel subclasses.
- waitSignal and waitSignals can receive an optional callback that can
  evaluate if the arguments of emitted signals should resume execution
  or not.
- Now which Qt binding pytest-qt will use can be configured by the
  qt_api config option.
- While pytestqt.qt_compat is an internal module and shouldn't be
  imported directly, it is known that some test suites did import it.
  This module now uses a lazy-load mechanism to load Qt classes and
  objects, so the old symbols (QtCore, QApplication, etc.) are no longer
  available from it.

Other Changes

- Exceptions caught by pytest-qt in sys.excepthook are now also printed
  to stderr, making debugging them easier from within an IDE.
2016-07-29 09:12:06 +02:00
..
README.md recompile_requirements: Add replace command 2016-06-07 23:40:00 +02:00
requirements-check-manifest.txt Add a script to compile requirement files 2016-06-07 22:45:59 +02:00
requirements-check-manifest.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-codecov.txt codeov/test requirements: Update coverage to 4.2 2016-07-27 06:37:02 +02:00
requirements-codecov.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-cxfreeze.txt Add a script to compile requirement files 2016-06-07 22:45:59 +02:00
requirements-cxfreeze.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-flake8.txt requirements: Update mccabe to 0.5.1 2016-07-28 15:55:41 +02:00
requirements-flake8.txt-raw flake8 requirements: Add comment for pep8 pin 2016-07-26 16:14:21 +02:00
requirements-pip.txt Try harder to pin pip/setuptools 2016-07-29 09:03:31 +02:00
requirements-pyinstaller.txt Add a script to compile requirement files 2016-06-07 22:45:59 +02:00
requirements-pyinstaller.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-pylint-master.txt requirements: Update mccabe to 0.5.1 2016-07-28 15:55:41 +02:00
requirements-pylint-master.txt-raw requirements: Update mccabe to 0.5.1 2016-07-28 15:55:41 +02:00
requirements-pylint.txt requirements: Update mccabe to 0.5.1 2016-07-28 15:55:41 +02:00
requirements-pylint.txt-raw Re-add requests to pylint envs 2016-06-08 00:02:43 +02:00
requirements-pyroma.txt Add a script to compile requirement files 2016-06-07 22:45:59 +02:00
requirements-pyroma.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-qutebrowser.txt-raw Add requirements-qutebrowser.txt-raw 2016-06-08 00:03:07 +02:00
requirements-tests.txt tox: Update pytest-qt to 2.0.0 2016-07-29 09:12:06 +02:00
requirements-tests.txt-raw tests: Use pytest-warnings to handle warnings 2016-07-27 18:28:08 +02:00
requirements-tox.txt Add a script to compile requirement files 2016-06-07 22:45:59 +02:00
requirements-tox.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00
requirements-vulture.txt test/vulture reqs: Update vulture to 0.10 2016-07-14 23:17:39 +02:00
requirements-vulture.txt-raw Rename raw-requirements files 2016-06-07 23:21:50 +02:00

This directory contains various requirements files which are used by tox to have reproducable tests with pinned versions.

The files are generated based on unpinned requirements in *.txt-raw files.

Those files can also contain some special commands:

  • Add an additional comment to a line: #@ comment: <package> <comment here>
  • Filter a line for requirements.io: #@ filter: <package> <filter>
  • Don't include a package in the output: #@ ignore: <package> (or multiple packages)
  • Replace a part of a frozen package specification with another: #@ replace <regex> <replacement>

Some examples:

#@ comment: mypkg blah blub
#@ filter: mypkg != 1.0.0
#@ ignore: mypkg, otherpkg
#@ replace: foo bar