Skip to content

Commit eae15fe

Browse files
author
Release Manager
committed
gh-36948: `build/pkgs/gnumake_tokenpool`: Update to fix `AlarmInterrupt` problems <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> The new release 0.0.4 provides cysignals integration: - milahu/gnumake-tokenpool#4 Fixes #36944 To verify that the tokenpool mechanism is being used: ``` $ DEBUG_JOBCLIENT=1 make ptest ``` <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36948 Reported by: Matthias Köppe Reviewer(s): John H. Palmieri
2 parents 9e89ec4 + f1be152 commit eae15fe

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tarball=gnumake_tokenpool-VERSION-py3-none-any.whl
2-
sha1=a060f03e0306a85bc1a91a450e457be83ed371e9
3-
md5=834ccc4d6d52741c5eabac1bdb8f39b2
4-
cksum=1679797266
2+
sha1=3dfcc8c466c17f974d90694f81f4481c3d84aecc
3+
md5=5dae4c65e9609853085ae1970d4fe143
4+
cksum=612213211
55
upstream_url=https://pypi.io/packages/py3/g/gnumake_tokenpool/gnumake_tokenpool-VERSION-py3-none-any.whl
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gnumake-tokenpool
1+
gnumake-tokenpool >= 0.0.4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.3
1+
0.0.4

src/sage/doctest/forker.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,12 +1806,13 @@ def parallel_dispatch(self):
18061806
job_client = None
18071807
try:
18081808
from gnumake_tokenpool import JobClient, NoJobServer
1809+
except ImportError:
1810+
pass
1811+
else:
18091812
try:
1810-
job_client = JobClient()
1813+
job_client = JobClient(use_cysignals=True)
18111814
except NoJobServer:
18121815
pass
1813-
except ImportError:
1814-
pass
18151816

18161817
source_iter = iter(self.controller.sources)
18171818

0 commit comments

Comments
 (0)