notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
There is a known issue with processing of security/vuxml data. As a results, the "Lastest Vulnerabilities" box is out of date and new entries after 2025-Sep-02 are not shown.
Port details
py-urllib31 HTTP library with thread-safe connection pooling, file post, and more
1.26.20 netnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-02 18:15:12
Last Update: 2025-09-02 17:58:13
Commit Hash: b68611e
Also Listed In: python
License: MIT
WWW:
https://urllib3.readthedocs.io/en/stable/
https://github.com/urllib3/urllib3
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}urllib31>0:net/py-urllib31@${PY_FLAVOR}
To install the port:
cd /usr/ports/net/py-urllib31/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-urllib31
  • pkg install py311-urllib31
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-urllib31 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-urllib31
Package flavors (<flavor>: <package>)
  • py311: py311-urllib31
distinfo:
TIMESTAMP = 1725560881 SHA256 (urllib3-1.26.20.tar.gz) = 40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32 SIZE (urllib3-1.26.20.tar.gz) = 307380

Packages (timestamps in pop-ups are UTC):
py311-urllib31
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest----1.26.20---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-flaky>=3.6.1 : devel/py-flaky@py311
  2. py311-mock>=0 : devel/py-mock@py311
  3. py311-pysocks>=1.5.6 : net/py-pysocks@py311
  4. py311-pytest-timeout>=0 : devel/py-pytest-timeout@py311
  5. py311-python-dateutil>=2.8.1 : devel/py-python-dateutil@py311
  6. py311-tornado>=0 : www/py-tornado@py311
  7. py311-trustme>=0.6.0 : security/py-trustme@py311
  8. py311-cryptography>=44.0.3,1 : security/py-cryptography@py311
  9. py311-pytest>=7,1 : devel/py-pytest@py311
  10. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pysocks>=1.5.6<2.0 : net/py-pysocks@py311
  2. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for py311-urllib31-1.26.20: BROTLI=off: Brotli compression support SOCKS=on: SOCKS proxy support SSL=off: SSL protocol support ===> Use 'make config' to modify these settings
Options name:
net_py-urllib31
USES:
cpe python
pkg-message:
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.
Master Sites:
Expand this list (3 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/u/urllib3/
  2. https://github.com/urllib3/urllib3/releases/download/1.26.20/
  3. https://pypi.org/packages/source/u/urllib3/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.26.20
02 Sep 2025 17:58:13
commit hash: b68611e8582f587ff6c40aeb6c7d53fed3317a66commit hash: b68611e8582f587ff6c40aeb6c7d53fed3317a66commit hash: b68611e8582f587ff6c40aeb6c7d53fed3317a66commit hash: b68611e8582f587ff6c40aeb6c7d53fed3317a66 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/py-urllib31: Add py-urllib31 1.26.20 (copied from py-urllib3)

- Add PORTSCOUT

Number of commits found: 1