Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Retry makePythonPypiEnvironment #1126

@dacevedo12

Description

@dacevedo12

Sometimes they fail due to

building '/nix/store/qjsm6v8kql9i5pp985p9mifmly3a66sl-wrapt-1.15.0-py3-none-any.whl.drv'...
trying https://files.pythonhosted.org/packages/f8/f8/e068dafbb844c1447c55b23c921f3d338cddaba4ea53187a7dd0058452d9/wrapt-1.15.0-py3-none-any.whl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) Send failure: Connection reset by peer
error: cannot download wrapt-1.15.0-py3-none-any.whl from any mirror
error: builder for '/nix/store/qjsm6v8kql9i5pp985p9mifmly3a66sl-wrapt-1.15.0-py3-none-any.whl.drv' failed with exit code 1

Curl has flags to retry those requests.
This could lead to a reduction in CI time by not requiring to retry the whole job
and peace of mind with fewer devs asking about those failures.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions