-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heartbeat: migrate to python@3.9 #62325
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BrewTestBot
added
go
Go use is a significant feature of the PR or issue
python
Python use is a significant feature of the PR or issue
and removed
do not merge
labels
Oct 7, 2020
|
Closed
Similar to #62243 (comment): diff --git a/Formula/heartbeat.rb b/Formula/heartbeat.rb
index bd813a0249..19ef579613 100644
--- a/Formula/heartbeat.rb
+++ b/Formula/heartbeat.rb
@@ -16,7 +16,9 @@ class Heartbeat < Formula
end
depends_on "go" => :build
+ depends_on "jpeg" => :build
depends_on "python@3.9" => :build
+ depends_on "zlib" => :build
resource "virtualenv" do
url "https://files.pythonhosted.org/packages/b1/72/2d70c5a1de409ceb3a27ff2ec007ecdd5cc52239e7c74990e32af57affe9/virtualenv-15.2.0.tar.gz"
@@ -50,7 +52,7 @@ class Heartbeat < Formula
cd "src/github.com/elastic/beats/heartbeat" do
system "make", "mage"
# prevent downloading binary wheels during python setup
- system "make", "PIP_INSTALL_PARAMS=--no-binary :all", "python-env"
+ system "make", "PIP_INSTALL_PARAMS=--use-pep517 --no-binary :all:", "python-env"
system "mage", "-v", "build"
ENV.deparallelize
system "mage", "-v", "update" |
|
|
I saw python-pillow/Pillow#4974, and it's available from Pillow 8.0.0, but beats 7.9.2 specifies Pillow 7.0.0: https://github.com/elastic/beats/blob/v7.9.2/libbeat/tests/system/requirements.txt Also, Pillow would be removed from beats 7.10.0: elastic/beats#20407 |
It says it doesn't actually use Pillow, it's just… there for no reason? |
Superseded by #63381 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
go
Go use is a significant feature of the PR or issue
python
Python use is a significant feature of the PR or issue
python-3.9-migration
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As part of the Python 3.9 migration (#62201).
This formula is independent from the all other Python formulas (if I didn't screw up my script or my logic)
Do not merge before the next Brew tag ships, expected on Monday 2020-10-12