Skip to content

[Backport staging-26.05] python314Packages.sh: ignore timing sensitive tests - #557465

Merged
SuperSandro2000 merged 1 commit into
NixOS:staging-26.05from
liberodark:python-sh
Aug 31, 2026
Merged

SuperSandro2000 merged 1 commit into
NixOS:staging-26.05from
liberodark:python-sh

Conversation

@liberodark

@liberodark liberodark commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Related to : #542618

Fix :

> =========================== short test summary info ============================
       > FAILED tests/sh_test.py::FunctionalTests::test_done_callback_no_deadlock - sh.TimeoutException
       > = 1 failed, 176 passed, 1 skipped, 5 deselected, 116 warnings in 208.42s (0:03:28) =
       For full logs, run:
         nix log /nix/store/8yb9yg3613q6vyqbcp69cpf60a3wai8l-python3.13-sh-2.2.2.drv

Things done

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between 8660f42 and original 4c4644e may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     python314Packages.sh: ignore timing sensitive tests
 
+    (cherry picked from commit 4c4644e487e28df2400e148cba2858e1f18659f7)
+
  ## pkgs/development/python-modules/sh/default.nix ##
 @@ pkgs/development/python-modules/sh/default.nix: buildPythonPackage rec {
-     "test_unicode_path"
-     # fails to import itself after modifying the environment
-     "test_environment"
--    # timing sensitive through usage of sleep(1) and signal handling
+     # timing sensitive through usage of sleep(1) and signal handling
+     # https://github.com/amoffat/sh/issues/684
+     "test_general_signal"
 +    # timing sensitive due to strict timeouts
 +    "test_done_callback_no_deadlock"
 +    "test_timeout_overstep"

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from siriobalmelli August 28, 2026 18:31
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 4.workflow: backport This targets a stable branch labels Aug 28, 2026
@SuperSandro2000

SuperSandro2000 commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

Please always use git cherry-pick -x. I quickly fixed it for this PR.

@SuperSandro2000
SuperSandro2000 dismissed nixpkgs-commit-check[bot]’s stale review August 31, 2026 14:55

we are missing an update on stable

@SuperSandro2000
SuperSandro2000 added this pull request to the merge queue Aug 31, 2026
Merged via the queue into NixOS:staging-26.05 with commit 12e92db Aug 31, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants