Skip to content
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

maintainer: Escape module python in wrapper script #3238

Merged
merged 1 commit into from
Oct 11, 2019
Merged

maintainer: Escape module python in wrapper script #3238

merged 1 commit into from
Oct 11, 2019

Conversation

fweik
Copy link
Contributor

@fweik fweik commented Oct 7, 2019

Fixes #3237.

Description of changes:

  • Added quotes around the module path in python wrapper script.

@fweik fweik requested a review from jngrad October 7, 2019 20:04
@codecov
Copy link

codecov bot commented Oct 7, 2019

Codecov Report

Merging #3238 into python will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3238   +/-   ##
======================================
  Coverage      85%     85%           
======================================
  Files         528     528           
  Lines       25805   25805           
======================================
  Hits        22150   22150           
  Misses       3655    3655

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9dc1e06...f2ec866. Read the comment docs.

@jngrad jngrad added this to the Espresso 4.1.1 milestone Oct 7, 2019
@jngrad jngrad mentioned this pull request Oct 8, 2019
@fweik fweik added the BugFix label Oct 8, 2019
@KaiSzuttor
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Oct 11, 2019
3238: maintainer: Escape module python in wrapper script r=KaiSzuttor a=fweik

Fixes #3237.

Description of changes:
 - Added quotes around the module path in python wrapper script.


Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

The staging commit ended up outside a branch and could not be reached from the CI.

@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

bors cancel

@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

bors r-

@bors
Copy link
Contributor

bors bot commented Oct 11, 2019

Canceled

@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

bors r+

bors bot added a commit that referenced this pull request Oct 11, 2019
3234: Fix mpiio with stdlibc++ range checking r=fweik a=mkuron

Fixes #3230. Reported by @junghans.

When mpiio was used but no bonds were present, we would still try to copy zero bonds from a zero-length vector. This triggered an assertion when stdlibc++ range checking was enabled.

Please tag for cherry-picking into 4.1.1.

3236: ESS2019 installation guide updates r=KaiSzuttor a=mkuron

Lessons learned today:

- We require MPI 3 because we depend on const-correctness in a few places. That means that OpenMPI 1.6.5 and lower are not supported anymore.
- Installing the ROCm driver breaks access to /dev/kfd, causing hwloc initialization during `mpiexec` to hang. Rebooting helps.
- Add matplotlib, ipython and jupyter to the Mac install guide.
- Homebrew now defaults to Python 3, requires manually enabling cython, and it's unclear whether the hdf5 package still supports MPI (Homebrew/homebrew-core#26974)
- Anaconda (~/anaconda[23]) and python.org packages (/Library/Python and /usr/local/bin) are also sources of conflict

Please tag for the 4.1.1 release

3238: maintainer: Escape module python in wrapper script r=jngrad a=fweik

Fixes #3237.

Description of changes:
 - Added quotes around the module path in python wrapper script.


Co-authored-by: Michael Kuron <mkuron@users.noreply.github.com>
Co-authored-by: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Co-authored-by: Kai Szuttor <kai@icp.uni-stuttgart.de>
Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

seriously? not only bors fails the merge and fails to catch the CI failure webhook, it also randomly spawns duplicate CI pipelines for already canceled batches? https://gitlab.icp.uni-stuttgart.de/espressomd/espresso/commit/6dbcec3c35fd5f4e98fcf23a6160ab0d3012bf13/pipelines?ref=staging

@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

bors r-
(failed CI)

@bors
Copy link
Contributor

bors bot commented Oct 11, 2019

Canceled

@jngrad
Copy link
Member

jngrad commented Oct 11, 2019

bors r+

bors bot added a commit that referenced this pull request Oct 11, 2019
3234: Fix mpiio with stdlibc++ range checking r=fweik a=mkuron

Fixes #3230. Reported by @junghans.

When mpiio was used but no bonds were present, we would still try to copy zero bonds from a zero-length vector. This triggered an assertion when stdlibc++ range checking was enabled.

Please tag for cherry-picking into 4.1.1.

3236: ESS2019 installation guide updates r=KaiSzuttor a=mkuron

Lessons learned today:

- We require MPI 3 because we depend on const-correctness in a few places. That means that OpenMPI 1.6.5 and lower are not supported anymore.
- Installing the ROCm driver breaks access to /dev/kfd, causing hwloc initialization during `mpiexec` to hang. Rebooting helps.
- Add matplotlib, ipython and jupyter to the Mac install guide.
- Homebrew now defaults to Python 3, requires manually enabling cython, and it's unclear whether the hdf5 package still supports MPI (Homebrew/homebrew-core#26974)
- Anaconda (~/anaconda[23]) and python.org packages (/Library/Python and /usr/local/bin) are also sources of conflict

Please tag for the 4.1.1 release

3238: maintainer: Escape module python in wrapper script r=jngrad a=fweik

Fixes #3237.

Description of changes:
 - Added quotes around the module path in python wrapper script.


Co-authored-by: Michael Kuron <mkuron@users.noreply.github.com>
Co-authored-by: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Co-authored-by: Kai Szuttor <kai@icp.uni-stuttgart.de>
Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
@bors
Copy link
Contributor

bors bot commented Oct 11, 2019

Build succeeded

@bors bors bot merged commit f2ec866 into espressomd:python Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paths not properly escaped in {i,}pypresso wrapper script
4 participants