From 7f03c52d2237440c5a672296ce6955aae4ed4f09 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Wed, 10 Jul 2024 16:15:24 +0200 Subject: [PATCH] Fix SSL connections by pinning the `requests` version to `2.31.0` Close #1583 Close #1581 --- CHANGELOG.md | 7 ++++--- extras/man/http.1 | 2 +- extras/man/httpie.1 | 2 +- extras/man/https.1 | 2 +- httpie/__init__.py | 4 ++-- setup.cfg | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd80c096..8ef621e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,12 @@ This document records all notable changes to [HTTPie](https://httpie.io). This project adheres to [Semantic Versioning](https://semver.org/). -## [3.3.0-dev](https://github.com/httpie/cli/compare/3.2.2...master) (unreleased) +## [3.2.3](https://github.com/httpie/cli/compare/3.2.2...3.2.3) (2024-07-10) -- Make it possible to [unset](https://httpie.io/docs/cli/default-request-headers) the `User-Agent`, `Accept-Encoding`, and `Host` request headers. ([#1502](https://github.com/httpie/cli/issues/1502)) +- Fix SSL connections by pinning the `requests` version to `2.31.0`. ([#1583], [#1581]) +- Make it possible to [unset](https://httpie.io/docs/cli/default-request-headers) the `User-Agent` and `Accept-Encoding` request headers. ([#1502](https://github.com/httpie/cli/issues/1502)) -## [3.2.2](https://github.com/httpie/cli/compare/3.2.1...3.2.2) (2022-05-19) +## [3.2.2](https://github.com/httpie/cli/compare/3.2.1...3.2.2) (2023-05-19) - Fixed compatibility with urllib3 2.0.0. ([#1499](https://github.com/httpie/cli/issues/1499)) diff --git a/extras/man/http.1 b/extras/man/http.1 index 65fa133a..09e42370 100644 --- a/extras/man/http.1 +++ b/extras/man/http.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/cli/definition.py by extras/scripts/generate_man_pages.py. -.TH http 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" +.TH http 1 "2024-07-10" "HTTPie 3.2.3" "HTTPie Manual" .SH NAME http .SH SYNOPSIS diff --git a/extras/man/httpie.1 b/extras/man/httpie.1 index 0536d61b..ba269b1a 100644 --- a/extras/man/httpie.1 +++ b/extras/man/httpie.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/manager/cli.py by extras/scripts/generate_man_pages.py. -.TH httpie 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" +.TH httpie 1 "2024-07-10" "HTTPie 3.2.3" "HTTPie Manual" .SH NAME httpie .SH SYNOPSIS diff --git a/extras/man/https.1 b/extras/man/https.1 index c91290a2..dfb1b018 100644 --- a/extras/man/https.1 +++ b/extras/man/https.1 @@ -1,5 +1,5 @@ .\" This file is auto-generated from the parser declaration in httpie/cli/definition.py by extras/scripts/generate_man_pages.py. -.TH https 1 "2022-05-06" "HTTPie 3.2.2" "HTTPie Manual" +.TH https 1 "2024-07-10" "HTTPie 3.2.3" "HTTPie Manual" .SH NAME https .SH SYNOPSIS diff --git a/httpie/__init__.py b/httpie/__init__.py index ffe0d354..d67c9190 100644 --- a/httpie/__init__.py +++ b/httpie/__init__.py @@ -3,7 +3,7 @@ HTTPie: modern, user-friendly command-line HTTP client for the API era. """ -__version__ = '3.2.2' -__date__ = '2022-05-06' +__version__ = '3.2.3' +__date__ = '2024-07-10' __author__ = 'Jakub Roztocil' __licence__ = 'BSD' diff --git a/setup.cfg b/setup.cfg index 7342296d..37663393 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,7 +50,7 @@ install_requires = pip charset_normalizer>=2.0.0 defusedxml>=0.6.0 - requests[socks]>=2.22.0 + requests[socks] >=2.22.0, <=2.31.0 Pygments>=2.5.2 requests-toolbelt>=0.9.1 multidict>=4.7.0