-
-
Notifications
You must be signed in to change notification settings - Fork 164
Add requirements-reference.txt #871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
6e583b7
626dd48
f08a2cb
bd584b7
6b5e773
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Check requirements-reference | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - develop | ||
| paths: | ||
| - '**/requirements.txt' | ||
| - '**/requirements-reference.txt' | ||
| - tools/releasing/report_tutorial_requirements.py | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| - develop | ||
| paths: | ||
| - '**/requirements.txt' | ||
| - '**/requirements-reference.txt' | ||
| - tools/releasing/report_tutorial_requirements.py | ||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout the repository | ||
| uses: actions/checkout@v7 | ||
| - name: Setup python | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: '3.10' | ||
| - name: Install packaging | ||
| run: pip install packaging | ||
| - name: Check requirements-reference.txt files | ||
| run: python3 tools/releasing/report_tutorial_requirements.py --check |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Add loose version constraints to tutorial `requirements.txt` files and sibling `requirements-reference.txt` pins generated from PyPI via `tools/releasing/report_tutorial_requirements.py`, with a CI check that keeps them up to date ([#871](https://github.com/precice/tutorials/pull/871)). |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: channel-transport-particles/fluid-nutils/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| setuptools==83.0.0 | ||
| nutils==7.3 | ||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| setuptools # required by nutils | ||
| setuptools>=69.0.0 # required by nutils | ||
| nutils~=7.3 | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 | ||
| setuptools | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: channel-transport-reaction/chemical-fenics/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| fenicsprecice==2.3.0 | ||
| fenics-dijitso==2019.1.0 | ||
| # fenics-dolfin~=2019.0 # non-PyPI (system/PPA or no matching PyPI version) | ||
| fenics-ffc==2019.1.0.post0 | ||
| fenics-fiat==2019.1.0 | ||
| fenics-ufl-legacy==2022.3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: channel-transport-reaction/fluid-fenics/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| fenicsprecice==2.3.0 | ||
| fenics-dijitso==2019.1.0 | ||
| # fenics-dolfin~=2019.0 # non-PyPI (system/PPA or no matching PyPI version) | ||
| fenics-ffc==2019.1.0.post0 | ||
| fenics-fiat==2019.1.0 | ||
| fenics-ufl-legacy==2022.3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: channel-transport/fluid-nutils/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| setuptools==83.0.0 | ||
| nutils==7.3 | ||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| setuptools # required by nutils | ||
| setuptools>=69.0.0 # required by nutils | ||
| nutils~=7.3 | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 | ||
| setuptools |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: channel-transport/transport-nutils/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| setuptools==83.0.0 | ||
| nutils==7.3 | ||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| setuptools # required by nutils | ||
| setuptools>=69.0.0 # required by nutils | ||
| nutils~=7.3 | ||
| numpy >1, <2 | ||
| pyprecice >=3.2 # Remeshing support is available since preCICE version 3.2 | ||
| setuptools |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: elastic-tube-1d/fluid-python/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| matplotlib==3.11.0 | ||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| matplotlib | ||
| matplotlib>=3,<4 | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: elastic-tube-1d/solid-python/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: elastic-tube-3d/solid-fenics/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| fenicsprecice==2.3.0 | ||
| numpy==1.26.4 | ||
| fenics-dijitso==2019.1.0 | ||
| # fenics-dolfin~=2019.0 # non-PyPI (system/PPA or no matching PyPI version) | ||
| fenics-ffc==2019.1.0.post0 | ||
| fenics-fiat==2019.1.0 | ||
| fenics-ufl-legacy==2022.3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-around-controlled-moving-cylinder/controller-fmi/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| pyprecice==3.4.0 | ||
| fmiprecice==0.2.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| pyprecice~=3.0 | ||
| fmiprecice | ||
| fmiprecice~=0.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-around-controlled-moving-cylinder/solid-python/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| pyprecice==3.4.0 | ||
| numpy==1.26.4 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/fluid-su2/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/plot-final-interface-temperature/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| matplotlib==3.11.0 | ||
| vtk==9.6.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| numpy >1, <2 | ||
| matplotlib>=3,<4 | ||
| vtk>=9,<10 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/solid-dunefem/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| dune-fem==2.12.0.2 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| dune-fem>=2.11 # Known to work with 2.11.0.5, 2.12.0.2 | ||
| dune-fem>=2.11 | ||
| pyprecice~=3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/solid-fenics/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| fenicsprecice==2.3.0 | ||
| numpy==1.26.4 | ||
| fenics-dijitso==2019.1.0 | ||
| # fenics-dolfin~=2019.0 # non-PyPI (system/PPA or no matching PyPI version) | ||
| fenics-ffc==2019.1.0.post0 | ||
| fenics-fiat==2019.1.0 | ||
| fenics-ufl-legacy==2022.3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/solid-fenicsx/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| fenicsxprecice==1.0.1 | ||
| mpi4py==4.1.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| numpy | ||
| fenicsxprecice | ||
| numpy >1, <2 | ||
| fenicsxprecice~=1.0 | ||
| mpi4py>=3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: flow-over-heated-plate/solid-nutils/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| setuptools==83.0.0 | ||
| nutils==7.3 | ||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| setuptools # required by nutils | ||
| setuptools>=69.0.0 # required by nutils | ||
| nutils~=7.3 | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: oscillator-overlap/solver-python/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 | ||
| scipy==1.18.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 | ||
| scipy | ||
| scipy>=1.10,<2 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this version range?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stay on scipy 1.x with a recent-enough floor; exact pin is in the sibling reference file. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: oscillator/mass-left-fmi/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| pyprecice==3.4.0 | ||
| fmiprecice==0.2.1 | ||
| pandas==2.3.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pyprecice~=3.0 | ||
| fmiprecice | ||
| pandas | ||
| fmiprecice~=0.2 | ||
| pandas>=2.0,<3 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this version range?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stay on pandas 2.x; the exact pin is in the sibling reference file. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: oscillator/mass-right-fmi/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| pyprecice==3.4.0 | ||
| fmiprecice==0.2.1 | ||
| pandas==2.3.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pyprecice~=3.0 | ||
| fmiprecice | ||
| pandas | ||
| fmiprecice~=0.2 | ||
| pandas>=2.0,<3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: oscillator/solver-fmi/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| pyprecice==3.4.0 | ||
| fmiprecice==0.2.1 | ||
| pandas==2.3.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pyprecice~=3.0 | ||
| fmiprecice | ||
| pandas | ||
| fmiprecice~=0.2 | ||
| pandas>=2.0,<3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: oscillator/solver-python/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| numpy==1.26.4 | ||
| pyprecice==3.4.0 | ||
| scipy==1.18.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| numpy >1, <2 | ||
| pyprecice~=3.0 | ||
| scipy | ||
| scipy>=1.10,<2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Pinned Python dependency versions for this tutorial participant. | ||
| # Reference only: run scripts keep using loose requirements.txt constraints. | ||
| # Generated by tools/releasing/report_tutorial_requirements.py — do not edit manually. | ||
| # Source: partitioned-burgers-1d/neumann-surrogate/requirements.txt | ||
| # Generated: 2026-07-10T14:26:04Z | ||
|
|
||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||
| numpy==2.5.1 | ||
| scipy==1.18.0 | ||
| torch==2.13.0 | ||
| matplotlib==3.11.0 | ||
| pyprecice==3.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why specifically this version? No need to document, just for me to understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kept as a lower bound that works with current nutils; happy to loosen further if you prefer.