Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-105879: Note exec/eval keyword change in What's New#121831

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ncoghlan
Copy link
Contributor

@ncoghlanncoghlan commentedJul 16, 2024
edited by github-actionsbot
Loading

@ncoghlanncoghlan added docsDocumentation in the Doc dir 3.13bugs and security fixes needs backport to 3.13bugs and security fixes labelsJul 16, 2024
@ncoghlanncoghlanenabled auto-merge (squash)July 16, 2024 03:36
webknjaz added a commit to webknjaz/cpython that referenced this pull requestJul 16, 2024
Previously, those flags would sometimes end up having empty stringvalues which tends to break evaluating them as JSON. This patch adds`false` fallbacks to all such outputs.This allows feeding them to `fromJSON()` without a fear of themcausing surprising internal behaviors in the GitHub Actions CI/CDworkflows platform itself [[1]]. The behavior observed was thatsome skipped jobs wouldn't show up in the workflow sidebar view atall, would display in the graph view as `Waiting for pending jobs`and in the `${{ needs }}` context, they would have a`result: failure` entry.This should help make PRs likepython#121831 mergeable again.[1]:python#121766 (comment)
webknjaz added a commit to webknjaz/cpython that referenced this pull requestJul 16, 2024
Previously, those flags would sometimes end up having empty stringvalues which tends to break evaluating them as JSON. This patch adds`false` fallbacks to all such outputs.This allows feeding them to `fromJSON()` without a fear of themcausing surprising internal behaviors in the GitHub Actions CI/CDworkflows platform itself [[1]]. The behavior observed was thatsome skipped jobs wouldn't show up in the workflow sidebar view atall, would display in the graph view as `Waiting for pending jobs`and in the `${{ needs }}` context, they would have a`result: failure` entry [[2]].This should help make PRs likepython#121831 mergeable again.[1]:python#121766 (comment)[2]:https://github.com/python/cpython/actions/runs/9950331379/job/27501637459?pr=121831#step:2:244
webknjaz added a commit to webknjaz/cpython that referenced this pull requestJul 16, 2024
Previously, those flags would sometimes end up having empty stringvalues, which tends to break evaluating them as JSON. This patch adds`false` fallbacks to all such outputs.This allows feeding them to `fromJSON()` without a fear of themcausing surprising internal behaviors in the GitHub Actions CI/CDworkflows platform itself [[1]]. The behavior observed was thatsome skipped jobs wouldn't show up in the workflow sidebar view atall, would display in the graph view as `Waiting for pending jobs`and in the `${{ needs }}` context, they would have a`result: failure` entry [[2]].This should help make PRs likepython#121831 mergeable again.[1]:python#121766 (comment)[2]:https://github.com/python/cpython/actions/runs/9950331379/job/27501637459?pr=121831#step:2:244
webknjaz added a commit to webknjaz/cpython that referenced this pull requestJul 16, 2024
Previously, those flags would sometimes end up having empty stringvalues, which tends to break evaluating them as JSON. This patch adds`false` fallbacks to all such outputs.This allows feeding them to `fromJSON()` without a fear of themcausing surprising internal behaviors in the GitHub Actions CI/CDworkflows platform itself [[1]]. The behavior observed was thatsome skipped jobs wouldn't show up in the workflow sidebar view atall, would display in the graph view as `Waiting for pending jobs`and in the `${{ needs }}` context, they would have a`result: failure` entry [[2]].This should help make PRs likepython#121831 mergeable again.[1]:python#121766 (comment)[2]:https://github.com/python/cpython/actions/runs/9950331379/job/27501637459?pr=121831#step:2:244
webknjaz added a commit to webknjaz/cpython that referenced this pull requestJul 16, 2024
Previously, those flags would sometimes end up having empty stringvalues, which tends to break evaluating them as JSON. This patch adds`false` fallbacks to all such outputs.This allows feeding them to `fromJSON()` without a fear of themcausing surprising internal behaviors in the GitHub Actions CI/CDworkflows platform itself [[1]]. The behavior observed was thatsome skipped jobs wouldn't show up in the workflow sidebar view atall, would display in the graph view as `Waiting for pending jobs`and in the `${{ needs }}` context, they would have a`result: failure` entry [[2]].This should help make PRs likepython#121831 mergeable again.[1]:python#121766 (comment)[2]:https://github.com/python/cpython/actions/runs/9950331379/job/27501637459?pr=121831#step:2:244
@hugovkhugovkforce-pushed theexec-eval-keyword-args-whats-new branch fromcb46041 to101ca8bCompareJuly 16, 2024 13:00
@hugovk
Copy link
Member

Rebased to check if#121848 fixes the CI.

@webknjaz
Copy link
Contributor

🤞

@ambv
Copy link
Contributor

At least the name of the skipped Windows job is still borked.

"Tests / Windows ${{ ((fromJSON(matrix.free-threading) && '(free-threading)') || '') }} (pull_requ"

@ncoghlanncoghlan merged commitd7a099d intopython:mainJul 16, 2024
24 checks passed
@miss-islington-app
Copy link

Thanks@ncoghlan for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 16, 2024
…H-121831)(cherry picked from commitd7a099d)Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
@bedevere-app
Copy link

GH-121852 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJul 16, 2024
@webknjaz
Copy link
Contributor

At least the name of the skipped Windows job is still borked.

That's expected. GHA doesn't evaluate skipped matrices, and that would've evaluated to two different names, not one. That's how GHA works. But in general, you don't need to look into those skipped entries as the ones that are of interest to you are prominently marked as red.

@webknjaz
Copy link
Contributor

@ambv a workaround would be to use a staticname: entry and embed the variable bits into the reusable workflow job names one level below. I personally don't really care, but if that annoys you enough, we could go for it.

@webknjaz
Copy link
Contributor

Though, there might be other limitations with this (some sort of a${{ '' }} expression, even empty, is usually needed for nicer display in the sidebar when the jobs are actually run).

ncoghlan added a commit that referenced this pull requestJul 16, 2024
) (#121852)GH-105879: Note exec/eval keyword change in What's New (GH-121831)(cherry picked from commitd7a099d)Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
@webknjaz
Copy link
Contributor

@ambv if you still want the job names to be rendered differently — let me know, and I can come up with alternative options.

ambv reacted with thumbs up emoji

@ambv
Copy link
Contributor

OK, thanks! Let's see how it looks for a while and we'll decide if it's still bothering me later.

webknjaz reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
3.13bugs and security fixesdocsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ncoghlan@hugovk@webknjaz@ambv

[8]ページ先頭

©2009-2025 Movatter.jp