You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When used from the command line, the module can automatically discover
1815
1810
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
1816
-
`nose <http://code.google.com/p/python-nose/>`__, but provides a simple way
1817
-
to run tests kept within a set of package directories. For example,
1811
+
`nose <https://nose.readthedocs.io/>`__, but provides a
1812
+
simple way to run tests kept within a set of package directories. For example,
1818
1813
the following command will search the :file:`test/` subdirectory for
1819
1814
any importable test files named ``test*.py``::
1820
1815
@@ -2728,6 +2723,39 @@ For cases where the connection establishment code can't be modified, but the
2728
2723
overall application can be, the new :func:`ssl._https_verify_certificates`
2729
2724
function can be used to adjust the default behaviour at runtime.
2730
2725
2726
+
2727
+
New ``make regen-all`` build target
2728
+
-----------------------------------
2729
+
2730
+
To simplify cross-compilation, and to ensure that CPython can reliably be
2731
+
compiled without requiring an existing version of Python to already be
2732
+
available, the autotools-based build system no longer attempts to implicitly
2733
+
recompile generated files based on file modification times.
2734
+
2735
+
Instead, a new ``make regen-all`` command has been added to force regeneration
2736
+
of these files when desired (e.g. after an initial version of Python has
2737
+
already been built based on the pregenerated versions).
2738
+
2739
+
More selective regeneration targets are also defined - see
2740
+
:source:`Makefile.pre.in` for details.
2741
+
2742
+
(Contributed by Victor Stinner in :issue:`23404`.)
2743
+
2744
+
.. versionadded:: 2.7.14
2745
+
2746
+
2747
+
Removal of ``make touch`` build target
2748
+
--------------------------------------
2749
+
2750
+
The ``make touch`` build target previously used to request implicit regeneration
2751
+
of generated files by updating their modification times has been removed.
2752
+
2753
+
It has been replaced by the new ``make regen-all`` target.
2754
+
2755
+
(Contributed by Victor Stinner in :issue:`23404`.)
0 commit comments