guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4f4022d511b95699fecbe43bae4f891eb09f9793
Author: Giacomo Leidi <[email protected]>
AuthorDate: Sat Jul 18 16:17:27 2026 +0200

    gnu: elixir-httpoison: Update to 3.0.0.
    
    * gnu/packages/elixir-web.scm (elixir-httpoison): Update to 3.0.0.
    [source]<patches>: Drop
    elixir-httpoison-tag-network-dependent-test-cases.patch as
    https://github.com/edgurgel/httpoison/pull/502 has been included in the
    3.0.0 release.
    * gnu/local.mk: Drop patch.
    * 
gnu/packages/patches/elixir-httpoison-tag-network-dependent-test-cases.patch:
    Delete patch.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/local.mk                                       |  1 -
 gnu/packages/elixir-web.scm                        | 10 +---
 ...ttpoison-tag-network-dependent-test-cases.patch | 64 ----------------------
 3 files changed, 3 insertions(+), 72 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index e6ad5d9094..843e50e5f9 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1240,7 +1240,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/eigen-fix-strict-aliasing-bug.patch     \
   %D%/packages/patches/einstein-build.patch                    \
   %D%/packages/patches/elfutils-tests-ptrace.patch             \
-  %D%/packages/patches/elixir-httpoison-tag-network-dependent-test-cases.patch 
                \
   %D%/packages/patches/elixir-path-length.patch                        \
   %D%/packages/patches/elm-ghc9.2.patch        \
   %D%/packages/patches/exaile-gstreamer-1.28.patch     \
diff --git a/gnu/packages/elixir-web.scm b/gnu/packages/elixir-web.scm
index 7bf1e27ae3..7f35a6d775 100644
--- a/gnu/packages/elixir-web.scm
+++ b/gnu/packages/elixir-web.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2025 Giacomo Leidi <[email protected]>
+;;; Copyright © 2025, 2026 Giacomo Leidi <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -285,7 +285,7 @@ purposes.  Its goal is to be as close as possible to
 (define-public elixir-httpoison
   (package
     (name "elixir-httpoison")
-    (version "2.2.3")
+    (version "3.0.0")
     (source
      (origin
        (method git-fetch)
@@ -294,11 +294,7 @@ purposes.  Its goal is to be as close as possible to
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0k9g4dc6y30wr9ryxjs23izifpg4dqkkqk8xz39ff27jn5s97k8i"))
-       ;; Waiting for upstream inclusion at
-       ;; https://github.com/edgurgel/httpoison/pull/502
-       (patches
-        (search-patches 
"elixir-httpoison-tag-network-dependent-test-cases.patch"))))
+        (base32 "0y2wih0cyxgkjxcqgmzfxxrcss2zpys8n5nzb19bsdxh8rvrazcv"))))
     (build-system mix-build-system)
     (arguments
      (list
diff --git 
a/gnu/packages/patches/elixir-httpoison-tag-network-dependent-test-cases.patch 
b/gnu/packages/patches/elixir-httpoison-tag-network-dependent-test-cases.patch
deleted file mode 100644
index 763e20a697..0000000000
--- 
a/gnu/packages/patches/elixir-httpoison-tag-network-dependent-test-cases.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 788c481157871fe37becb2ec0280510061174e95 Mon Sep 17 00:00:00 2001
-From: Giacomo Leidi <[email protected]>
-Date: Sun, 21 Sep 2025 20:25:03 +0200
-Subject: [PATCH] tests: Tag network dependent test cases.
-
-Many environments, such as Linux distributions one, segragate builds
-from accessing many system resources like Internet access. Currently it
-is impossible to run the test suite offline, as it needs access to
-badssl.com. This commit tags network dependent test cases to allow them
-to be excluded in offline environments using mix test --exclude.
-
-This holds at least for openSUSE Tumbleweed, NixOS, Guix System and
-probably many others.
----
- test/httpoison_test.exs | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/test/httpoison_test.exs b/test/httpoison_test.exs
-index b260c65..f342b59 100644
---- a/test/httpoison_test.exs
-+++ b/test/httpoison_test.exs
-@@ -409,6 +409,7 @@ defmodule HTTPoisonTest do
-       )
-     end
- 
-+    @tag :network
-     test "expired certificate" do
-       assert {:error, %HTTPoison.Error{reason: {:tls_alert, 
{:certificate_expired, reason}}}} =
-                HTTPoison.get("https://expired.badssl.com/";)
-@@ -440,6 +441,7 @@ defmodule HTTPoisonTest do
-                )
-     end
- 
-+    @tag :network
-     test "allows changing TLS1.0 settings" do
-       assert {:error,
-               %HTTPoison.Error{
-@@ -455,6 +457,7 @@ defmodule HTTPoisonTest do
-       end
-     end
- 
-+    @tag :network
-     test "allows changing TLS1.1 settings" do
-       assert {:error,
-               %HTTPoison.Error{
-@@ -472,6 +475,7 @@ defmodule HTTPoisonTest do
-       end
-     end
- 
-+    @tag :network
-     test "does support tls1.2" do
-       if :"tlsv1.2" in :ssl.versions()[:supported] do
-         assert {:ok, _} = HTTPoison.get("https://tls-v1-2.badssl.com:1012/";, 
[])
-@@ -485,6 +489,7 @@ defmodule HTTPoisonTest do
-       end
-     end
- 
-+    @tag :network
-     test "invalid common name" do
-       assert {:error,
-               %HTTPoison.Error{
--- 
-2.51.0
-

Reply via email to