Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update httpretty to 1.1.4 #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates httpretty from 0.8.10 to 1.1.4.

Changelog

1.1.4

-------------

- Bugfix: `435 <https://github.com/gabrielfalcao/HTTPretty/issues/435>`_ Fallback to WARNING when logging.getLogger().level is None.

1.1.3

-------------

- Bugfix: `430 <https://github.com/gabrielfalcao/HTTPretty/issues/430>`_ Respect socket timeout.

1.1.2

-------------

- Bugfix: `426 <https://github.com/gabrielfalcao/HTTPretty/issues/426>`_ Segmentation fault when running against a large amount of tests with ``pytest --mypy``.

1.1.1

-------------

- Bugfix: `httpretty.disable()` injects pyopenssl into :py:mod:`urllib3` even if it originally wasn't `417 <https://github.com/gabrielfalcao/HTTPretty/issues/417>`_
- Bugfix: "Incompatibility with boto3 S3 put_object" `416 <https://github.com/gabrielfalcao/HTTPretty/issues/416>`_
- Bugfix: "Regular expression for URL -> TypeError: wrap_socket() missing 1 required" `413 <https://github.com/gabrielfalcao/HTTPretty/issues/413>`_
- Bugfix: "Making requests to non-stadard port throws TimeoutError "`387 <https://github.com/gabrielfalcao/HTTPretty/issues/387>`_

1.1.0

-------------

- Feature: Display mismatched URL within ``UnmockedError`` whenever possible. `388 <https://github.com/gabrielfalcao/HTTPretty/issues/388>`_
- Feature: Display mismatched URL via logging. `419 <https://github.com/gabrielfalcao/HTTPretty/pull/419>`_
- Add new properties to :py:class:`httpretty.core.HTTPrettyRequest` (``protocol, host, url, path, method``).

Example usage:

.. testcode::

import httpretty
import requests

httpretty.activate(verbose=True, allow_net_connect=False)
def test_mismatches():
    requests.get('http://sql-server.local')
    requests.get('https://redis.local')

1.0.5

-------------

- Bugfix: Support `socket.socketpair() <https://docs.python.org/3/library/socket.html#socket.socketpair>`_ . `402 <https://github.com/gabrielfalcao/HTTPretty/issues/402>`_
- Bugfix: Prevent exceptions from re-applying monkey patches. `406 <https://github.com/gabrielfalcao/HTTPretty/issues/406>`_

1.0.4

-------------

- Python 3.8 and 3.9 support. `407 <https://github.com/gabrielfalcao/HTTPretty/issues/407>`_

1.0.3

-------------

- Fix compatibility with urllib3>=1.26. `410 <https://github.com/gabrielfalcao/HTTPretty/pull/410>`_

1.0.0

-------------

- Drop Python 2 support.
- Fix usage with redis and improve overall real-socket passthrough. `271 <https://github.com/gabrielfalcao/HTTPretty/issues/271>`_.
- Fix TypeError: wrap_socket() missing 1 required positional argument: 'sock' (`393 <https://github.com/gabrielfalcao/HTTPretty/pull/393>`_)
- Merge pull request `364 <https://github.com/gabrielfalcao/HTTPretty/pull/364>`_
- Merge pull request `371 <https://github.com/gabrielfalcao/HTTPretty/pull/371>`_
- Merge pull request `379 <https://github.com/gabrielfalcao/HTTPretty/pull/379>`_
- Merge pull request `386 <https://github.com/gabrielfalcao/HTTPretty/pull/386>`_
- Merge pull request `302 <https://github.com/gabrielfalcao/HTTPretty/pull/302>`_
- Merge pull request `373 <https://github.com/gabrielfalcao/HTTPretty/pull/373>`_
- Merge pull request `383 <https://github.com/gabrielfalcao/HTTPretty/pull/383>`_
- Merge pull request `385 <https://github.com/gabrielfalcao/HTTPretty/pull/385>`_
- Merge pull request `389 <https://github.com/gabrielfalcao/HTTPretty/pull/389>`_
- Merge pull request `391 <https://github.com/gabrielfalcao/HTTPretty/pull/391>`_
- Fix simple typo: neighter -> neither.
- Updated documentation for register_uri concerning using ports.
- Clarify relation between ``enabled`` and ``httprettized`` in API docs.
- Align signature with builtin socket.

0.9.4

-------------

Improvements:

- Official Python 3.6 support
- Normalized coding style to comform with PEP8 (partially)
- Add more API reference coverage in docstrings of members such as :py:class:`httpretty.core.Entry`
- Continuous Integration building python 2.7 and 3.6
- Migrate from `pip <https://pypi.org/project/pip/>`_ to `pipenv <https://docs.pipenv.org/>`_
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant