BSD Ports

net/py-urllib3 2.8.0,1 FreeBSD

HTTP library with thread-safe connection pooling, file post, and more

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
ea2bb627e3
License
MIT
Categories
net, python
Package size
238.6 KiB, 1367.1 KiB installed

Description

urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the Python ecosystem already uses urllib3 and you should too. urllib3 brings many critical features that are missing from the Python standard libraries:

  • Thread safety.
  • Connection pooling.
  • Client-side SSL/TLS verification.
  • File uploads with multipart encoding.
  • Helpers for retrying requests and dealing with HTTP redirects.
  • Support for gzip and deflate encoding.
  • Proxy support for HTTP and SOCKS.
  • 100% test coverage.

In the other systems

SystemPortVersion
FreeBSDnet/py-urllib32.8.0,1
DragonFlynet/py-urllib31.26.20,1
MidnightBSDnet/py-urllib32.8.0,1

Install

Binary package:

pkg install py312-urllib3

From the ports tree:

cd /usr/ports/net/py-urllib3/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-urllib3>0:net/py-urllib3

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.8.0,12.8.0,11.26.13,11.26.20,12.8.0,1
FreeBSD:14:quarterly2.8.0,12.8.0,1n/a1.26.20,12.8.0,1
FreeBSD:15:latest2.8.0,12.8.0,1n/a1.26.20,11.26.20,1
FreeBSD:15:quarterly2.8.0,12.8.0,1n/an/an/a
FreeBSD:16:latest2.8.0,12.8.0,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Test 10

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 8
Required by 1405

The first 100 are listed.

Configuration

Options name: net_urllib3

OptionDefaultDescription
BROTLIoffBrotli compression support
H2offHTTP/2 protocol
SOCKSonSOCKS proxy support
ZSTDoffZstandard compression support
USES
cpe python
Service scripts
none

Message after installing

Since version 1.25 HTTPS connections are now verified by default which is done
via "cert_reqs = 'CERT_REQUIRED'".  While certificate verification can be
disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on.

Various consumers of net/py-urllib3 already have implemented routines that
either explicitly enable or disable HTTPS certificate verification (e.g. via
configuration settings, CLI arguments, etc.).

Yet it may happen that there are still some consumers which don't explicitly
enable/disable certificate verification for HTTPS connections which could then
lead to errors (as is often the case with self-signed certificates).

In case of an error one should try first to temporarily disable certificate
verification of the problematic urllib3 consumer to see if that approach will
remedy the issue.

Files

distinfo 1
FileSizeSHA256
urllib3-2.8.0.tar.gz45897263bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63
Master sites 2
  • PYPI
  • https://github.com/urllib3/urllib3/releases/download/2.8.0/

Commit history 1

DateCommitCreditsLog message
ea2bb627e3 Po-Chuan Hsieh net/py-urllib3: Update to 2.8.0
Changes: https://github.com/urllib3/urllib3/releases Security: GHSA-8988-9cw3-xx77, GHSA-vxq7-64xx-v4gw, GHSA-gh4c-6fx4-qh6g