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

Pass fully-resolved path to subprocess.run() #2303

Merged
merged 4 commits into from
Jan 25, 2023
Merged

Conversation

rjgildea
Copy link
Contributor

subprocess.Popen() docs recommend passing a fully-qualified path to the executable, as resolving the path of the executable is platform dependent:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen

rjgildea and others added 2 commits December 15, 2022 09:20
subprocess.Popen docs recommend passing a fully-qualified path
to the executable, as resolving the path of the executable is
platform dependent.
https://docs.python.org/3/library/subprocess.html#subprocess.Popen
rjgildea added a commit to conda-forge/dials-feedstock that referenced this pull request Dec 15, 2022
* Updated v3.11.2
* Use dxtbx 3.11
* Pin boost[-cpp]<1.75
* Patch failing Windows test (see cctbx/dxtbx#593)
* Add patch for test_symmetry (see dials/dials#2303)
* Skip dev.dials.simple_integrate test:
    Non-obvious test failure on Windows build, doesn't seem worth
    investigating right now for a non-production piece of code.

Co-authored-by: conda-forge-webservices[bot] <91080706+conda-forge-webservices[bot]@users.noreply.github.com>
Co-authored-by: Richard Gildea <richard.gildea@diamond.ac.uk>
@ndevenish ndevenish merged commit 1041a07 into main Jan 25, 2023
@ndevenish ndevenish deleted the subprocess-resolve-path branch January 25, 2023 14:23
dagewa pushed a commit that referenced this pull request Feb 20, 2023
subprocess.Popen docs recommend passing a fully-qualified path to the
executable, as resolving the path of the executable is platform
dependent.
https://docs.python.org/3/library/subprocess.html#subprocess.Popen

This was causing test failures in some windows configurations.
dagewa added a commit that referenced this pull request Mar 2, 2023
rjgildea pushed a commit that referenced this pull request Mar 3, 2023
Fix another test file for Windows, following #2303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants