author | Laurent Peuch <cortex@worlddomination.be> |
Fri, 12 Apr 2019 02:26:28 +0200 | |
changeset 12585 | 933c2b3839ab |
parent 12583 | 4f59a56e6d89 |
child 12604 | c755b73640ea |
permissions | -rw-r--r-- |
12358
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
1 |
3.27 (not yet released) |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
2 |
======================= |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
3 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
4 |
New features |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
5 |
------------ |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
6 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
7 |
* Tests can now be run concurrently across multiple processes. You can use |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
8 |
`pytest-xdist`_ for that. For tests using `PostgresApptestConfiguration` you |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
9 |
should be aware that `startpgcluster()` can't run concurrently. Workaround is |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
10 |
to call pytest with ``--dist=loadfile`` to use a single test process per test |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
11 |
module or use an existing database cluster and set ``db-host`` and |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
12 |
``db-port`` of ``devtools.DEFAULT_PSQL_SOURCES['system']`` accordingly. |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
13 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
14 |
.. _pytest-xdist: https://github.com/pytest-dev/pytest-xdist |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
15 |
|
12526
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
16 |
Backwards incompatible changes |
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
17 |
------------------------------ |
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
18 |
|
12585
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
19 |
* Standardization on the way to launch a cubicweb instance, from now on the |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
20 |
only way to do that will be the used the ``pyramid`` command. Therefore: |
12526
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
21 |
|
12585
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
22 |
* ``cubicweb-ctl`` commands "start", "stop", "restart", "reload" and "status" |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
23 |
have been removed because they relied on the Twisted web server backend that |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
24 |
is no longer maintained nor working with Python 3. |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
25 |
|
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
26 |
* Twisted web server support has been removed. |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
27 |
|
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
28 |
* ``cubicweb-ctl wsgi`` has also been removed. |
12530
9d88e1177c35
Remove Twisted web server
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12526
diff
changeset
|
29 |
|
12557
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
30 |
* Support for legacy cubes (in the 'cubes' python namespace) has been dropped. |
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
31 |
Use of environment variables CW_CUBES_PATH and CUBES_DIR is removed. |
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
32 |
|
12567
26744ad37953
Drop python2 support
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12557
diff
changeset
|
33 |
* Python 2 support has been dropped. |
26744ad37953
Drop python2 support
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12557
diff
changeset
|
34 |
|
12583
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
35 |
* Exceptions in notification hooks aren't catched-all anymore during tests so |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
36 |
one can expect tests that seem to pass (but were actually silently failing) |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
37 |
to fail now. |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
38 |
|
12508
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
39 |
Deprecated code drops |
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
40 |
--------------------- |
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
41 |
|
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
42 |
Most code deprecated until version 3.25 has been dropped. |