Update package version to 2.33.1

This commit is contained in:
2026-04-04 15:09:19 +03:00
parent 80b8969d3b
commit 1e262b13a1
3 changed files with 5 additions and 24 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
name: python-requests name: python-requests
description: HTTP for Humans description: HTTP for Humans
version: 2.32.5 version: 2.33.1
revision: 3 revision: 1
url: https://requests.readthedocs.io/en/latest/ url: https://requests.readthedocs.io/en/latest/
license: Apache-2.0 license: Apache-2.0
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
depends: depends:
@@ -20,4 +22,4 @@ downloads:
- url: https://github.com/psf/requests/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz - url: https://github.com/psf/requests/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: f22e7e83030dbd2685fa0a9bdf0e4efd30b1424b92ff19eb66599decce510a66 checksum: d227a9626d16504b4074ffedd53161bca8e1831179044fc6d6de7e61418fc766
-14
View File
@@ -1,14 +0,0 @@
diff --git a/src/requests/certs.py b/src/requests/certs.py
index be422c3e..9bfe1c80 100644
--- a/src/requests/certs.py
+++ b/src/requests/certs.py
@@ -11,7 +11,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ return "/etc/ssl/certs/ca-certificates.crt"
if __name__ == "__main__":
print(where())
-7
View File
@@ -2,13 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
prepare() {
cd "$BPM_SOURCE"
# Use system certificates
sed -i '/certifi/d' setup.py
patch -p1 -i "$BPM_WORKDIR"/certs.patch
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {