mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #594] Docker build failing because of requests package version conflict #434
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @renesas-brandon-hussey on GitHub (Jan 5, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/594
I was trying out a self-hosted version of healthchecks. I am not able to build the Docker Image. I get the following error:
I did a little digging. The requirement for requests v2.26.0 is coming from this project's requirements.txt.
https://github.com/healthchecks/healthchecks/blob/master/requirements.txt
The requirement for requests v2.27.0 seems to be coming from apprise.
For my testing, I just changed the version in this project to v2.27.0. Maybe consider specifying a version range?
@cuu508 commented on GitHub (Jan 5, 2022):
Hey @renesas-brandon-hussey – thank you for the report!
I think I found an OK solution for this: fix the Dockerfile to download all wheels in one go. In that case, pip is clever enough to pick a single requests version, and not to collect (and later try install) two different versions.
I'll bump the requests version too to be on the latest version, but this change should prevent the same issue from happening when requests releases their next version.