-
-
Notifications
You must be signed in to change notification settings - Fork 16
Release v2.2.0.2 #96
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
Merged
Merged
Release v2.2.0.2 #96
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2407d6a
Update ReleaseGuide.md
BenjaminRodenberg 9127909
Update ReleaseGuide.md
BenjaminRodenberg f743837
Clearify intend of README.md
BenjaminRodenberg 7cb9e4c
Merge branch 'master' into develop
BenjaminRodenberg d029401
Fix command.
BenjaminRodenberg 4030e55
Adds checksum for version 2.2.0.1.
BenjaminRodenberg 814db22
Fix precice dependency.
BenjaminRodenberg 1820868
ValueError FAQ (#85)
oguzziya 1849a41
Update requirements.txt
ajaust 3b9b14d
Merge pull request #91 from precice/update-solver-dummy-req
ajaust d2216f6
Get upstream version from https://github.com/spack/spack/pull/21881
BenjaminRodenberg 5d725fd
Adds openssh dependency again.
BenjaminRodenberg 85245af
Increase timeout
BenjaminRodenberg 86f249d
Throw warning, if user calls wrong interface function. See #92.
BenjaminRodenberg 5fed8bd
Overhaul spack CI (#89)
BenjaminRodenberg 8c66cc3
Don't install openssh (#95)
BenjaminRodenberg 2c68630
Improved error messages for bindings (#9)
BenjaminRodenberg f1912bd
Bump version in CHANGELOG
IshaanDesai 73998fa
Update CHANGELOG.md
BenjaminRodenberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: Update build environment | ||
|
|
||
| on: | ||
| workflow_dispatch: # Trigger by hand from the UI | ||
| schedule: | ||
| - cron: '0 0 * * 0' # Schedule it every Sunday | ||
|
|
||
| jobs: | ||
| build-spack-pyprecice-deps: | ||
| name: Builds the baseimage for spack providing dependencies | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v2 | ||
| - name: Set up Docker | ||
| uses: docker/setup-buildx-action@v1 | ||
| - name: Login to registry | ||
| uses: docker/login-action@v1 | ||
| with: | ||
| username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
| password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
| - name: Build and push | ||
| uses: docker/build-push-action@v2 | ||
| with: | ||
| push: true | ||
| context: . | ||
| file: spack/ci-spack-pyprecice-deps-1804.dockerfile | ||
| tags: precice/ci-spack-pyprecice-deps-1804 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,16 @@ | ||
| __version__ = "unknown" | ||
|
|
||
| import warnings | ||
| from cyprecice import Interface, action_read_iteration_checkpoint, action_write_iteration_checkpoint, action_write_initial_data, get_version_information | ||
|
|
||
|
|
||
| def SolverInterface(*args): | ||
| """ | ||
| This is just a dummy function to avoid wrong usage of the interface. Please use precice.Interface, if you want to establish a connection to preCICE. See https://github.com/precice/python-bindings/issues/92 for more information. | ||
| """ | ||
| warnings.warn("please use precice.Interface to create the interface to C++ preCICE. Note that this function (precice.SolverInterface) does not do anything but throwing this warning. See https://github.com/precice/python-bindings/issues/92 for more information.") | ||
|
|
||
|
|
||
| from ._version import get_versions | ||
| __version__ = get_versions()['version'] | ||
| del get_versions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pyprecice==2.0 | ||
| pyprecice>=2.0 | ||
| argparse>=1.4 | ||
| numpy>=1.16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,11 @@ | ||
| # Build stage with Spack pre-installed and ready to be used | ||
| FROM spack/ubuntu-bionic:latest | ||
| RUN spack env create precice | ||
| # Install dependencies for precice and py-pyprecice | ||
| RUN spack env activate precice \ | ||
| && spack add boost@1.74.0 cmake@3.18.4 eigen@3.3.8 openssh petsc@3.14.1 pkgconfig precice@develop py-setuptools py-wheel py-cython py-numpy py-mpi4py \ | ||
| && spack concretize -f \ | ||
| && spack install | ||
| FROM spack/ubuntu-bionic:latest | ||
|
|
||
| # Mount the current sources into the build container | ||
| # and build the default environment | ||
| ADD ./spack/repo /py-pyprecice-repo | ||
| RUN spack --color=always env create --without-view ci && \ | ||
| spack --color=always -e ci add py-pyprecice@develop target=x86_64 && \ | ||
| spack --color=always -e ci repo add /py-pyprecice-repo && \ | ||
| spack --color=always -e ci install --fail-fast --only=dependencies && \ | ||
| spack --color=always clean -a |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.