Skip to content

add conda environment file#2870

Merged
MetRonnie merged 2 commits into
metomi:masterfrom
oliver-sanders:conda-environment-file
Apr 1, 2025
Merged

add conda environment file#2870
MetRonnie merged 2 commits into
metomi:masterfrom
oliver-sanders:conda-environment-file

Conversation

@oliver-sanders
Copy link
Copy Markdown
Member

@oliver-sanders oliver-sanders commented Mar 31, 2025

Follow the pattern in cylc-flow:

  • Define conda dependencies in a conda-environment.yml file.
  • Test the env builds correctly in a GH action.
  • Translate dependencies into conda-forge feedstock when releasing.

@oliver-sanders oliver-sanders self-assigned this Mar 31, 2025
@oliver-sanders oliver-sanders added this to the 2.5.0 milestone Mar 31, 2025
@oliver-sanders oliver-sanders force-pushed the conda-environment-file branch from e85ede3 to a103dc9 Compare March 31, 2025 15:11
@oliver-sanders
Copy link
Copy Markdown
Member Author

(cancelled regular tests)

Comment thread conda-environment.yml
# - tornado (rosie disco is temporally disabled)

# output: metomi-rose
- pygraphviz >1.0,!=1.8
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@astroDimitrios

Once this PR has been merged, please rebase your branch and add the new GUI dependencies to the bottom of this file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merged.

Copy link
Copy Markdown
Member Author

@oliver-sanders oliver-sanders Mar 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy of cylc-flow workflow with s/cylc/rose/ and added pip check.

@oliver-sanders oliver-sanders marked this pull request as ready for review March 31, 2025 15:14
Comment thread .github/workflows/test-conda-builds.yml Outdated
Comment thread .github/workflows/test-conda-builds.yml Outdated
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
@MetRonnie MetRonnie merged commit 007d0d0 into metomi:master Apr 1, 2025
@oliver-sanders oliver-sanders deleted the conda-environment-file branch April 1, 2025 13:27
wxtim added a commit that referenced this pull request May 27, 2025
* upstream/master:
  build: update location of COPYING file in build package
  add conda environment file (#2870)
  GH Actions build test: provision python from conda-forge
  Fix Mypy upper-pin
  Don't install `flake8` on Python 3.7 as it conflicts with `importlib-metadata`
  GH Actions: add build check
  Suggest users prefer CYLC_TASK_SHARE_CYCLE_DIR to ROSE_DATAC (#2782)
  Remove reference to UTC mode (setting now sensibly defaults to true in Cylc) from workflows. (#2837) [skip ci]
  Add a couple more keywords to `pyproject.toml`
  `setup.cfg` -> `pyproject.toml`
  GH Actions: test latest python version (#2850)
  bump  version
wxtim added a commit that referenced this pull request Jun 3, 2025
* upstream/master:
  build: update location of COPYING file in build package
  add conda environment file (#2870)
  GH Actions build test: provision python from conda-forge
  Fix Mypy upper-pin
  Don't install `flake8` on Python 3.7 as it conflicts with `importlib-metadata`
  GH Actions: add build check
  Suggest users prefer CYLC_TASK_SHARE_CYCLE_DIR to ROSE_DATAC (#2782)
  Remove reference to UTC mode (setting now sensibly defaults to true in Cylc) from workflows. (#2837) [skip ci]
  Add a couple more keywords to `pyproject.toml`
  `setup.cfg` -> `pyproject.toml`
  GH Actions: test latest python version (#2850)
  bump  version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants