Skip to content

Commit aa8e046

Browse files
committed
Merge default in kolmo-law-ns3d
2 parents 774f5a8 + 684b2b8 commit aa8e046

File tree

153 files changed

+22100
-11056
lines changed

Some content is hidden

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

153 files changed

+22100
-11056
lines changed

.github/workflows/ci-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.10", "3.11", "3.12", "3.13"]
12+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1313

1414
steps:
1515
- name: apt install
@@ -18,7 +18,7 @@ jobs:
1818
sudo apt install -y libfftw3-dev libfftw3-mpi-dev \
1919
libhdf5-openmpi-dev openmpi-bin libopenmpi-dev \
2020
libopenblas-dev
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
- name: Set up Python ${{ matrix.python-version }}
2323
uses: actions/setup-python@v5
2424
with:
@@ -33,7 +33,7 @@ jobs:
3333
mv .coverage/coverage.xml coverage_without_fft_and_pythran.xml
3434
nox -s test_with_fft_and_pythran
3535
mv .coverage/coverage.xml coverage_with_fft_and_pythran.xml
36-
- uses: codecov/codecov-action@v4
36+
- uses: codecov/codecov-action@v5
3737
with:
3838
token: ${{ secrets.CODECOV_TOKEN }}
3939
fail_ci_if_error: false # optional (default = false)

.github/workflows/ci-windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI-windows
1+
name: CI Windows
22

33
on:
44
- push
@@ -13,9 +13,9 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
- uses: prefix-dev/setup-pixi@v0.8.1
16+
- uses: prefix-dev/setup-pixi@v0.9.3
1717
with:
18-
pixi-version: v0.35.0
18+
pixi-version: v0.59.0
1919
cache: false
2020
- name: Tests
2121
run: |

.github/workflows/wheels.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- os: macos
2222
architecture: arm64
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
- uses: actions/setup-python@v5
2626
with:
2727
python-version: 3.x
2828
- name: Build wheels
29-
uses: pypa/cibuildwheel@v2.21.3
29+
uses: pypa/cibuildwheel@v3.2.1
3030
env:
31-
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux* cp313-macosx_x86_64
31+
CIBW_SKIP: pp* cp38-* cp39-* cp310-* *-musllinux*
3232
CIBW_ARCHS: ${{ matrix.architecture }}
3333
- uses: actions/upload-artifact@v4
3434
with:
@@ -44,14 +44,14 @@ jobs:
4444
- os: windows
4545
architecture: AMD64
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
- uses: actions/setup-python@v5
4949
with:
5050
python-version: 3.x
5151
- name: Build wheels
52-
uses: pypa/cibuildwheel@v2.21.3
52+
uses: pypa/cibuildwheel@v3.2.1
5353
env:
54-
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux*
54+
CIBW_SKIP: pp* cp38-* cp39-* cp310-* *-musllinux*
5555
CIBW_ARCHS: ${{ matrix.architecture }}
5656
# increase pip debugging output
5757
# CIBW_BUILD_VERBOSITY: 2
@@ -69,7 +69,7 @@ jobs:
6969
startsWith(github.ref, 'refs/tags/')
7070
runs-on: ubuntu-latest
7171
steps:
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@v5
7373
- uses: docker/setup-qemu-action@v2
7474
with:
7575
platforms: arm64
@@ -79,9 +79,9 @@ jobs:
7979
python-version: 3.x
8080

8181
- name: Build wheels
82-
uses: pypa/cibuildwheel@v2.21.3
82+
uses: pypa/cibuildwheel@v3.2.1
8383
env:
84-
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux*
84+
CIBW_SKIP: pp* cp38-* cp39-* cp310-* *-musllinux*
8585
CIBW_ARCHS: aarch64
8686
- uses: actions/upload-artifact@v4
8787
with:
@@ -91,9 +91,9 @@ jobs:
9191
sdist:
9292
runs-on: ubuntu-latest
9393
steps:
94-
- uses: actions/checkout@v4
94+
- uses: actions/checkout@v5
9595
- run: echo ${{ github.ref }}
96-
- run: python -m pip install build twine
96+
- run: python -m pip install build twine packaging -U
9797
- run: python -m build --sdist
9898
- run: twine check --strict dist/*
9999
- uses: actions/upload-artifact@v4

.gitlab-ci.yml

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,19 @@ image:build:
116116
--cleanup
117117
--destination $DOCKER_IMAGE_PATH:stable
118118
119+
120+
.check_nox_pdm: &check_nox_pdm
121+
before_script:
122+
- nox --version
123+
- pdm --version
124+
# to avoid hishel>=1 (using hishel 0.1.5)
125+
# leading to IO problems on osuosl runners
126+
- uv tool install pdm==2.26.2
127+
- pdm --version
128+
129+
119130
validate_code:
131+
<<: *check_nox_pdm
120132
stage: lint
121133
needs:
122134
- job: "image:build"
@@ -125,34 +137,33 @@ validate_code:
125137
- nox -s validate_code
126138

127139

128-
test_without_fft_and_pythran:
140+
.test_with_nox:
141+
<<: *check_nox_pdm
129142
stage: test
130143
needs:
131144
- job: "image:build"
132145
optional: true
133146
script:
134-
- nox -s test_without_fft_and_pythran
147+
- nox --version
148+
- pdm --version
149+
- nox -s $NOX_SESSION
135150
- mkdir $COVERAGE_DIR
136151
- cp -r .coverage/* $COVERAGE_DIR
137152
artifacts:
138153
paths:
139154
- $COVERAGE_DIR/*
140155
expire_in: 60 mins
141156

157+
test_without_fft_and_pythran:
158+
extends: .test_with_nox
159+
variables:
160+
NOX_SESSION: "test_without_fft_and_pythran"
161+
142162
test_with_fft_and_pythran:
143-
stage: test
163+
extends: .test_with_nox
164+
variables:
165+
NOX_SESSION: "test_with_fft_and_pythran"
144166
timeout: 2 hours
145-
needs:
146-
- job: "image:build"
147-
optional: true
148-
script:
149-
- nox -s test_with_fft_and_pythran
150-
- mkdir $COVERAGE_DIR
151-
- cp -r .coverage/* $COVERAGE_DIR
152-
artifacts:
153-
paths:
154-
- $COVERAGE_DIR/*
155-
expire_in: 60 mins
156167

157168

158169
report_coverage:
@@ -166,6 +177,7 @@ report_coverage:
166177

167178

168179
test-release:examples:
180+
<<: *check_nox_pdm
169181
stage: test-release
170182
needs:
171183
- job: "image:build"
@@ -178,6 +190,7 @@ test-release:examples:
178190

179191

180192
pages:
193+
<<: *check_nox_pdm
181194
stage: doc
182195
needs:
183196
- job: "image:build"

.hgignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ doc/examples/htmlcov/*
8989

9090
fluidsim/build_conf.txt
9191
.pdm-python
92+
93+
.ruff_cache

.hgtags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ a3c1c92a96b3832f5417f4f2dbc9dbfd1fe614ed 0.8.0rc3
4141
0e563c913a1e9745a5cf72839536fc26f0d86b18 0.8.2
4242
82e9ef86eab22b5136dbcc24e6f2af63ba8c9e1e 0.8.3
4343
dab5f225e02e41e6e53c18bfaafdd3e06e0db314 0.8.4
44+
bffedd445385e281fbfd2c56bca84d00b4358284 0.8.5
45+
0d09e831504bfdf93aebc7602465b1b89d550271 0.8.6
46+
13f0a4e4056494a61f2eeb3e0d56fbd8568587a3 0.9.0

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build:
88
- graphviz
99
jobs:
1010
post_create_environment:
11-
- pip install pdm==2.15.4 pip -U
11+
- pip install pdm pip -U
1212
post_install:
1313
- pdm use -f $READTHEDOCS_VIRTUALENV_PATH
1414
- pdm sync -G doc -G fft -G test --no-self

AUTHORS.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Authors
22

33
Fluidsim has first been developed by
4-
[Pierre Augier](http://www.legi.grenoble-inp.fr/people/Pierre.Augier/) (CNRS
5-
researcher at [LEGI](http://www.legi.grenoble-inp.fr), Grenoble) at KTH
6-
(Stockholm) as a numerical code to solve fluid equations in a periodic
7-
two-dimensional space with pseudo-spectral methods.
4+
[Pierre Augier](http://www.legi.grenoble-inp.fr/people/Pierre.Augier/) (CNRS researcher
5+
at [LEGI](http://www.legi.grenoble-inp.fr), Grenoble) at KTH (Stockholm) as a numerical
6+
code to solve fluid equations in a periodic two-dimensional space with pseudo-spectral
7+
methods.
88

99
Fluidsim has been greatly improved during Ashwin Vishnu PhD at KTH (Stockholm).
1010

@@ -18,3 +18,5 @@ The main contributors are:
1818
- Antoine Bardant (LEGI)
1919
- [Vincent Labarre](https://www.researchgate.net/profile/Vincent-Labarre)
2020
([OCA](https://www.oca.eu/fr/fluid))
21+
- Rodrigo Boiral-Lieuthier (LEGI)
22+
- Clovis Lambert (LEGI)

0 commit comments

Comments
 (0)