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

Scheduled weekly dependency update for week 33 #96

Closed
wants to merge 8 commits into from

Conversation

pyup-bot
Copy link
Collaborator

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

django 1.11.3 » 1.11.4 PyPI | Changelog | Homepage
factory-boy 2.8.1 » 2.9.2 PyPI | Changelog | Repo
pymongo 3.4.0 » 3.5.0 PyPI | Repo
pytest 3.1.3 » 3.2.1 PyPI | Changelog | Repo | Homepage
python-dotenv 0.6.4 » 0.6.5 PyPI | Changelog | Repo
requests 2.18.2 » 2.18.3 PyPI | Changelog | Homepage
rollbar 0.13.12 » 0.13.12 PyPI | Changelog | Repo
selenium 3.4.3 » 3.5.0 PyPI | Changelog | Repo

Changelogs

django 1.11.3 -> 1.11.4

1.11.4

===========================

August 1, 2017

Django 1.11.4 fixes several bugs in 1.11.3.

Bugfixes

  • Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values
    for date/time widgets results in an empty value in the widget's HTML
    (:ticket:28355).
  • Fixed QuerySet.union() and difference() when combining with
    a queryset raising EmptyResultSet (:ticket:28378).
  • Fixed a regression in pickling of LazyObject on Python 2 when the wrapped
    object doesn't have __reduce__() (:ticket:28389).
  • Fixed crash in runserver's autoreload with Python 2 on Windows with
    non-str environment variables (:ticket:28174).
  • Corrected Field.has_changed() to return False for disabled form
    fields: BooleanField, MultipleChoiceField, MultiValueField,
    FileField, ModelChoiceField, and ModelMultipleChoiceField.
  • Fixed QuerySet.count() for union(), difference(), and
    intersection() queries. (:ticket:28399).
  • Fixed ClearableFileInput rendering as a subwidget of MultiWidget
    (:ticket:28414). Custom clearable_file_input.html widget templates
    will need to adapt for the fact that context values
    checkbox_name, checkbox_id, is_initial, input_text,
    initial_text, and clear_checkbox_label are now attributes of
    widget rather than appearing in the top-level context.
  • Fixed queryset crash when using a GenericRelation to a proxy model
    (:ticket:28418).

===========================

factory-boy 2.8.1 -> 2.9.2

2.9.2


Bugfix:

  • Fix declaration corruption bug when a factory defined foo__bar__baz=1 and a caller
    provided a foo__bar=x parameter at call time: this got merged into the factory's base
    declarations.

2.9.1


Bugfix:

2.9.0


This version brings massive changes to the core engine, thus reducing the number of
corner cases and weird behaviourrs.

New:

  • :issue:275: factory.fuzzy and factory.faker now use the same random seed.
  • Add :class:factory.Maybe, which chooses among two possible declarations based
    on another field's value (powers the :class:~factory.Trait feature).
  • :class:~factory.PostGenerationMethodCall only allows to pass one positional argument; use keyword arguments for
    extra parameters.

Deprecation:

  • factory.fuzzy.get_random_state is deprecated, factory.random.get_random_state should be used instead.
  • factory.fuzzy.set_random_state is deprecated, factory.random.set_random_state should be used instead.
  • factory.fuzzy.reseed_random is deprecated, factory.random.reseed_random should be used instead.

pytest 3.1.3 -> 3.2.1

3.2.1

=========================

Bug Fixes

  • Fixed small terminal glitch when collecting a single test item. (2579 <https://github.com/pytest-dev/pytest/issues/2579>_)
  • Correctly consider / as the file separator to automatically mark plugin
    files for rewrite on Windows. (2591 <https://github.com/pytest- dev/pytest/issues/2591>_)
  • Properly escape test names when setting PYTEST_CURRENT_TEST environment
    variable. (2644 <https://github.com/pytest-dev/pytest/issues/2644>_)
  • Fix error on Windows and Python 3.6+ when sys.stdout has been replaced
    with a stream-like object which does not implement the full io module
    buffer protocol. In particular this affects pytest-xdist users on the
    aforementioned platform. (2666 <https://github.com/pytest- dev/pytest/issues/2666>_)

Improved Documentation

  • Explicitly document which pytest features work with unittest. (2626 <https://github.com/pytest-dev/pytest/issues/2626>_)

3.2.0

=========================

Deprecations and Removals

  • pytest.approx no longer supports >, >=, < and <=
    operators to avoid surprising/inconsistent behavior. See the docs <https://docs.pytest.org/en/latest/builtin.htmlpytest.approx>_ for more
    information. (2003 <https://github.com/pytest-dev/pytest/issues/2003>_)
  • All old-style specific behavior in current classes in the pytest's API is
    considered deprecated at this point and will be removed in a future release.
    This affects Python 2 users only and in rare situations. (2147 <https://github.com/pytest-dev/pytest/issues/2147>_)
  • A deprecation warning is now raised when using marks for parameters
    in pytest.mark.parametrize. Use pytest.param to apply marks to
    parameters instead. (2427 <https://github.com/pytest-dev/pytest/issues/2427>_)

Features

  • Add support for numpy arrays (and dicts) to approx. (1994 <https://github.com/pytest-dev/pytest/issues/1994>_)
  • Now test function objects have a pytestmark attribute containing a list
    of marks applied directly to the test function, as opposed to marks inherited
    from parent classes or modules. (2516 <https://github.com/pytest- dev/pytest/issues/2516>_)
  • Collection ignores local virtualenvs by default; --collect-in-virtualenv
    overrides this behavior. (2518 <https://github.com/pytest- dev/pytest/issues/2518>_)
  • Allow class methods decorated as staticmethod to be candidates for
    collection as a test function. (Only for Python 2.7 and above. Python 2.6
    will still ignore static methods.) (2528 <https://github.com/pytest- dev/pytest/issues/2528>_)
  • Introduce mark.with_args in order to allow passing functions/classes as
    sole argument to marks. (2540 <https://github.com/pytest- dev/pytest/issues/2540>_)
  • New cache_dir ini option: sets the directory where the contents of the
    cache plugin are stored. Directory may be relative or absolute path: if relative path, then
    directory is created relative to rootdir, otherwise it is used as is.
    Additionally path may contain environment variables which are expanded during
    runtime. (2543 <https://github.com/pytest-dev/pytest/issues/2543>_)
  • Introduce the PYTEST_CURRENT_TEST environment variable that is set with
    the nodeid and stage (setup, call and teardown) of the test
    being currently executed. See the documentation <https://docs.pytest.org/en/latest/example/simple.htmlpytest-current-test- environment-variable>_ for more info. (2583 <https://github.com/pytest- dev/pytest/issues/2583>_)
  • Introduced pytest.mark.filterwarnings mark which allows overwriting the
    warnings filter on a per test, class or module level. See the docs <https://docs.pytest.org/en/latest/warnings.htmlpytest-mark- filterwarnings>_ for more information. (2598 <https://github.com/pytest- dev/pytest/issues/2598>_)
  • --last-failed now remembers forever when a test has failed and only
    forgets it if it passes again. This makes it easy to fix a test suite by
    selectively running files and fixing tests incrementally. (2621 <https://github.com/pytest-dev/pytest/issues/2621>_)
  • New pytest_report_collectionfinish hook which allows plugins to add
    messages to the terminal reporting after collection has been finished
    successfully. (2622 <https://github.com/pytest-dev/pytest/issues/2622>_)
  • Added support for PEP-415's <https://www.python.org/dev/peps/pep-0415/>_
    Exception.__suppress_context__. Now if a raise exception from None is
    caught by pytest, pytest will no longer chain the context in the test report.
    The behavior now matches Python's traceback behavior. (2631 <https://github.com/pytest-dev/pytest/issues/2631>_)
  • Exceptions raised by pytest.fail, pytest.skip and pytest.xfail
    now subclass BaseException, making them harder to be caught unintentionally
    by normal code. (580 <https://github.com/pytest-dev/pytest/issues/580>_)

Bug Fixes

  • Set stdin to a closed PIPE in pytester.py.Testdir.popen() for
    avoid unwanted interactive pdb (2023 <https://github.com/pytest- dev/pytest/issues/2023>_)
  • Add missing encoding attribute to sys.std* streams when using
    capsys capture mode. (2375 <https://github.com/pytest- dev/pytest/issues/2375>_)
  • Fix terminal color changing to black on Windows if colorama is imported
    in a conftest.py file. (2510 <https://github.com/pytest- dev/pytest/issues/2510>_)
  • Fix line number when reporting summary of skipped tests. (2548 <https://github.com/pytest-dev/pytest/issues/2548>_)
  • capture: ensure that EncodedFile.name is a string. (2555 <https://github.com/pytest-dev/pytest/issues/2555>_)
  • The options --fixtures and --fixtures-per-test will now keep
    indentation within docstrings. (2574 <https://github.com/pytest- dev/pytest/issues/2574>_)
  • doctests line numbers are now reported correctly, fixing pytest-sugar122 <https://github.com/Frozenball/pytest-sugar/issues/122>. (2610 <https://github.com/pytest-dev/pytest/issues/2610>)
  • Fix non-determinism in order of fixture collection. Adds new dependency
    (ordereddict) for Python 2.6. (920 <https://github.com/pytest- dev/pytest/issues/920>_)

Improved Documentation

  • Clarify pytest_configure hook call order. (2539 <https://github.com/pytest-dev/pytest/issues/2539>_)
  • Extend documentation for testing plugin code with the pytester plugin.
    (971 <https://github.com/pytest-dev/pytest/issues/971>_)

Trivial/Internal Changes

  • Update help message for --strict to make it clear it only deals with
    unregistered markers, not warnings. (2444 <https://github.com/pytest- dev/pytest/issues/2444>_)
  • Internal code move: move code for pytest.approx/pytest.raises to own files in
    order to cut down the size of python.py (2489 <https://github.com/pytest- dev/pytest/issues/2489>_)
  • Renamed the utility function _pytest.compat._escape_strings to
    _ascii_escaped to better communicate the function's purpose. (2533 <https://github.com/pytest-dev/pytest/issues/2533>_)
  • Improve error message for CollectError with skip/skipif. (2546 <https://github.com/pytest-dev/pytest/issues/2546>_)
  • Emit warning about yield tests being deprecated only once per generator.
    (2562 <https://github.com/pytest-dev/pytest/issues/2562>_)
  • Ensure final collected line doesn't include artifacts of previous write.
    (2571 <https://github.com/pytest-dev/pytest/issues/2571>_)
  • Fixed all flake8 errors and warnings. (2581 <https://github.com/pytest- dev/pytest/issues/2581>_)
  • Added fix-lint tox environment to run automatic pep8 fixes on the code.
    (2582 <https://github.com/pytest-dev/pytest/issues/2582>_)
  • Turn warnings into errors in pytest's own test suite in order to catch
    regressions due to deprecations more promptly. (2588 <https://github.com/pytest-dev/pytest/issues/2588>_)
  • Show multiple issue links in CHANGELOG entries. (2620 <https://github.com/pytest-dev/pytest/issues/2620>_)

requests 2.18.2 -> 2.18.3

2.18.3

+++++++++++++++++++

Improvements

  • Running $ python -m requests.help now includes the installed version of idna.

Bugfixes

  • Fixed issue where Requests would raise ConnectionError instead of
    SSLError when encoutering SSL problems when using urllib3 v1.22.

rollbar -> 0.13.12

0.13.12

  • Remove the Django request body from the payload as it can contain sensitive data. See 174
  • Allow users to shorten arbitrary parts of the payload. See 173
  • Fix a Django deprecation warning. See 165

0.13.11

  • Handle environments where sys.argv does not exist. See 131

0.13.10

  • Gather request method from WebOb requests. See 152

0.13.9

  • Change _check_config() to deal with agent handler. See 147
  • Fix settings values not being booleans in Pyramid. See 150

0.13.8

  • Fix regression from 0.13.7. See 141

0.13.7

  • Update Django middleware to support Django 1.10+. See 138

0.13.6

  • Fixed a referenced before assignment in the failsafe. See 136

0.13.5

  • Fixed record message formatting issues breaking the log handler's history. See 135

0.13.4

  • Fixed failsafe handling for payloads that are too large. See 133

0.13.3

  • Improved handling of Enums. See 121

0.13.2

  • Improved handling of Nan and (Negative)Infinity. See 117
  • RollbarHandler now ignores log records from Rollbar. See 118

0.13.1

  • Failsafe handling for payloads that are too large. See 116
  • Failsafe Behavior
    • Log an error containing the original payload and the UUID from it
    • Send a new payload to Rollbar with the custom attribute containing the UUID and host from the original payload

0.13.0

  • Frame payload refactor and varargs scrubbing. See 113
  • Frame Payload Changes
    • remove args and kwargs
    • add argspec as the list of argument names to the function call
    • add varargspec as the name of the list containing the arbitrary unnamed positional arguments to the function call if any exist
    • add keywordspec as the name of the object containing the arbitrary keyword arguments to the function call if any exist
  • Other Changes:
    • Arguments with default values are no longer removed from args and placed into kwargs
    • varargs are now scrubbable and scrubbed by default
  • Switched to using a Session object to perform HTTPS requests to optimize for keepalive connections. See 114

0.12.1

  • Keep blank values from request query strings when scrubbing URLs. See 110

0.12.0

  • Fix and update Twisted support. See 109
  • Breaking Changes: treq is now required for using Twisted with pyrollbar.

0.11.6

  • Improve object handling for SQLAlchemy. See 108

0.11.5

  • Fixed a bug when custom __repr__() calls resulted in an exception being thrown. See 102

0.11.4

  • Revert changes from 0.11.3 since they ended-up having the unintended side effect by that exceptions messages weren't processing as expected.
  • Update settings in init first so that custom scrub_fields entries are handled correctly

0.11.3

  • Obey safe repr for exceptions. See 91

0.11.2

  • Fixed a bug when calling logging.exception() when not in an exception handler. Now it correctly determines it doesn't have any exception info and uses report_message() instead of report_exc_info().

0.11.1

  • Added a new configuration option to expose the serializer's whitelisted_types param
  • Allows users to whitelist types to be serialized using repr(obj) instead of str(type(obj))
  • Fixed a bug that was not taking the safe_repr option into account. See 87

0.11.0

  • Overhauled the scrubbing and serialization mechanisms to provide deep object scrubbing and better handling of UTF-8 data from local variables. See 75
  • This fixes a bunch of problems with reporting local variables, including UnicodeEncodeErrors and attempting to read variables after the thread they were in has died.
  • Local variables and payload data is now sent over in their original structure.
  • If a variable was a dict, it will be transmitted as a dict instead of turned into a string representation of the variable.
  • The entire payload is now scrubbed and URL password fields are scrubbed as well.
  • Added a Django example.
  • Wrote many, many more tests :)
  • Integrated the six library to provide cleaner support for Python3.
  • Added some additional scrub fields.

0.10.1

  • Added a warning message if init() is called more than once.

0.10.0

  • Added support for Twisted framework. See 69
  • Fix a bug that was causing max recursion errors while collecting local variables. See 77
  • Added a configuration option, safe_repr: True which will cause payload serialization to use the type name for non-built-in objects.
    This option defaults to True which may cause data reported to Rollbar to contain less information for custom types.
    Prior to this change, serialization of custom objects called __repr__() which may have had undesired side effects.
  • Fixed a bug that did not correctly handle anonymous tuple arguments while gathering local variables.

0.9.14

  • Fix logging loop when using Flask in a non-request context, and also using the Rollbar logging handler. See 68

0.9.13

  • If present, get request from log record. Otherwise try to guess current request as usual.

0.9.12

  • Fix a bug that was causing a crash while reporting an error that happened in a Werkzeug request that had no request.json. See 64

0.9.11

  • Implement workarounds for NaN and Infinity "numbers" in payloads. See 62

0.9.10

  • Fix request data collection in Flask 0.9. See 61

0.9.9

  • Add exception handler for RQ (requires some instrumentation). See 57
  • Scrub fields inside extra_data
  • Gather the process PID and report it along with the other 'server' data

0.9.8

  • Support bare WSGI requests (55)

0.9.7

  • Add support for Google App Engine (53)

0.9.6

  • Fix memory leak when using the RollbarHandler logging handler (see 43)
  • Fix bug where named function arguments were not scrubbed correctly

0.9.5

  • Fix bug with local variable gathering that was breaking when getting the arguments for a class constructor.

0.9.4

  • Request headers are now scrubbed, pr41.

0.9.3

  • exception_level_filters can now take a string that defines the class to filter, 38.

0.9.2

  • Added an option to disable SSL certificate verification, 36.
  • Added __version__ specifier to __init__.py.

0.9.1

New features:

  • For Tornado requests, gather the request start time. See 33
  • Add handler which uses Tornado's AsyncHTTPClient. To use this, set your 'handler' to 'tornado'. See 34

0.9.0

  • Improvements to RollbarHandler logging handler. It now:
  • extracts more information out of each record (i.e. metadata like pathname and creation time)
  • uses the format string, with arguments not yet replaced, as the main message body. This will result in much better grouping in Rollbar.

Note about upgrading from 0.8.x: unless you are using RollbarHandler, there are no breaking changes. If you are using RolbarHandler, then this will change the way your data appears in Rollbar (to the better, in our opinion).

0.8.3

  • Provide a way to blacklist types from being repr()'d while gathering local variables.

0.8.2

  • Fix uncaught ImproperlyConfigured exception when importing Rollbar in a Django REST Framework environment without a settings module loaded (28)

0.8.1

  • Only attempt local variable extraction if traceback frames are of the correct type, print a warning otherwise
  • Fix JSON request param extraction for Werkzeug requests (Pyramid, Flask, etc)

0.8.0

  • Local variables collection now enabled by default.
  • Fixed scrubbing for utf8 param names.

0.7.6

  • Added local variables for all in-project frames and the last frame.

0.7.5

  • Initial support for sending args and kwargs for traceback frames.
  • Optimization to send the access token in a header.

0.7.4

  • Level kwarg added to rollbar.report_exc_info() (22)

0.7.3

  • Added in an optional endpoint parameter to search_items().

0.7.2

  • Fix for scrubbing werkzeug json bodies (20)

0.7.1

  • Support scrubbing for werkzeug json bodies (19)

0.7.0

  • Python 3 support
  • Now support extracting data from Django REST framework requests
  • New enabled configuration setting

0.6.2

  • Fixed json request data formatting for reports in Bottle requests
  • Now send json request data for Django and Pyramid apps
  • Set framework and request context properly for all reports in Flask and Bottle apps

0.6.1

  • Added Django, Pyramid, Flask and Bottle support for default contexts.

0.6.0

  • report_message() now returns the UUID of the reported occurrence.

0.5.14

  • Fix bug with non-JSON post data in Flask
  • Add slightly better integration with Flask. See rollbar-flask-example for example usage.

0.5.13

  • Collect JSON post data in Flask when mimetype is application/json

0.5.12

  • Add sys.argv to server data

0.5.11

  • Don't report bottle.BaseResponse exceptions in the bottle plugin

0.5.10

  • Added code_version configuration setting
  • Added support for bottle request objects

0.5.9

  • Added a command line interface for reporting messages to Rollbar

0.5.8

  • Added allow_logging_basic_config config flag for compatability with Flask. If using Flask, set to False.

0.5.7

  • Added exception_level_filters configuration setting to customize the level that specific exceptions are reported as.

0.5.6

  • First argument to rollbar.report_exc_info() is now optional. You can now call it with no arguments from within an except block, and it will behave is if you had called like rollbar.report_exc_info(sys.exc_info())

0.5.5

  • Support for ignoring exceptions by setting exc._rollbar_ignore = True. Such exceptions reported through rollbar.report_exc_info() -- which is used under the hood in the Django and Pyramid middlewares -- will be ignored instead of reported.

0.5.4

  • Django: catch exceptions when patching the debugview, for better support for django 1.3.

0.5.3

  • Fixed bug when reporting messages without a request object

0.5.2

  • Fixed bug where django debug page can get patched twice

0.5.1

  • Catching possible malformed API responses

0.5.0

  • Rename to rollbar

0.4.1

  • report_exc_info() now takes two additional named args: extra_data and payload_data, like report_message().
  • on 429 response (over rate limit), log a warning but don't parse and print an exception.

0.3.2

  • Added new default scrub fields

0.3.1

  • Fixed pypi package

0.3.0

  • Merge django-ratchet and pyramid_ratchet into pyratchet
  • Add ability to write to a ratchet-agent log file

0.2.0

  • Add "person" support

0.1.14

  • Added payload_data arg to report_message()

0.1.13

  • Added extra_data arg to report_message()

0.1.12

  • Use custom JSON encoder to skip objects that can't be encoded.
  • Bump default timeout from 1 to 3 seconds.

0.1.11

  • Sensitive params now scrubbed out of POST. Param name list is customizable via the scrub_fields config option.

0.1.10

  • Add support for Tornado request objects (tornado.httpserver.HTTPRequest)

0.1.9

  • Fix support for Pyramid request objects

0.1.8

  • Add support for Django request objects

selenium 3.4.3 -> 3.5.0

3.5.0

  • Numerous test fixes
    *Iterate over capabilities in a way to support py2.7 and py3
  • Fix W3C switching to window by name.
  • Support GeckoDriver addon install/uninstall commands 4215.
  • Move firefox_profile into moz:firefoxOptions.
  • Filter non-W3C capability names out of alwaysMatch.
  • Honor cmd line args passed to Service ctor (4167)
  • Add expected conditions based on URL to Python Expected Conditions 4160
  • Add network emulation to Chrome Python bindings (4011)
  • add warning when saving incorrectly named screenshot (4141)

That's it for now!

Happy merging! 🤖

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #97

@pyup-bot pyup-bot closed this Aug 21, 2017
@puruckertom puruckertom deleted the pyup-scheduled-update-08-14-2017 branch August 21, 2017 14:23
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.

1 participant