Skip to content

Commit 3a915cc

Browse files
committed
Merge 'upstream/master' into 8.4.x-sync
2 parents 21d18ba + 7f62e50 commit 3a915cc

File tree

78 files changed

+838
-583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+838
-583
lines changed

.github/workflows/2_auto_publish_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: cylc/release-actions/build-python-package@v1
3939

4040
- name: Publish distribution to PyPI
41-
uses: pypa/gh-action-pypi-publish@v1.12.2
41+
uses: pypa/gh-action-pypi-publish@release/v1
4242
with:
4343
user: __token__ # uses the API token feature of PyPI - least permissions possible
4444
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/branch_sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
sync:
17+
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
1718
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1
1819
with:
1920
head_branch: ${{ inputs.head_branch }}

.github/workflows/test_conda-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515

1616
jobs:
1717
test_conda_install:
18+
if: github.repository_owner == 'cylc' || github.event_name != 'schedule'
1819
runs-on: ubuntu-latest
1920
timeout-minutes: 10
2021
strategy:

changes.d/6117.feat.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Create `workflow/share/cycle/<cycle>` and make it available to jobs as `$CYLC_TASK_SHARE_CYCLE_DIR`.

changes.d/6549.fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed cylc.vim - you should use https://github.com/cylc/cylc.vim instead.

changes.d/6561.feat.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Tui now displays task states and flow numbers in context menus. Tasks in flow=None will be displayed in gray.

conda-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- ansimarkup >=1.0.0
6-
- async-timeout>=3.0.0
6+
- async-timeout>=3.0.0 # [py<3.11]
77
- colorama >=0.4,<1.0
88
- graphene >=2.1,<3
99
- graphviz # for static graphing

cylc/flow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def environ_init():
5252

5353
environ_init()
5454

55-
__version__ = '8.4.1.dev'
55+
__version__ = '8.5.0.dev'
5656

5757

5858
def iter_entry_points(entry_point_name):

cylc/flow/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ async def poll_tasks(schd: 'Scheduler', tasks: Iterable[str]):
254254
if schd.get_run_mode() == RunMode.SIMULATION:
255255
yield 0
256256
itasks, _, bad_items = schd.pool.filter_task_proxies(tasks)
257-
schd.task_job_mgr.poll_task_jobs(schd.workflow, itasks)
257+
schd.task_job_mgr.poll_task_jobs(itasks)
258258
yield len(bad_items)
259259

260260

cylc/flow/etc/job.sh

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ cylc__job__main() {
9595
CYLC_TASK_WORK_DIR_BASE="${CYLC_TASK_CYCLE_POINT}/${CYLC_TASK_NAME}"
9696
fi
9797
export CYLC_TASK_WORK_DIR="${CYLC_WORKFLOW_WORK_DIR}/${CYLC_TASK_WORK_DIR_BASE}"
98+
export CYLC_TASK_SHARE_CYCLE_DIR="${CYLC_WORKFLOW_SHARE_DIR}/cycle/${CYLC_TASK_CYCLE_POINT}"
9899
typeset contact="${CYLC_WORKFLOW_RUN_DIR}/.service/contact"
99100
if [[ -f "${contact}" ]]; then
100101
# (contact file not present for polled platforms)
@@ -134,7 +135,7 @@ cylc__job__main() {
134135
export PATH="${CYLC_WORKFLOW_RUN_DIR}/share/bin:${CYLC_WORKFLOW_RUN_DIR}/bin:${PATH}"
135136
export PYTHONPATH="${CYLC_WORKFLOW_RUN_DIR}/share/lib/python:${CYLC_WORKFLOW_RUN_DIR}/lib/python:${PYTHONPATH:-}"
136137
# Create share and work directories
137-
mkdir -p "${CYLC_WORKFLOW_SHARE_DIR}" || true
138+
mkdir -p "${CYLC_TASK_SHARE_CYCLE_DIR}" || true
138139
mkdir -p "$(dirname "${CYLC_TASK_WORK_DIR}")" || true
139140
mkdir -p "${CYLC_TASK_WORK_DIR}"
140141
cd "${CYLC_TASK_WORK_DIR}"

0 commit comments

Comments
 (0)