Skip to content

Commit

Permalink
poetry: remove test
Browse files Browse the repository at this point in the history
Closes #90088.

Signed-off-by: Carlo Cabrera <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
branchvincent authored and BrewTestBot committed Dec 7, 2021
1 parent 763ca9d commit 8e8fa71
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Formula/poetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class Poetry < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "e33f71e0e2507519a6f11ecf51fc9657f932d01676ddf98186c55931441d4116"
end

depends_on "[email protected]" => :test
depends_on "[email protected]"
depends_on "six"

Expand Down Expand Up @@ -201,16 +200,5 @@ def install
assert_predicate testpath/"homebrew/poetry.lock", :exist?
assert_match "requests", (testpath/"homebrew/pyproject.toml").read
assert_match "boto3", (testpath/"homebrew/pyproject.toml").read

# Check using different python versions
# See https://github.com/Homebrew/homebrew-core/issues/62910
pythons = deps.map(&:to_formula).select { |f| f.name.match?(/^python@3\.\d+$/) }
cd testpath/"homebrew" do
inreplace "pyproject.toml", /^python = "\^3.*"/, 'python = "^3"'
pythons.each do |python|
system bin/"poetry", "env", "use", python.opt_bin/"python3"
assert_match python.version.to_s, shell_output("#{bin}/poetry run python --version")
end
end
end
end

0 comments on commit 8e8fa71

Please sign in to comment.