project-koku / korekuta

Read Only Please See: https://github.com/project-koku/korekuta-operator
https://github.com/project-koku/korekuta-operator
GNU Affero General Public License v3.0
6 stars 1 forks source link

Scheduled weekly dependency update for week 17 #158

Closed pyup-bot closed 4 years ago

pyup-bot commented 4 years ago

Update cryptography from 2.9 to 2.9.2.

Changelog ### 2.9.1 ``` ~~~~~~~~~~~~~~~~~~ * Updated Windows, macOS, and ``manylinux`` wheels to be compiled with OpenSSL 1.1.1g. .. _v2-9: ```
Links - PyPI: https://pypi.org/project/cryptography - Changelog: https://pyup.io/changelogs/cryptography/ - Repo: https://github.com/pyca/cryptography

Update google-auth from 1.14.0 to 1.14.1.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/google-auth - Changelog: https://pyup.io/changelogs/google-auth/ - Repo: https://github.com/googleapis/google-auth-library-python

Update astroid from 2.3.3 to 2.4.0.

Changelog ### 2.4.0 ``` ============================ Release Date: 2020-04-27 * Expose a ast_from_string method in AstroidManager, which will accept source code as a string and return the corresponding astroid object Closes PyCQA/astroid725 * ``BoundMethod.implicit_parameters`` returns a proper value for ``__new__`` Close PyCQA/pylint2335 * Allow slots added dynamically to a class to still be inferred Close PyCQA/pylint2334 * Allow `FunctionDef.getattr` to look into both instance attrs and special attributes Close PyCQA/pylint1078 * Infer qualified ``classmethod`` as a classmethod. Close PyCQA/pylint3417 * Prevent a recursion error to happen when inferring the declared metaclass of a class Close 749 * Raise ``AttributeInferenceError`` when ``getattr()`` receives an empty name Close PyCQA/pylint2991 * Prevent a recursion error for self reference variables and `type()` calls. Close 199 * Do not infer the first argument of a staticmethod in a metaclass as the class itself Close PyCQA/pylint3032 * ``NodeNG.bool_value()`` gained an optional ``context`` parameter We need to pass an inference context downstream when inferring the boolean value of a node in order to prevent recursion errors and double inference. This fix prevents a recursion error with dask library. Close PyCQA/pylint2985 * Pass a context argument to ``astroid.Arguments`` to prevent recursion errors Close PyCQA/pylint3414 * Better inference of class and static methods decorated with custom methods Close PyCQA/pylint3209 * Reverse the order of decorators for `infer_subscript` `path_wrapper` needs to come first, followed by `raise_if_nothing_inferred`, otherwise we won't handle `StopIteration` correctly. Close 762 * Prevent a recursion error when inferring self-referential variables without definition Close PyCQA/pylint1285 * Numpy `datetime64.astype` return value is inferred as a `ndarray`. Close PyCQA/pylint3332 * Skip non ``Assign`` and ``AnnAssign`` nodes from enum reinterpretation Closes PyCQA/pylint3365 * Numpy ``ndarray`` attributes ``imag`` and ``real`` are now inferred as ``ndarray``. Close PyCQA/pylint3322 * Added a call to ``register_transform`` for all functions of the ``brain_numpy_core_multiarray`` module in case the current node is an instance of ``astroid.Name`` Close 666 * Use the parent of the node when inferring aug assign nodes instead of the statement Close PyCQA/pylint2911 Close PyCQA/pylint3214 * Added some functions to the ``brain_numpy_core_umath`` module Close PyCQA/pylint3319 * Added some functions of the ``numpy.core.multiarray`` module Close PyCQA/pylint3208 * All the ``numpy ufunc`` functions derived now from a common class that implements the specific ``reduce``, ``accumulate``, ``reduceat``, ``outer`` and ``at`` methods. Close PyCQA/pylint2885 * ``nodes.Const.itered`` returns a list of ``Const`` nodes, not strings Close PyCQA/pylint3306 * The ``shape`` attribute of a ``numpy ndarray`` is now a ``ndarray`` Close PyCQA/pylint3139 * Don't ignore special methods when inspecting gi classes Close 728 * Added transform for ``scipy.gaussian`` * Add suport for inferring properties. * Added a brain for ``responses`` * Allow inferring positional only arguments. * Retry parsing a module that has invalid type comments It is possible for a module to use comments that might be interpreted as type comments by the `ast` library. We do not want to completely crash on those invalid type comments. Close 708 * Scope the inference to the current bound node when inferring instances of classes When inferring instances of classes from arguments, such as ``self`` in a bound method, we could use as a hint the context's ``boundnode``, which indicates the instance from which the inference originated. As an example, a subclass that uses a parent's method which returns ``self``, will override the ``self`` to point to it instead of pointing to the parent class. Close PyCQA/pylint3157 * Add support for inferring exception instances in all contexts We were able to infer exception instances as ``ExceptionInstance`` only for a handful of cases, but not all. ``ExceptionInstance`` has support for better inference of `.args` and other exception related attributes that normal instances do not have. This additional support should remove certain false positives related to ``.args`` and other exception attributes in ``pylint``. Close PyCQA/pylint2333 * Add more supported parameters to ``subprocess.check_output`` Close 722 * Infer args unpacking of ``self`` Certain stdlib modules use ``*args`` to encapsulate the ``self`` parameter, which results in uninferable instances given we rely on the presence of the ``self`` argument to figure out the instance where we should be setting attributes. Close PyCQA/pylint3216 * Clean up setup.py Make pytest-runner a requirement only if running tests, similar to what was done with McCabe. Clean up the setup.py file, resolving a handful of minor warnings with it. * Handle StopIteration error in infer_int. Close PyCQA/pylint3274 * Can access per argument type comments for positional only and keyword only arguments. The comments are accessed through through the new ``Arguments.type_comment_posonlyargs`` and ``Arguments.type_comment_kwonlyargs`` attributes respectively. * Relax upper bound on `wrapt` Close 755 * Properly analyze CFFI compiled extensions. ```
Links - PyPI: https://pypi.org/project/astroid - Changelog: https://pyup.io/changelogs/astroid/ - Repo: https://github.com/PyCQA/astroid

Update cookiecutter from 1.7.0 to 1.7.2.

Changelog ### 1.7.2 ``` * Fixed: Jinja2&Six version limits causing build errors with ansible project [insspb](https://github.com/insspb) (1385) ``` ### 1.7.1 ``` This release was focused on internal code and CI/CD changes. During this release all code was verified to match pep8, pep257 and other code-styling guides. Project CI/CD was significantly changed, Windows platform checks based on Appveyor engine was replaced by GitHub actions tests. Appveyor was removed. Also our CI/CD was extended with Mac builds, to verify project builds on Apple devices. Important Changes: * Added: Added debug messages for get_user_config [ssbarnea](https://github.com/ssbarnea) (1357) * Multiple templates per one repository feature added. [RomHartmann](https://github.com/RomHartmann) (1224, 1063) * Update replay.py json.dump indent for easy viewing [nicain](https://github.com/nicain) (1293) * 'future' library replaced with 'six' as a more lightweight python porting library [asottile](https://github.com/asottile) (941) * Added extension: Slugify template filter [ppanero](https://github.com/ppanero) (1336) * Added command line option: `--skip-if-file-exists`, allow to skip the existing files when doing `overwrite_if_exists`. [chhsiao1981](https://github.com/chhsiao1981) (1076) * Some packages versions limited to be compatible with python2.7 and python 3.5 [insspb](https://github.com/insspb) (1349) Internal CI/CD and tests changes: * Coverage comment in future merge requests disabled [ssbarnea](https://github.com/ssbarnea) (1279) * Fixed Python 3.8 travis tests and setup.py message [insspb](https://github.com/insspb) (1295, 1297) * Travis builds extended with Windows setup for all supported python versions [insspb](https://github.com/insspb) (1300, 1301) * Update .travis.yml to be compatible with latest travis cfg specs [luzfcb](https://github.com/luzfcb) (1346) * Added new test to improve tests coverage [amey589](https://github.com/amey589) (1023) * Added missed coverage lines highlight to pytest-coverage report [insspb](https://github.com/insspb) (1352) * pytest-catchlog package removed from test_requirements, as now it is included in pytest [insspb](https://github.com/insspb) (1347) * Fixed `cov-report` tox invocation environment [insspb](https://github.com/insspb) (1350) * Added: Release drafter support and configuration to exclude changelog update work and focus on development [ssbarnea](https://github.com/ssbarnea) [insspb](https://github.com/insspb) (1356, 1362) * Added: CI/CD steps for Github actions to speedup CI/CD [insspb](https://github.com/insspb) (1360) * Removed: Appveyor CI/CD completely removed [insspb](https://github.com/insspb) [ssbarnea](https://github.com/ssbarnea) [insspb](https://github.com/insspb) (1363, 1367) Code style and docs changes: * Added black formatting verification on lint stage + project files reformatting [ssbarnea](https://github.com/ssbarnea) [insspb](https://github.com/insspb) (1368) * Added pep257 docstring for tests/* files [insspb](https://github.com/insspb) (1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1380, 1381) * Added pep257 docstring for tests/conftests.py [kishan](https://github.com/kishan3) (1272, 1263) * Added pep257 docstring for tests/replay/conftest.py [kishan](https://github.com/kishan3) (1270, 1268) * Added pep257 docstring for docs/__init__.py [kishan](https://github.com/kishan3) (1273, 1265) * Added missing docstring headers to all files [croesnick](https://github.com/croesnick) (1269, 1283) * Gitter links replaced by Slack in README [browniebroke](https://github.com/browniebroke) (1282) * flake8-docstrings tests added to CI/CD [ssbarnea](https://github.com/ssbarnea) (1284) * Activated pydocstyle rule: D401 - First line should be in imperative mood [ssbarnea](https://github.com/ssbarnea) (1285) * Activated pydocstyle rule: D200 - One-line docstring should fit on one line with quotes [ssbarnea](https://github.com/ssbarnea) (1288) * Activated pydocstyle rule: D202 - No blank lines allowed after function docstring [ssbarnea](https://github.com/ssbarnea) (1288) * Activated pydocstyle rule: D205 - 1 blank line required between summary line and description [ssbarnea](https://github.com/ssbarnea) (1286, 1287) * Activated pydocstyle rule: ABS101 [ssbarnea](https://github.com/ssbarnea) (1288) * Replaced click documentation links to point to version 7 [igorbasko01](https://github.com/igorbasko01) (1303) * Updated submodule link to latest version with documentation links fix [DanBoothDev](https://github.com/DanBoothDev) (1388) * Fixed links in main README file. [insspb](https://github.com/insspb) (1342) * Fix indentation of .cookiecutterrc in README.md [mhsekhavat](https://github.com/mhsekhavat) (1322) * Changed format of loggers invocation [insspb](https://github.com/insspb) (1307) ```
Links - PyPI: https://pypi.org/project/cookiecutter - Changelog: https://pyup.io/changelogs/cookiecutter/ - Repo: https://github.com/cookiecutter/cookiecutter

Update importlib-resources from 1.4.0 to 1.5.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/importlib-resources - Docs: http://importlib-resources.readthedocs.io/

Update pyflakes from 2.1.1 to 2.2.0.

Changelog ### 2.2.0 ``` - Include column information in error messages - Fix ``overload`` detection with other decorators and in non-global scopes - Fix return-type annotation being a class member - Fix assignment to ``_`` in doctests with existing ``_`` name - Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to avoid conflicts with other libraries (notably bandit) - Add check for f-strings without placeholders - Add check for unused/extra/invalid ``'string literal'.format(...)`` - Add check for unused/extra/invalid ``'string literal % ...`` - Improve python shebang detection - Allow type ignore to be followed by a code `` type: ignore[attr-defined]`` - Add support for assignment expressions (PEP 572) - Support ``overload`` detection from ``typing_extensions`` as well - Fix ``overload`` detection for async functions - Allow ``continue`` inside ``finally`` in python 3.8+ - Fix handling of annotations in positional-only arguments - Make pyflakes more resistant to future syntax additions - Fix false positives in partially quoted type annotations - Warn about ``is`` comparison to tuples - Fix ``Checker`` usage with async function subtrees - Add check for ``if`` of non-empty tuple - Switch from ``optparse`` to ``argparse`` - Fix false positives in partially quoted type annotations in unusual contexts - Be more cautious when identifying ``Literal`` type expressions ```
Links - PyPI: https://pypi.org/project/pyflakes - Changelog: https://pyup.io/changelogs/pyflakes/ - Repo: https://github.com/PyCQA/pyflakes

Update pylint from 2.4.4 to 2.5.0.

Changelog ### 2.5.0 ``` =========================== Release date: 2020-04-27 * Fix a false negative for ``undefined-variable`` when using class attribute in comprehension. Close 3494 * Fix a false positive for ``undefined-variable`` when using class attribute in decorator or as type hint. Close 511 Close 1976 * Remove HTML quoting of messages in JSON output. Close 2769 * Adjust the `invalid-name` rule to work with non-ASCII identifiers and add the `non-ascii-name` rule. Close 2725 * Positional-only arguments are taken in account for ``useless-super-delegation`` * ``unidiomatic-typecheck`` is no longer emitted for ``in`` and ``not in`` operators Close 3337 * Positional-only argument annotations are taken in account for ``unused-import`` Close 3462 * Add a command to list available extensions. * Allow used variables to be properly consumed when different checks are enabled / disabled Close 3445 * Fix dangerous-default-value rule to account for keyword argument defaults Close 3373 * Fix a false positive of ``self-assigning-variable`` on tuple unpacking. Close 3433 * ``no-self-use`` is no longer emitted for typing stubs. Close 3439 * Fix a false positive for ``undefined-variable`` when ``__class__`` is used Close 3090 * Emit ``invalid-name`` for variables defined in loops at module level. Close 2695 * Add a check for cases where the second argument to `isinstance` is not a type. Close 3308 * Add 'notes-rgx' option, to be used for fixme check. Close 2874 * ``function-redefined`` exempts function redefined on a condition. Close 2410 * ``typing.overload`` functions are exempted from docstring checks Close 3350 * Emit ``invalid-overridden-method`` for improper async def overrides. Close 3355 * Do not allow ``python -m pylint ...`` to import user code ``python -m pylint ...`` adds the current working directory as the first element of ``sys.path``. This opens up a potential security hole where ``pylint`` will import user level code as long as that code resides in modules having the same name as stdlib or pylint's own modules. Close 3386 * Add `dummy-variables-rgx` option for `_redeclared-assigned-name` check. Close 3341 * Fixed graph creation for relative paths * Add a check for asserts on string literals. Close 3284 * `not in` is considered iterating context for some of the Python 3 porting checkers. * A new check `inconsistent-quotes` was added. * Add a check for non string assignment to __name__ attribute. Close 583 * `__pow__`, `__imatmul__`, `__trunc__`, `__floor__`, and `__ceil__` are recognized as special method names. Close 3281 * Added errors for protocol functions when invalid return types are detected. E0304 (invalid-bool-returned): __bool__ did not return a bool E0305 (invalid-index-returned): __index__ did not return an integer E0306 (invalid-repr-returned): __repr__ did not return a string E0307 (invalid-str-returned): __str__ did not return a string E0308 (invalid-bytes-returned): __bytes__ did not return a string E0309 (invalid-hash-returned): __hash__ did not return an integer E0310 (invalid-length-hint-returned): __length_hint__ did not return a non-negative integer E0311 (invalid-format-returned): __format__ did not return a string E0312 (invalid-getnewargs-returned): __getnewargs__ did not return a tuple E0313 (invalid-getnewargs-ex-returned): __getnewargs_ex__ did not return a tuple of the form (tuple, dict) Close 560 * ``missing-*-docstring`` can look for ``__doc__`` assignments. Close 3301 * ``undefined-variable`` can now find undefined loop iterables Close 498 * ``safe_infer`` can infer a value as long as all the paths share the same type. Close 2503 * Add a --fail-under <score> flag, also configurable in a .pylintrc file. If the final score is more than the specified score, it's considered a success and pylint exits with exitcode 0. Otherwise, it's considered a failure and pylint exits with its current exitcode based on the messages issued. Close 2242 * Don't emit ``line-too-long`` for multilines when `disable=line-too-long` comment stands at their end Close 2957 * Fixed an ``AttributeError`` caused by improper handling of ``dataclasses`` inference in ``pyreverse`` Close 3256 * Do not exempt bare except from ``undefined-variable`` and similar checks If a node was wrapped in a ``TryExcept``, ``pylint`` was taking a hint from the except handler when deciding to emit or not a message. We were treating bare except as a fully fledged ignore but only the corresponding exceptions should be handled that way (e.g. ``NameError`` or ``ImportError``) Close 3235 * No longer emit ``assignment-from-no-return`` when a function only raises an exception Close 3218 * Allow import aliases to exempt ``import-error`` when used in type annotations. Close 3178 * ``Ellipsis` is exempted from ``multiple-statements`` for function overloads. Close 3224 * No longer emit ``invalid-name`` for non-constants found at module level. Pylint was taking the following statement from PEP-8 too far, considering all module level variables as constants, which is not what the statement is saying: `Constants are usually defined on a module level and written in all capital letters with underscores separating words.` Close 3111 Close 3132 * Allow ``implicit-str-concat-in-sequence`` to be emitted for string juxtaposition Close 3030 * ``implicit-str-concat-in-sequence`` was renamed ``implicit-str-concat`` * The ``json`` reporter no longer bypasses ``redirect_stdout``. Close 3227 * Move ``NoFileError``, ``OutputLine``, ``FunctionalTestReporter``, ``FunctionalTestFile``, ``LintModuleTest`` and related methods from ``test_functional.py`` to ``pylint.testutils`` to help testing for 3rd party pylint plugins. * Can read config from a setup.cfg or pyproject.toml file. Close 617 * Fix exception-escape false positive with generators Close 3128 * ``inspect.getargvalues`` is no longer marked as deprecated. * A new check ``f-string-without-interpolation`` was added Close 3190 * Flag mutable ``collections.*`` utilities as dangerous defaults Close 3183 * ``docparams`` extension supports multiple types in raises sections. Multiple types can also be separated by commas in all valid sections. Closes 2729 * Allow parallel linting when run under Prospector * Fixed false positives of ``method-hidden`` when a subclass defines the method that is being hidden. Closes 414 * Python 3 porting mode is 30-50% faster on most codebases * Python 3 porting mode no longer swallows syntax errors Closes 2956 * Pass the actual PyLinter object to sub processes to allow using custom PyLinter classes. PyLinter object (and all its members except reporter) needs to support pickling so the PyLinter object can be passed to worker processes. * Clean up setup.py Make pytest-runner a requirement only if running tests, similar to McCabe. Clean up the setup.py file, resolving a number of warnings around it. * Handle SyntaxError in files passed via ``--from-stdin`` option Pylint no longer outputs a traceback, if a file, read from stdin, contains a syntaxerror. * Fix uppercase style to disallow 3+ uppercase followed by lowercase. * Fixed ``undefined-variable`` and ``unused-import`` false positives when using a metaclass via an attribute. Close 1603 * Emit ``unused-argument`` for functions that partially uses their argument list before raising an exception. Close 3246 * Fixed ``broad_try_clause`` extension to check try/finally statements and to check for nested statements (e.g., inside of an ``if`` statement). * Recognize classes explicitly inheriting from ``abc.ABC`` or having an ``abc.ABCMeta`` metaclass as abstract. This makes them not trigger W0223. Closes 3098 * Fix overzealous `arguments-differ` when overridden function uses variadics No message is emitted if the overriding function provides positional or keyword variadics in its signature that can feasibly accept and pass on all parameters given by the overridden function. Close 1482 Close 1553 * Multiple types of string formatting are allowed in logging functions. The `logging-fstring-interpolation` message has been brought back to allow multiple types of string formatting to be used. Close 3361 ```
Links - PyPI: https://pypi.org/project/pylint - Changelog: https://pyup.io/changelogs/pylint/ - Repo: https://github.com/PyCQA/pylint

Update sh from 1.12.14 to 1.13.0.

Changelog ### 1.13.0 ``` * minor Travis CI fixes [492](https://github.com/amoffat/sh/pull/492) * bugfix for boolean long options not respecting `_long_prefix` [488](https://github.com/amoffat/sh/pull/488) * fix deprecation warning on Python 3.6 regexes [482](https://github.com/amoffat/sh/pull/482) * `_pass_fds` and `_close_fds` special kwargs for controlling file descriptor inheritance in child. * more efficiently closing inherited fds [406](https://github.com/amoffat/sh/issues/406) * bugfix where passing invalid dictionary to `_env` will cause a mysterious child 255 exit code. [497](https://github.com/amoffat/sh/pull/497) * bugfix where `_in` using 0 or `sys.stdin` wasn't behaving like a TTY, if it was in fact a TTY. [514](https://github.com/amoffat/sh/issues/514) * bugfix where `help(sh)` raised an exception [455](https://github.com/amoffat/sh/issues/455) * bugfix fixing broken interactive ssh tutorial from docs * change to automatic tty merging into a single pty if `_tty_in=True` and `_tty_out=True` * introducing `_unify_ttys`, default False, which allows explicit tty merging into single pty * contrib command for `ssh` connections requiring passwords * performance fix for polling output too fast when using `_iter` [462](https://github.com/amoffat/sh/issues/462) * execution contexts can now be used in python shell [466](https://github.com/amoffat/sh/pull/466) * bugfix `ErrorReturnCode` instances can now be pickled * bugfix passing empty string or `None` for `_in` hanged [427](https://github.com/amoffat/sh/pull/427) * bugfix where passing a filename or file-like object to `_out` wasn't using os.dup2 [449](https://github.com/amoffat/sh/issues/449) * regression make `_fg` work with `_cwd` again [330](https://github.com/amoffat/sh/issues/330) * an invalid `_cwd` now raises a `ForkException` not an `OSError`. * AIX support [477](https://github.com/amoffat/sh/issues/477) * added a `timeout=None` param to `RunningCommand.wait()` [515](https://github.com/amoffat/sh/issues/515) ```
Links - PyPI: https://pypi.org/project/sh - Changelog: https://pyup.io/changelogs/sh/ - Repo: https://github.com/amoffat/sh

Update wrapt from 1.11.2 to 1.12.1.

Changelog ### 1.12.1 ``` -------------- **Bugs Fixed** * Applying a function wrapper to a static method of a class using the ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't being done correctly when the static method was the immediate child of the target object. It was working when the name path had multiple name components. A failure would subsequently occur when the static method was called via an instance of the class, rather than the class. ``` ### 1.12.0 ``` -------------- **Features Changed** * Provided that you only want to support Python 3.7, when deriving from a base class which has a decorator applied to it, you no longer need to access the true type of the base class using ``__wrapped__`` in the inherited class list of the derived class. **Bugs Fixed** * When using the ``synchronized`` decorator on instance methods of a class, if the class declared special methods to override the result for when the class instance was tested as a boolean so that it returned ``False`` all the time, the synchronized method would fail when called. * When using an adapter function to change the signature of the decorated function, ``inspect.signature()`` was returning the wrong signature when an instance method was inspected by accessing the method via the class type. ```
Links - PyPI: https://pypi.org/project/wrapt - Changelog: https://pyup.io/changelogs/wrapt/ - Repo: https://github.com/GrahamDumpleton/wrapt
pyup-bot commented 4 years ago

Closing this in favor of #161