Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision a9edf44a2de9b23a1690b36cdfeed7b41ab763bd authored by Ian Norton on 14 February 2020, 03:09:11 UTC, committed by GitHub on 14 February 2020, 03:09:11 UTC
Setting `-D_XOPEN_SOURCE=700` on HP-UX causes system functions such as chroot to be undefined. This change stops `_XOPEN_SOURCE` begin set on HP-UX Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent f632736
Tip revision: a9edf44a2de9b23a1690b36cdfeed7b41ab763bd authored by Ian Norton on 14 February 2020, 03:09:11 UTC
closes bpo-39619 Fix os.chroot on HP-UX 11.31 (GH-18495)
closes bpo-39619 Fix os.chroot on HP-UX 11.31 (GH-18495)
Tip revision: a9edf44
prebuild-checks.yml
steps:
- checkout: self
fetchDepth: 5
- script: echo "##vso[task.setvariable variable=diffTarget]HEAD~1"
displayName: Set default diff target
- script: |
git fetch -q origin $(System.PullRequest.TargetBranch)
echo "##vso[task.setvariable variable=diffTarget]HEAD \$(git merge-base HEAD FETCH_HEAD)"
displayName: Fetch comparison tree
condition: and(succeeded(), variables['System.PullRequest.TargetBranch'])
- script: |
if ! git diff --name-only $(diffTarget) | grep -qE '(\.rst$|^Doc|^Misc)'
then
echo "No docs were updated: docs.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Docs were updated: docs.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect documentation changes
name: docs
- script: |
if ! git diff --name-only $(diffTarget) | grep -qvE '(\.rst$|^Doc|^Misc)'
then
echo "Only docs were updated: tests.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Code was updated: tests.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect source changes
name: tests
Computing file changes ...