Skip to content
Myr

Remove remaining references to removed, vendored packages (#4499)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

As the vendored packages were removing in version 2.16, all remaining doc references should be replaced with newer practices.

authored by Jon Dufresne · committed by Ian Stapleton Cordasco · parent cafa3c1 · Browse files · 5 files+12 added−13 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+12 added−13 removed

  • other:+12 added−13 removed

5 files+12 added−13 removed

modified:docs/community/release-process.rst+8 added-9 removed
17 unmodified lines
18Breaking changes are changes that break backwards compatibility with prior19versions. If the project were to change the ``text`` attribute on a20``Response`` object to a method, that would only happen in a Major release.2122Major releases may also include miscellaneous bug fixes and upgrades to23vendored packages. The core developers of Requests are committed to providing24a good user experience. This means we're also committed to preserving25backwards compatibility as much as possible. Major releases will be infrequent26and will need strong justifications before they are considered.22Major releases may also include miscellaneous bug fixes. The core developers of23Requests are committed to providing a good user experience. This means we're24also committed to preserving backwards compatibility as much as possible. Major25releases will be infrequent and will need strong justifications before they are26considered.2728Minor Releases29--------------3031A minor release will not include breaking changes but may include32miscellaneous bug fixes and upgrades to vendored packages. If the previous33version of Requests released was ``v10.2.7`` a minor release would be34versioned as ``v10.3.0``.31A minor release will not include breaking changes but may include miscellaneous32bug fixes. If the previous version of Requests released was ``v10.2.7`` a minor33release would be versioned as ``v10.3.0``.3435Minor releases will be backwards compatible with releases that have the same36major version number. In other words, all versions that would start with37``v10.`` should be compatible with each other.
18 unmodified lines
modified:docs/user/advanced.rst+1 added-1 removed
948 unmodified lines
949passed-through to `urllib3`. We'll make a Transport Adapter that instructs the950library to use SSLv3::951952 import ssl953 from urllib3.poolmanager import PoolManager954955 from requests.adapters import HTTPAdapter955 from requests.packages.urllib3.poolmanager import PoolManager956957958 class Ssl3HttpAdapter(HTTPAdapter):959 """"Transport adapter" that allows us to use SSLv3."""
76 unmodified lines
modified:docs/user/quickstart.rst+1 added-1 removed
169 unmodified lines
170171 >>> r = requests.get('https://api.github.com/events', stream=True)172173 >>> r.raw174 <requests.packages.urllib3.response.HTTPResponse object at 0x101194810>174 <urllib3.response.HTTPResponse object at 0x101194810>175176 >>> r.raw.read(10)177 '\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03'178
378 unmodified lines
modified:docs/api.rst+1 added-1 removed
179 unmodified lines
180 HTTPConnection.debuglevel = 1181182 logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from requests183 logging.getLogger().setLevel(logging.DEBUG)184 requests_log = logging.getLogger("requests.packages.urllib3")184 requests_log = logging.getLogger("urllib3")185 requests_log.setLevel(logging.DEBUG)186 requests_log.propagate = True187188 requests.get('http://httpbin.org/headers')
72 unmodified lines
modified:requests/help.py+1 added-1 removed
11 unmodified lines
1213from . import __version__ as requests_version1415try:16 from .packages.urllib3.contrib import pyopenssl16 from urllib3.contrib import pyopenssl17except ImportError:18 pyopenssl = None19 OpenSSL = None20 cryptography = None
100 unmodified lines