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
Provenance
- Commit
265ef60- Tree
6b2a45e- Author
Jon Dufresne <jon.dufresne@gmail.com>- Committer
Ian Stapleton Cordasco <graffatcolmingov@gmail.com>- Parent
cafa3c1
5 files changed+12 added−13 removed
modified:docs/community/release-process.rst+8 added-9 removed
17 unmodified lines18 Breaking changes are changes that break backwards compatibility with prior19 versions. If the project were to change the ``text`` attribute on a20 ``Response`` object to a method, that would only happen in a Major release.21 22-Major releases may also include miscellaneous bug fixes and upgrades to23-vendored packages. The core developers of Requests are committed to providing24-a good user experience. This means we're also committed to preserving25-backwards compatibility as much as possible. Major releases will be infrequent26-and will need strong justifications before they are considered.22+Major releases may also include miscellaneous bug fixes. The core developers of23+Requests are committed to providing a good user experience. This means we're24+also committed to preserving backwards compatibility as much as possible. Major25+releases will be infrequent and will need strong justifications before they are26+considered.27 28 Minor Releases29 --------------30 31-A minor release will not include breaking changes but may include32-miscellaneous bug fixes and upgrades to vendored packages. If the previous33-version of Requests released was ``v10.2.7`` a minor release would be34-versioned as ``v10.3.0``.31+A minor release will not include breaking changes but may include miscellaneous32+bug fixes. If the previous version of Requests released was ``v10.2.7`` a minor33+release would be versioned as ``v10.3.0``.34 35 Minor releases will be backwards compatible with releases that have the same36 major version number. In other words, all versions that would start with37 ``v10.`` should be compatible with each other.18 unmodified linesmodified:docs/user/advanced.rst+1 added-1 removed
948 unmodified lines949 passed-through to `urllib3`. We'll make a Transport Adapter that instructs the950 library to use SSLv3::951 952 import ssl953+ from urllib3.poolmanager import PoolManager954 955 from requests.adapters import HTTPAdapter955- from requests.packages.urllib3.poolmanager import PoolManager956 957 958 class Ssl3HttpAdapter(HTTPAdapter):959 """"Transport adapter" that allows us to use SSLv3."""76 unmodified linesmodified:docs/user/quickstart.rst+1 added-1 removed
169 unmodified lines170 171 >>> r = requests.get('https://api.github.com/events', stream=True)172 173 >>> r.raw174- <requests.packages.urllib3.response.HTTPResponse object at 0x101194810>174+ <urllib3.response.HTTPResponse object at 0x101194810>175 176 >>> r.raw.read(10)177 '\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03'178 378 unmodified linesmodified:docs/api.rst+1 added-1 removed
179 unmodified lines180 HTTPConnection.debuglevel = 1181 182 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 = True187 188 requests.get('http://httpbin.org/headers')72 unmodified linesmodified:requests/help.py+1 added-1 removed
11 unmodified lines12 13 from . import __version__ as requests_version14 15 try:16- from .packages.urllib3.contrib import pyopenssl16+ from urllib3.contrib import pyopenssl17 except ImportError:18 pyopenssl = None19 OpenSSL = None20 cryptography = None100 unmodified lines