Port details on branch 2024Q3 |
- py-urllib3 HTTP library with thread-safe connection pooling, file post, and more
- 1.26.20,1 net =30 1.26.20,1Version of this port present on the latest quarterly branch.
- Maintainer: python@FreeBSD.org
- Port Added: 2012-01-14 19:26:39
- Last Update: 2024-09-08 18:40:17
- Commit Hash: 032e309
- People watching this port, also watch:: py311-idna, py311-six, py39-pycparser, py311-certifi, readline
- Also Listed In: python
- License: MIT
- WWW:
- 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.
- ¦ ¦ ¦ ¦
- 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.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net/py-urllib3/ && make install clean
- To add the package, run one of these commands:
- pkg install net/py-urllib3
- pkg install py311-urllib3
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-urllib3 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-urllib3
- Package flavors (<flavor>: <package>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-flaky>=3.6.1 : devel/py-flaky@py311
- py311-mock>=0 : devel/py-mock@py311
- py311-pysocks>=1.5.6 : net/py-pysocks@py311
- py311-pytest-timeout>=0 : devel/py-pytest-timeout@py311
- py311-python-dateutil>=2.8.1 : devel/py-python-dateutil@py311
- py311-tornado>=0 : www/py-tornado@py311
- py311-trustme>=0.6.0 : security/py-trustme@py311
- py311-cryptography>=42.0.8,1 : security/py-cryptography@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pysocks>=1.5.6<2.0 : net/py-pysocks@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- databases/py-python-arango
- devel/py-pybix
- finance/freqtrade
- finance/py-finviz
- misc/py-censys
- science/py-dwave-cloud-client
- sysutils/conan
-
Deleted ports which required this port:
- for Run
-
- audio/py-spotipy
- databases/py-carbon
- databases/py-dbt-core
- databases/py-python-arango
- devel/osc
- devel/py-PyGithub
- devel/py-botocore
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for py311-urllib3-1.26.20,1:
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-urllib3
- 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:
|