Skip to content

Commit 9107fdb

Browse files
authored
Merge pull request #776 from oliver-sanders/empy
remove empy support
2 parents f003d16 + c2de328 commit 9107fdb

File tree

16 files changed

+40
-137
lines changed

16 files changed

+40
-137
lines changed

src/7-to-8/major-changes/compatibility-mode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ See :ref:`below <compat.eg.c7val>` for an example.
5959

6060
``cylc validate`` operates on the processed ``suite.rc``, which
6161
means it will not detect any deprecated syntax that is inside a
62-
currently-unused Jinja2/EmPy ``if...else`` branch.
62+
currently-unused Jinja2 ``if...else`` branch.
6363

6464
Some workflows may require modifications to either upgrade to Cylc 8 or make
6565
interoperable with Cylc 8 backward compatibility mode. Read on for more details.

src/7-to-8/major-changes/config-changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The old configurations are now deprecated, but still supported.
99
These will be highlighted upon ``cylc validate`` after renaming ``suite.rc``
1010
to ``flow.cylc``.
1111

12-
Because some workflows use Jinja2 or EmPy branches which may not be switched on at
12+
Because some workflows use Jinja2 branches which may not be switched on at
1313
the time of the initial ``cylc validate`` we have also provided
1414
a script, :ref:`cylc lint -r 728 <cylc_lint_script>` to check for Cylc 7
1515
syntax which may be deprecated.

src/7-to-8/major-changes/template-vars.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Template Variables
77
Read this section if you set Cylc template variables on the command line
88
using the ``-s``, ``--set`` or ``-set-file`` options.
99

10-
This does *not* affect the Rose ``jinja2:suite.rc`` and
11-
``empy:suite.rc`` variables set using the ``-S`` option to the
10+
This does *not* affect the Rose ``jinja2:suite.rc``
11+
variables set using the ``-S`` option to the
1212
``rose suite-run`` command.
1313

1414

1515
Overview
1616
--------
1717

18-
Template variables are passed to :ref:`Jinja2 <Jinja>` or
19-
:ref:`EmPy <User Guide EmPy>` for parsing the workflow definition in the
18+
Template variables are passed to :ref:`Jinja2 <Jinja>`
19+
for parsing the workflow definition in the
2020
:cylc:conf:`flow.cylc` file.
2121

2222
In Cylc 7 template variables could only be strings, in Cylc 8 they can be any

src/dictionaries/proper_nouns

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Conda
88
Cylc
99
cylc
1010
Datapoint
11-
Empy
12-
EmPy
1311
Exeter
1412
Gantt
1513
Gedit

src/glossary.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,8 +1266,7 @@ Glossary
12661266
tasks.
12671267

12681268
Other ways of consolidating configuration include :term:`runtime
1269-
inheritance` and templating with :ref:`Jinja2 <Jinja>` or :ref:`Empy
1270-
<User Guide Empy>`.
1269+
inheritance` and templating with :ref:`Jinja2 <Jinja>`.
12711270

12721271
.. code-block:: cylc
12731272

src/hyperlinks.rst.include

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
.. _Cylc Discourse Forum (7-to-8 topic): https://cylc.discourse.group/c/cylc/7-to-8/13
1010
.. _DataPoint: https://www.metoffice.gov.uk/services/data/datapoint
1111
.. _Discourse: https://cylc.discourse.group/
12-
.. _EmPy: https://pypi.org/project/empy/
1312
.. _FCM User Guide: http://metomi.github.io/fcm/doc/user_guide/
1413
.. _FCM: https://metomi.github.io/fcm/doc/
1514
.. _INI: https://en.wikipedia.org/wiki/INI_file

src/installation.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ install:
6969

7070
.. code-block:: sub
7171
72-
# EmPy support
73-
$ pip install 'cylc-flow[empy]'
74-
7572
# Support for running the tutorial workflows
7673
$ pip install 'cylc-flow[tutorial]'
7774

src/plugins/install/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ following keys:
9999
A dictionary of environment variables to be exported to the scheduler
100100
environment.
101101
``template_variables``
102-
A dictionary of template variables to be used by Jinja2 or EmPy when
102+
A dictionary of template variables to be used by Jinja2 when
103103
templating the workflow configuration files.
104104
``templating_detected``
105-
``jinja2`` | ``empy`` to be used when templating. N.b: This will result in
105+
``jinja2`` to be used when templating. N.b: This will result in
106106
failure if the templating language set does not match the shebang line of
107107
the ``flow.cylc`` file.
108108

src/reference/changes.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,28 @@ For more detail see the component changelogs:
2222

2323
----------
2424

25+
26+
Cylc 8.4
27+
--------
28+
29+
.. TODO - fix before release
30+
31+
.. admonition:: Cylc Components
32+
:class: hint
33+
34+
:cylc-flow: `8.3 <https://github.com/cylc/cylc-flow/blob/master/CHANGES.md>`__
35+
:cylc-ui: `2.5 <https://github.com/cylc/cylc-ui/blob/master/CHANGES.md>`__
36+
:cylc-uiserver: `1.5 <https://github.com/cylc/cylc-uiserver/blob/master/CHANGES.md>`__
37+
:cylc-rose: `1.4 <https://github.com/cylc/cylc-rose/blob/master/CHANGES.md>`__
38+
:rose: `2.3 <https://github.com/metomi/rose/blob/master/CHANGES.md>`__
39+
40+
EmPy Support Removed
41+
^^^^^^^^^^^^^^^^^^^^
42+
43+
Support for the EmPy template processor (an alternative to Jinja2) has been
44+
removed.
45+
46+
2547
Cylc 8.3
2648
--------
2749

src/user-guide/troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ workflows:
494494
``cylc view``
495495
Prints workflow configurations before full parsing by Cylc. This
496496
can include :ref:`Jinja2 <troubleshooting.jinja2>` (use ``-j``)
497-
or Empy template processing.
497+
processing.
498498

499499
Include files can be inlined (use ``-i``).
500500

0 commit comments

Comments
 (0)