Skip to content

Commit bada421

Browse files
Merge branch 'main' into patch/ux-uv-uvw
2 parents f4ae379 + 1461837 commit bada421

5 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/ISSUE_TEMPLATE/01_feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
- "I'm trying to simulate particle behavior with [specific physics], but Parcels doesn't support..."
2323
- "When working with [specific data format/kernel], I find it difficult to..."
2424
25-
If you would like to see Parcels work with a specific dataset, please also [follow our instructions on how to share dataset metadata](https://docs.parcels-code.org/en/v4-dev/development/posting-issues.html).
25+
If you would like to see Parcels work with a specific dataset, please also [follow our instructions on how to share dataset metadata](https://docs.parcels-code.org/en/latest/development/posting-issues.html).
2626
validations:
2727
required: true
2828
- type: textarea

.github/ISSUE_TEMPLATE/02_bug.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
- type: "textarea"
1818
attributes:
1919
label: "Code sample"
20-
description: "If relevant, please provide a code example where this bug is shown as well as any error message. A [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) is preffered as it makes it much easier for developers to identify the cause of the bug. This also allows them quickly determine whether the problem is with your code or with Parcels itself. If you want support on a specific dataset, please [follow our instructions on how to share dataset metadata](https://docs.parcels-code.org/en/v4-dev/development/posting-issues.html)"
20+
description: "If relevant, please provide a code example where this bug is shown as well as any error message. A [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) is preffered as it makes it much easier for developers to identify the cause of the bug. This also allows them quickly determine whether the problem is with your code or with Parcels itself. If you want support on a specific dataset, please [follow our instructions on how to share dataset metadata](https://docs.parcels-code.org/en/latest/development/posting-issues.html)"
2121
value: |
2222
```python
2323
# Paste your code within this block

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- "main"
6-
- "v4-dev"
76
- "test-me/*"
87
pull_request:
98

@@ -79,7 +78,7 @@ jobs:
7978
with:
8079
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
8180
cache: true
82-
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
81+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
8382
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
8483
- name: Restore cached hypothesis directory
8584
id: restore-hypothesis-cache
@@ -139,7 +138,7 @@ jobs:
139138
with:
140139
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
141140
cache: true
142-
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
141+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
143142
- name: Integration test
144143
run: |
145144
pixi run test-notebooks -v -s --html="${{ env.COVERAGE_REPORT }}" --self-contained-html --cov=parcels --cov-report=xml
@@ -184,7 +183,7 @@ jobs:
184183
with:
185184
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
186185
cache: true
187-
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
186+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
188187
- name: Typechecking
189188
run: |
190189
pixi run typing --non-interactive --html-report mypy-report
@@ -212,14 +211,14 @@ jobs:
212211
with:
213212
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
214213
cache: true
215-
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'v4-dev' }} # TODO: Update v4-dev to main when v4 is released
214+
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
216215
- run: pixi run get-parcels-alpha-version >> $GITHUB_ENV
217216
- run: echo "PARCELS_ALPHA_VERSION is $PARCELS_ALPHA_VERSION"
218217
- name: Build conda package
219218
uses: prefix-dev/rattler-build-action@v0.2.34
220219
with:
221220
recipe-path: .github/ci/recipe.yaml
222-
- if: github.ref == 'refs/heads/v4-dev'
221+
- if: github.ref == 'refs/heads/main'
223222
run: |
224223
for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do
225224
echo "Uploading ${pkg}"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
[![LinkedIn](https://custom-icon-badges.demolab.com/badge/LinkedIn-0A66C2?logo=linkedin-white&logoColor=fff)](https://www.linkedin.com/company/parcelscode/)
1616

1717
> [!WARNING]
18-
> This branch is `v4-dev` - version 4 of Parcels which is in active development. See `main` (or the tags) to browse stable versions of Parcels.
18+
> This branch contains version 4 of Parcels which is in active development. See `v3-support` to see v3 or the tags to browse stable versions of Parcels.
1919
2020
**Parcels** provides a set of Python classes and methods to create customisable particle tracking simulations using gridded output from (ocean) circulation models. Parcels can be used to track passive and active particulates such as water, plankton, [plastic](http://www.topios.org/) and [fish](https://github.com/Jacketless/IKAMOANA).
2121

22-
![Arctic-SO-medusaParticles](https://github.com/Parcels-code/oceanparcels_website/blob/main/images/homepage.gif)
22+
![Arctic-SO-medusaParticles](https://github.com/Parcels-code/Parcels/blob/main/docs/_static/homepage.gif?raw=true)
2323

2424
_Animation of virtual particles carried by ocean surface flow in the global oceans. The particles are advected with [Parcels](http://parcels-code.org/) in data from the [NEMO Ocean Model](https://www.nemo-ocean.eu/)._
2525

docs/v4/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TODO
22

3-
List of tasks that are important to do before the release of version 4 (but can't be done now via code changes in `v4-dev`).
3+
List of tasks that are important to do before the release of version 4.
44

55
- [ ] Make migration guide for v3 to v4
66
- [ ] Just prior to release: Update conda feedstock recipe dependencies (Python 3.11+, remove cgen and compiler dependencies, add pooch as dependency and remove platformdirs). Make sure that recipe is up-to-date.

0 commit comments

Comments
 (0)