doc/changes/3.27.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 28 Mar 2019 10:09:49 +0100
changeset 12547 a11119d327e4
parent 12530 9d88e1177c35
child 12557 dc04947379b5
permissions -rw-r--r--
[test] make unittest_cwconfig.py does not depend on legacy cube machinery By dropping legacy cube tests in various places.

3.27 (not yet released)
=======================

New features
------------

* Tests can now be run concurrently across multiple processes. You can use
  `pytest-xdist`_ for that. For tests using `PostgresApptestConfiguration` you
  should be aware that `startpgcluster()` can't run concurrently. Workaround is
  to call pytest with ``--dist=loadfile`` to use a single test process per test
  module or use an existing database cluster and set ``db-host`` and
  ``db-port`` of ``devtools.DEFAULT_PSQL_SOURCES['system']`` accordingly.

.. _pytest-xdist: https://github.com/pytest-dev/pytest-xdist

Backwards incompatible changes
------------------------------

* ``cubicweb-ctl`` commands "start", "stop", "restart", "reload" and "status"
  have been removed because they relied on the Twisted web server backend that
  is no longer maintained nor working with Python 3.

* Twisted web server support has been removed.

Deprecated code drops
---------------------

Most code deprecated until version 3.25 has been dropped.