HbScorez is a web application, which processes handball game reports of diverse handball associations, districts, and leagues. It analyzes the player scores and displays the statistics and rankings.
Changelog
### 4.0.3
```
==========================
*March 1, 2022*
Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is
reformatted with `black`_.
.. _black: https://pypi.org/project/black/
Bugfixes
========
* Prevented, following a regression in Django 4.0.1, :djadmin:`makemigrations`
from generating infinite migrations for a model with ``ManyToManyField`` to
a lowercased swappable model such as ``'auth.user'`` (:ticket:`33515`).
* Fixed a regression in Django 4.0 that caused a crash when rendering invalid
inlines with :attr:`~django.contrib.admin.ModelAdmin.readonly_fields` in the
admin (:ticket:`33547`).
==========================
```
Links
- PyPI: https://pypi.org/project/django
- Changelog: https://pyup.io/changelogs/django/
- Homepage: https://www.djangoproject.com/
Changelog
### 2.10.0
```
=============================
Release date: 2022-02-27
* Fixed inference of ``self`` in binary operations in which ``self``
is part of a list or tuple.
Closes PyCQA/pylint4826
* Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which
resulted in instance arguments missing on these nodes.
* Fixed a crash on ``Super.getattr`` when the attribute was previously uninferable due to a cache
limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the
``__init__`` attribute) is very large.
Closes PyCQA/pylint5679
* Inlcude names of keyword-only arguments in ``astroid.scoped_nodes.Lambda.argnames``.
Closes PyCQA/pylint5771
* Fixed a crash inferring on a ``NewType`` named with an f-string.
Closes PyCQA/pylint5770
* Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which
added a new `attrs` module alongside the existing `attr`.
Closes 1330
* Use the ``end_lineno`` attribute for the ``NodeNG.tolineno`` property
when it is available.
Closes 1350
* Add ``is_dataclass`` attribute to ``ClassDef`` nodes.
* Use ``sysconfig`` instead of ``distutils`` to determine the location of
python stdlib files and packages.
Related pull requests: 1322, 1323, 1324
Closes 1282
Ref 1103
* Fixed crash with recursion error for inference of class attributes that referenced
the class itself.
Closes PyCQA/pylint5408
* Fixed crash when trying to infer ``items()`` on the ``__dict__``
attribute of an imported module.
Closes 1085
* Add optional ``NodeNG.position`` attribute.
Used for block nodes to highlight position of keyword(s) and name
in cases where the AST doesn't provide good enough positional information.
E.g. ``nodes.ClassDef``, ``nodes.FunctionDef``.
* Fix ``ClassDef.fromlineno``. For Python < 3.8 the ``lineno`` attribute includes decorators.
``fromlineno`` should return the line of the ``class`` statement itself.
* Performance improvements. Only run expensive decorator functions when
non-default Deprecation warnings are enabled, eg. during a Pytest run.
Closes 1383
```
### 2.9.3
```
============================
Release date: 2022-01-09
* Fixed regression where packages without a ``__init__.py`` file were
not recognized or imported correctly.
Closes 1327
```
### 2.9.2
```
============================
Release date: 2022-01-04
* Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass``
was not accessible anymore.
Closes 1325
```
### 2.9.1
```
============================
Release date: 2021-12-31
* ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising ``ParentMissingError``
instead of ``AttributeError`` in astroid 3.0. This behaviour can already be triggered
by passing ``future=True`` to a ``frame()`` or ``statement()`` call.
* Prefer the module loader get_source() method in AstroidBuilder's
module_build() when possible to avoid assumptions about source
code being available on a filesystem. Otherwise the source cannot
be found and application behavior changes when running within an
embedded hermetic interpreter environment (pyoxidizer, etc.).
* Require Python 3.6.2 to use astroid.
* Removed custom ``distutils`` handling for resolving paths to submodules.
Ref 1321
* Restore custom ``distutils`` handling for resolving paths to submodules.
Closes PyCQA/pylint5645
* Fix ``deque.insert()`` signature in ``collections`` brain.
Closes 1260
* Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and ``end_col_offset``
attributes.
* Fix typing and update explanation for ``Arguments.args`` being ``None``.
* Fix crash if a variable named ``type`` is subscribed in a generator expression.
Closes PyCQA/pylint5461
* Enable inference of dataclass import from marshmallow_dataclass.
This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass.
* Resolve symlinks in the import path
Fixes inference error when the import path includes symlinks (e.g. Python
installed on macOS via Homebrew).
Closes 823
Closes PyCQA/pylint3499
Closes PyCQA/pylint4302
Closes PyCQA/pylint4798
Closes PyCQA/pylint5081
```
### 2.9.0
```
============================
Release date: 2021-11-21
* Add ``end_lineno`` and ``end_col_offset`` attributes to astroid nodes.
* Always treat ``__class_getitem__`` as a classmethod.
* Add missing ``as_string`` visitor method for ``Unknown`` node.
Closes 1264
```
### 2.8.6
```
============================
Release date: 2021-11-21
* Fix crash on inference of subclasses created from ``Class().__subclasses__``
Closes PyCQA/pylint4982
* Fix bug with Python 3.7.0 / 3.7.1 and ``typing.NoReturn``.
Closes 1239
```
### 2.8.5
```
============================
Release date: 2021-11-12
* Use more permissive versions for the ``typed-ast`` dependency (<2.0 instead of <1.5)
Closes 1237
* Fix crash on inference of ``__len__``.
Closes PyCQA/pylint5244
* Added missing ``kind`` (for ``Const``) and ``conversion`` (for ``FormattedValue``) fields to repr.
* Fix crash with assignment expressions, nested if expressions and filtering of statements
Closes PyCQA/pylint5178
* Fix incorrect filtering of assignment expressions statements
```
### 2.8.4
```
============================
Release date: 2021-10-25
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword`` or ``Comprehension`` nodes these
methods now correctly point to the outer-scope of the ``FunctionDef``,
``ClassDef``, or ``Comprehension``.
* Fix the ``set_local`` function for ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these
nodes are now correctly added to the locals of the ``FunctionDef``,
``ClassDef``, or ``Comprehension``.
```
### 2.8.3
```
============================
Release date: 2021-10-17
* Add support for wrapt 1.13
* Fixes handling of nested partial functions
Closes PyCQA/pylint2462
Closes 1208
* Fix regression with the import resolver
Closes PyCQA/pylint5131
* Fix crash with invalid dataclass field call
Closes PyCQA/pylint5153
```
### 2.8.2
```
============================
Release date: 2021-10-07
Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a
mistake when creating the tag.
```
### 2.8.1
```
============================
Release date: 2021-10-06
* Adds support of type hints inside numpy's brains.
Closes PyCQA/pylint4326
* Enable inference of dataclass import from pydantic.dataclasses.
This allows the dataclasses brain to recognize pydantic dataclasses.
Closes PyCQA/pylint4899
* Fix regression on ClassDef inference
Closes PyCQA/pylint5030
Closes PyCQA/pylint5036
* Fix regression on Compare node inference
Closes PyCQA/pylint5048
* Extended attrs brain to support the provisional APIs
* Astroid does not trigger it's own deprecation warning anymore.
* Improve brain for ``typing.Callable`` and ``typing.Type``.
* Fix bug with importing namespace packages with relative imports
Closes PyCQA/pylint5059
* The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will
be removed in 3.0.0. They are complex meta-inference functions that are better
suited for pylint. Import them from ``pylint.checkers.utils`` instead
(requires pylint ``2.12``).
* Suppress the conditional between applied brains and dynamic import authorized
modules. (Revert the "The transforms related to a module are applied only if this
module has not been explicitly authorized to be imported" of version 2.7.3)
* Adds a brain to infer the ``numpy.ma.masked_where`` function.
Closes PyCQA/pylint3342
```
### 2.8.0
```
============================
Release date: 2021-09-14
* Add additional deprecation warnings in preparation for astroid 3.0
* Require attributes for some node classes with ``__init__`` call.
* ``name`` (``str``) for ``Name``, ``AssignName``, ``DelName``
* ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, ``DelAttr``
* ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, ``UnaryOp``
* ``names`` (``list[tuple[str, str | None]]``) for ``Import``
* Support pyz imports
Closes PyCQA/pylint3887
* Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes.
* It's now possible to infer the value of comparison nodes
Closes 846
* Fixed bug in inference of dataclass field calls.
Closes PyCQA/pylint4963
```
### 2.7.3
```
============================
Release date: 2021-08-30
* The transforms related to a module are applied only if this module has not been explicitly authorized to be imported
(i.e is not in AstroidManager.extension_package_whitelist). Solves the following issues if numpy is authorized to be imported
through the `extension-pkg-allow-list` option.
Closes PyCQA/pylint3342
Closes PyCQA/pylint4326
* Fixed bug in attribute inference from inside method calls.
Closes PyCQA/pylint400
* Fixed bug in inference for superclass instance methods called
from the class rather than an instance.
Closes 1008
Closes PyCQA/pylint4377
* Fixed bug in inference of chained attributes where a subclass
had an attribute that was an instance of its superclass.
Closes PyCQA/pylint4220
* Adds a brain for the ctypes module.
Closes PyCQA/pylint4896
* When processing dataclass attributes, exclude the same type hints from abc.collections
as from typing.
Closes PyCQA/pylint4895
* Apply dataclass inference to pydantic's dataclasses.
Closes PyCQA/pylint4899
```
### 2.7.2
```
============================
Release date: 2021-08-20
* ``BaseContainer`` is now public, and will replace ``_BaseContainer`` completely in astroid 3.0.
* The call cache used by inference functions produced by ``inference_tip``
can now be cleared via ``clear_inference_tip_cache``.
* ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are not used internally anymore
and will be removed in astroid 3.0. Simply replace this by the string 'builtins' for better
performances and clarity.
* Add inference for dataclass initializer method.
Closes PyCQA/pylint3201
```
### 2.7.1
```
============================
Release date: 2021-08-16
* When processing dataclass attributes, only do typing inference on collection types.
Support for instantiating other typing types is left for the future, if desired.
Closes 1129
* Fixed LookupMixIn missing from ``astroid.node_classes``.
```
### 2.7.0
```
============================
Release date: 2021-08-15
* Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of
``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0.
* Add support for arbitrary Enum subclass hierarchies
Closes PyCQA/pylint533
Closes PyCQA/pylint2224
Closes PyCQA/pylint2626
* Add inference tips for dataclass attributes, including dataclasses.field calls.
Also add support for InitVar.
Closes PyCQA/pylint2600
Closes PyCQA/pylint2698
Closes PyCQA/pylint3405
Closes PyCQA/pylint3794
* Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module.
Closes PyCQA/pylint4060
```
Links
- PyPI: https://pypi.org/project/astroid
- Changelog: https://pyup.io/changelogs/astroid/
- Repo: https://github.com/PyCQA/astroid
Changelog
### 1.7.3
```
What's Changed
* Rely on toml conditionally by sigmavirus24 in https://github.com/PyCQA/bandit/pull/780
* Update issue template with latest versions by ericwb in https://github.com/PyCQA/bandit/pull/783
* Delete release-drafter.yml by ericwb in https://github.com/PyCQA/bandit/pull/781
* Use released version of gh-action-pypi-publish by ericwb in https://github.com/PyCQA/bandit/pull/784
* Update publish-to-pypi.yml by ericwb in https://github.com/PyCQA/bandit/pull/785
* Delete releasenotes directory (more openstack leftovers) by ericwb in https://github.com/PyCQA/bandit/pull/786
* [docs] Add Getting Started chapter (migrate from README) by bittner in https://github.com/PyCQA/bandit/pull/773
* Including CWE information by julianthome in https://github.com/PyCQA/bandit/pull/613
* Removal of the CWEMAP dict by ericwb in https://github.com/PyCQA/bandit/pull/789
* Fix up warnings in output of tox by ericwb in https://github.com/PyCQA/bandit/pull/793
* Avoid printing metrics as float point numbers by ericwb in https://github.com/PyCQA/bandit/pull/794
* Add functional test of snmp_security_check by ericwb in https://github.com/PyCQA/bandit/pull/791
* Disable individual tests by mikespallino in https://github.com/PyCQA/bandit/pull/597
* Change up how CWE is formatted by ericwb in https://github.com/PyCQA/bandit/pull/788
* Check value of usedforsecurity for hashlib by ericwb in https://github.com/PyCQA/bandit/pull/798
* Remove redundant Python 3.6 code by ericwb in https://github.com/PyCQA/bandit/pull/802
* Add new plugin to check use of pyghmi by ericwb in https://github.com/PyCQA/bandit/pull/803
* Check for hardcoded passwords in class attributes by noliverio in https://github.com/PyCQA/bandit/pull/766
* Better hashlib check for Python 3.9 by ericwb in https://github.com/PyCQA/bandit/pull/805
* Fix references to the default branch name by ericwb in https://github.com/PyCQA/bandit/pull/810
* Cleanup the README by ericwb in https://github.com/PyCQA/bandit/pull/809
* Show usage with no arguments by ericwb in https://github.com/PyCQA/bandit/pull/814
* Respect color environment variables if set by ericwb in https://github.com/PyCQA/bandit/pull/813
* Cannot seek stdin on pipe by tylerwince in https://github.com/PyCQA/bandit/pull/496
* Test on operating systems we can support by ericwb in https://github.com/PyCQA/bandit/pull/804
* Fix up some warnings and errors in docs by ericwb in https://github.com/PyCQA/bandit/pull/817
* Fix root doc for readthedocs by ericwb in https://github.com/PyCQA/bandit/pull/818
* Use versioned links to docs by ericwb in https://github.com/PyCQA/bandit/pull/819
* Use CWE link in HTML formatter by ericwb in https://github.com/PyCQA/bandit/pull/825
* Improve performance of linerange by Krock21rus in https://github.com/PyCQA/bandit/pull/629
* Inaccurate message in hashlib check by ericwb in https://github.com/PyCQA/bandit/pull/827
* Target Python >= 3.7 in pre-commit hooks by mkniewallner in https://github.com/PyCQA/bandit/pull/830
* Center the bandit logo in readme by ericwb in https://github.com/PyCQA/bandit/pull/823
* Build of artifact fails if raw directive used by ericwb in https://github.com/PyCQA/bandit/pull/831
New Contributors
* bittner made their first contribution in https://github.com/PyCQA/bandit/pull/773
* julianthome made their first contribution in https://github.com/PyCQA/bandit/pull/613
* noliverio made their first contribution in https://github.com/PyCQA/bandit/pull/766
* Krock21rus made their first contribution in https://github.com/PyCQA/bandit/pull/629
**Full Changelog**: https://github.com/PyCQA/bandit/compare/1.7.2...1.7.3
```
Links
- PyPI: https://pypi.org/project/bandit
- Changelog: https://pyup.io/changelogs/bandit/
- Docs: https://bandit.readthedocs.io/
Changelog
### 6.3.2
```
--------------------------
- Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function
decorators like CPython 3.8: both the -line and the def-line are traced.
Fixes `issue 1326`_.
- Debug: added ``pybehave`` to the list of :ref:`cmd_debug` and
:ref:`cmd_run_debug` options.
- Fix: show an intelligible error message if ``--concurrency=multiprocessing``
is used without a configuration file. Closes `issue 1320`_.
.. _issue 1320: https://github.com/nedbat/coveragepy/issues/1320
.. _issue 1326: https://github.com/nedbat/coveragepy/issues/1326
.. _changes_631:
```
Links
- PyPI: https://pypi.org/project/coverage
- Changelog: https://pyup.io/changelogs/coverage/
- Repo: https://github.com/nedbat/coveragepy
Changelog
### 0.7.0
```
* Drop support for all versions of Python lower than 3.6
* Add support for Python 3.8, 3.9, and 3.10
* Fix option declaration for Flake8
```
Links
- PyPI: https://pypi.org/project/mccabe
- Changelog: https://pyup.io/changelogs/mccabe/
- Repo: https://github.com/pycqa/mccabe
Changelog
### 4.1.1
```
* add support for Chrome 98 and remove support for Chrome 95
* Add py.typed file (10310)
* Elaborate find_element deprecation message (10273)
* add support for Chrome v97
* convert selectors for finding elements in shadow dom
* missing self for service args
* don't use websocket-port if user sets connect-existing (a4dc6e)
* update tests for current IE options
* fix firefox addon tests
* Support new Cast command added to Chrome Devtools (10150)
* send Base64 encoded addon to driver instead of path String
* Reflect how find_elements returns a list, not just one WebElement. (10172)
* add shadowroot to api docs
* add log reference to api rst file
* remove non breaking space for doc generation
* Updating exceptions file for docs
* Add type hinting to Shadowroot
* update ShadowRoot find element signatures to match those in WebElement (10138)
* add Zenkaku/Hankaku key
* raise `NoSuchElementException` for relative failures instead of `IndexError` (10078)
* Remove legacy in favour of W3C endpoints. (10075)
* Tidy relativeby docs, use non deprecated methods in webserver (10077, 10103, 10108, 10186, 10212, 10120)
* PEP 484 type hints s (10099)
* Handle Socks Proxy for Remote Connections. Fixes 10091
* Add extra attributes to pointer down and pointer move actions
* Add Scroll via Wheel Inputs and Wheel Actions
```
Links
- PyPI: https://pypi.org/project/selenium
- Changelog: https://pyup.io/changelogs/selenium/
- Homepage: https://www.selenium.dev
Changelog
### 1.13.3
```
--------------
**New Features**
* Adds wheels for Python 3.10 on PyPi and where possible also now
generating binary wheels for ``musllinux``.
```
### 1.13.2
```
--------------
**Features Changed**
* On the Windows platform when using Python 2.7, by default the C extension
will not be installed and the pure Python implementation will be used.
This is because too often on Windows when using Python 2.7, there is no
working compiler available. Prior to version 1.13.0, when installing the
package it would fallback to using the pure Python implementation
automatically but that relied on a workaround to do it when there was
no working compiler. With the changes in 1.13.0 to use the builtin
mechanism of Python to not fail when a C extension cannot be compiled,
this fallback doesn't work when the compiler doesn't exist, as the
builtin mechanism in Python regards lack of a compiler as fatal and not
a condition for which it is okay to ignore the fact that the extension
could not be compiled.
If you are using Python 2.7 on Windows, have a working compiler, and
still want to attempt to install the C extension, you can do so by
setting the `WRAPT_INSTALL_EXTENSIONS` environment variable to `true`
when installing the `wrapt` package.
Note that the next signficant release of `wrapt` will drop support for
Python 2.7 and Python 3.5. The change described here is to ensure that
`wrapt` can be used with Python 2.7 on Windows for just a little bit
longer. If using Python 2.7 on non Windows platforms, it will still
attempt to install the C extension.
```
### 1.13.1
```
--------------
**Bugs Fixed**
* Fix Python version constraint so PyPi classifier for ``pip`` requires
Python 2.7 or Python 3.5+.
```
### 1.13.0
```
--------------
**Bugs Fixed**
* When a reference to a class method was taken out of a class, and then
wrapped in a function wrapper, and called, the class type was not being
passed as the instance argument, but as the first argument in args,
with the instance being ``None``. The class type should have been passed
as the instance argument.
* If supplying an adapter function for a signature changing decorator
using input in the form of a function argument specification, name lookup
exceptions would occur where the adaptor function had annotations which
referenced non builtin Python types. Although the issues have been
addressed where using input data in the format usually returned by
``inspect.getfullargspec()`` to pass the function argument specification,
you can still have problems when supplying a function signature as
string. In the latter case only Python builtin types can be referenced
in annotations.
* When a decorator was applied on top of a data/non-data descriptor in a
class definition, the call to the special method ``__set_name__()`` to
notify the descriptor of the variable name was not being propogated. Note
that this issue has been addressed in the ``FunctionWrapper`` used by
``wrapt.decorator`` but has not been applied to the generic
``ObjectProxy`` class. If using ``ObjectProxy`` directly to construct a
custom wrapper which is applied to a descriptor, you will need to
propogate the ``__set_name__()`` call yourself if required.
* The ``issubclass()`` builtin method would give incorrect results when used
with a class which had a decorator applied to it. Note that this has only
been able to be fixed for Python 3.7+. Also, due to what is arguably a
bug (https://bugs.python.org/issue44847) in the Python standard library,
you will still have problems when the class heirarchy uses a base class
which has the ``abc.ABCMeta`` metaclass. In this later case an exception
will be raised of ``TypeError: issubclass() arg 1 must be a class``.
```
Links
- PyPI: https://pypi.org/project/wrapt
- Changelog: https://pyup.io/changelogs/wrapt/
- Repo: https://github.com/GrahamDumpleton/wrapt
Changelog
### 1.1.0
```
------------------
- Added support for Python 3.10.
- Drop support for Python 3.6, meaning the minimum supported version
is Python 3.7.0.
- Various type checking and code linting improvements.
```
Links
- PyPI: https://pypi.org/project/wsproto
- Changelog: https://pyup.io/changelogs/wsproto/
- Repo: https://github.com/python-hyper/wsproto/
Update django from 4.0.2 to 4.0.3.
Changelog
### 4.0.3 ``` ========================== *March 1, 2022* Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is reformatted with `black`_. .. _black: https://pypi.org/project/black/ Bugfixes ======== * Prevented, following a regression in Django 4.0.1, :djadmin:`makemigrations` from generating infinite migrations for a model with ``ManyToManyField`` to a lowercased swappable model such as ``'auth.user'`` (:ticket:`33515`). * Fixed a regression in Django 4.0 that caused a crash when rendering invalid inlines with :attr:`~django.contrib.admin.ModelAdmin.readonly_fields` in the admin (:ticket:`33547`). ========================== ```Links
- PyPI: https://pypi.org/project/django - Changelog: https://pyup.io/changelogs/django/ - Homepage: https://www.djangoproject.com/Update astroid from 2.6.6 to 2.10.0.
Changelog
### 2.10.0 ``` ============================= Release date: 2022-02-27 * Fixed inference of ``self`` in binary operations in which ``self`` is part of a list or tuple. Closes PyCQA/pylint4826 * Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which resulted in instance arguments missing on these nodes. * Fixed a crash on ``Super.getattr`` when the attribute was previously uninferable due to a cache limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the ``__init__`` attribute) is very large. Closes PyCQA/pylint5679 * Inlcude names of keyword-only arguments in ``astroid.scoped_nodes.Lambda.argnames``. Closes PyCQA/pylint5771 * Fixed a crash inferring on a ``NewType`` named with an f-string. Closes PyCQA/pylint5770 * Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which added a new `attrs` module alongside the existing `attr`. Closes 1330 * Use the ``end_lineno`` attribute for the ``NodeNG.tolineno`` property when it is available. Closes 1350 * Add ``is_dataclass`` attribute to ``ClassDef`` nodes. * Use ``sysconfig`` instead of ``distutils`` to determine the location of python stdlib files and packages. Related pull requests: 1322, 1323, 1324 Closes 1282 Ref 1103 * Fixed crash with recursion error for inference of class attributes that referenced the class itself. Closes PyCQA/pylint5408 * Fixed crash when trying to infer ``items()`` on the ``__dict__`` attribute of an imported module. Closes 1085 * Add optional ``NodeNG.position`` attribute. Used for block nodes to highlight position of keyword(s) and name in cases where the AST doesn't provide good enough positional information. E.g. ``nodes.ClassDef``, ``nodes.FunctionDef``. * Fix ``ClassDef.fromlineno``. For Python < 3.8 the ``lineno`` attribute includes decorators. ``fromlineno`` should return the line of the ``class`` statement itself. * Performance improvements. Only run expensive decorator functions when non-default Deprecation warnings are enabled, eg. during a Pytest run. Closes 1383 ``` ### 2.9.3 ``` ============================ Release date: 2022-01-09 * Fixed regression where packages without a ``__init__.py`` file were not recognized or imported correctly. Closes 1327 ``` ### 2.9.2 ``` ============================ Release date: 2022-01-04 * Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass`` was not accessible anymore. Closes 1325 ``` ### 2.9.1 ``` ============================ Release date: 2021-12-31 * ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising ``ParentMissingError`` instead of ``AttributeError`` in astroid 3.0. This behaviour can already be triggered by passing ``future=True`` to a ``frame()`` or ``statement()`` call. * Prefer the module loader get_source() method in AstroidBuilder's module_build() when possible to avoid assumptions about source code being available on a filesystem. Otherwise the source cannot be found and application behavior changes when running within an embedded hermetic interpreter environment (pyoxidizer, etc.). * Require Python 3.6.2 to use astroid. * Removed custom ``distutils`` handling for resolving paths to submodules. Ref 1321 * Restore custom ``distutils`` handling for resolving paths to submodules. Closes PyCQA/pylint5645 * Fix ``deque.insert()`` signature in ``collections`` brain. Closes 1260 * Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and ``end_col_offset`` attributes. * Fix typing and update explanation for ``Arguments.args`` being ``None``. * Fix crash if a variable named ``type`` is subscribed in a generator expression. Closes PyCQA/pylint5461 * Enable inference of dataclass import from marshmallow_dataclass. This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass. * Resolve symlinks in the import path Fixes inference error when the import path includes symlinks (e.g. Python installed on macOS via Homebrew). Closes 823 Closes PyCQA/pylint3499 Closes PyCQA/pylint4302 Closes PyCQA/pylint4798 Closes PyCQA/pylint5081 ``` ### 2.9.0 ``` ============================ Release date: 2021-11-21 * Add ``end_lineno`` and ``end_col_offset`` attributes to astroid nodes. * Always treat ``__class_getitem__`` as a classmethod. * Add missing ``as_string`` visitor method for ``Unknown`` node. Closes 1264 ``` ### 2.8.6 ``` ============================ Release date: 2021-11-21 * Fix crash on inference of subclasses created from ``Class().__subclasses__`` Closes PyCQA/pylint4982 * Fix bug with Python 3.7.0 / 3.7.1 and ``typing.NoReturn``. Closes 1239 ``` ### 2.8.5 ``` ============================ Release date: 2021-11-12 * Use more permissive versions for the ``typed-ast`` dependency (<2.0 instead of <1.5) Closes 1237 * Fix crash on inference of ``__len__``. Closes PyCQA/pylint5244 * Added missing ``kind`` (for ``Const``) and ``conversion`` (for ``FormattedValue``) fields to repr. * Fix crash with assignment expressions, nested if expressions and filtering of statements Closes PyCQA/pylint5178 * Fix incorrect filtering of assignment expressions statements ``` ### 2.8.4 ``` ============================ Release date: 2021-10-25 * Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword`` or ``Comprehension`` nodes these methods now correctly point to the outer-scope of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. * Fix the ``set_local`` function for ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these nodes are now correctly added to the locals of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. ``` ### 2.8.3 ``` ============================ Release date: 2021-10-17 * Add support for wrapt 1.13 * Fixes handling of nested partial functions Closes PyCQA/pylint2462 Closes 1208 * Fix regression with the import resolver Closes PyCQA/pylint5131 * Fix crash with invalid dataclass field call Closes PyCQA/pylint5153 ``` ### 2.8.2 ``` ============================ Release date: 2021-10-07 Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a mistake when creating the tag. ``` ### 2.8.1 ``` ============================ Release date: 2021-10-06 * Adds support of type hints inside numpy's brains. Closes PyCQA/pylint4326 * Enable inference of dataclass import from pydantic.dataclasses. This allows the dataclasses brain to recognize pydantic dataclasses. Closes PyCQA/pylint4899 * Fix regression on ClassDef inference Closes PyCQA/pylint5030 Closes PyCQA/pylint5036 * Fix regression on Compare node inference Closes PyCQA/pylint5048 * Extended attrs brain to support the provisional APIs * Astroid does not trigger it's own deprecation warning anymore. * Improve brain for ``typing.Callable`` and ``typing.Type``. * Fix bug with importing namespace packages with relative imports Closes PyCQA/pylint5059 * The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will be removed in 3.0.0. They are complex meta-inference functions that are better suited for pylint. Import them from ``pylint.checkers.utils`` instead (requires pylint ``2.12``). * Suppress the conditional between applied brains and dynamic import authorized modules. (Revert the "The transforms related to a module are applied only if this module has not been explicitly authorized to be imported" of version 2.7.3) * Adds a brain to infer the ``numpy.ma.masked_where`` function. Closes PyCQA/pylint3342 ``` ### 2.8.0 ``` ============================ Release date: 2021-09-14 * Add additional deprecation warnings in preparation for astroid 3.0 * Require attributes for some node classes with ``__init__`` call. * ``name`` (``str``) for ``Name``, ``AssignName``, ``DelName`` * ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, ``DelAttr`` * ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, ``UnaryOp`` * ``names`` (``list[tuple[str, str | None]]``) for ``Import`` * Support pyz imports Closes PyCQA/pylint3887 * Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes. * It's now possible to infer the value of comparison nodes Closes 846 * Fixed bug in inference of dataclass field calls. Closes PyCQA/pylint4963 ``` ### 2.7.3 ``` ============================ Release date: 2021-08-30 * The transforms related to a module are applied only if this module has not been explicitly authorized to be imported (i.e is not in AstroidManager.extension_package_whitelist). Solves the following issues if numpy is authorized to be imported through the `extension-pkg-allow-list` option. Closes PyCQA/pylint3342 Closes PyCQA/pylint4326 * Fixed bug in attribute inference from inside method calls. Closes PyCQA/pylint400 * Fixed bug in inference for superclass instance methods called from the class rather than an instance. Closes 1008 Closes PyCQA/pylint4377 * Fixed bug in inference of chained attributes where a subclass had an attribute that was an instance of its superclass. Closes PyCQA/pylint4220 * Adds a brain for the ctypes module. Closes PyCQA/pylint4896 * When processing dataclass attributes, exclude the same type hints from abc.collections as from typing. Closes PyCQA/pylint4895 * Apply dataclass inference to pydantic's dataclasses. Closes PyCQA/pylint4899 ``` ### 2.7.2 ``` ============================ Release date: 2021-08-20 * ``BaseContainer`` is now public, and will replace ``_BaseContainer`` completely in astroid 3.0. * The call cache used by inference functions produced by ``inference_tip`` can now be cleared via ``clear_inference_tip_cache``. * ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are not used internally anymore and will be removed in astroid 3.0. Simply replace this by the string 'builtins' for better performances and clarity. * Add inference for dataclass initializer method. Closes PyCQA/pylint3201 ``` ### 2.7.1 ``` ============================ Release date: 2021-08-16 * When processing dataclass attributes, only do typing inference on collection types. Support for instantiating other typing types is left for the future, if desired. Closes 1129 * Fixed LookupMixIn missing from ``astroid.node_classes``. ``` ### 2.7.0 ``` ============================ Release date: 2021-08-15 * Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0. * Add support for arbitrary Enum subclass hierarchies Closes PyCQA/pylint533 Closes PyCQA/pylint2224 Closes PyCQA/pylint2626 * Add inference tips for dataclass attributes, including dataclasses.field calls. Also add support for InitVar. Closes PyCQA/pylint2600 Closes PyCQA/pylint2698 Closes PyCQA/pylint3405 Closes PyCQA/pylint3794 * Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module. Closes PyCQA/pylint4060 ```Links
- PyPI: https://pypi.org/project/astroid - Changelog: https://pyup.io/changelogs/astroid/ - Repo: https://github.com/PyCQA/astroidUpdate bandit from 1.7.2 to 1.7.3.
Changelog
### 1.7.3 ``` What's Changed * Rely on toml conditionally by sigmavirus24 in https://github.com/PyCQA/bandit/pull/780 * Update issue template with latest versions by ericwb in https://github.com/PyCQA/bandit/pull/783 * Delete release-drafter.yml by ericwb in https://github.com/PyCQA/bandit/pull/781 * Use released version of gh-action-pypi-publish by ericwb in https://github.com/PyCQA/bandit/pull/784 * Update publish-to-pypi.yml by ericwb in https://github.com/PyCQA/bandit/pull/785 * Delete releasenotes directory (more openstack leftovers) by ericwb in https://github.com/PyCQA/bandit/pull/786 * [docs] Add Getting Started chapter (migrate from README) by bittner in https://github.com/PyCQA/bandit/pull/773 * Including CWE information by julianthome in https://github.com/PyCQA/bandit/pull/613 * Removal of the CWEMAP dict by ericwb in https://github.com/PyCQA/bandit/pull/789 * Fix up warnings in output of tox by ericwb in https://github.com/PyCQA/bandit/pull/793 * Avoid printing metrics as float point numbers by ericwb in https://github.com/PyCQA/bandit/pull/794 * Add functional test of snmp_security_check by ericwb in https://github.com/PyCQA/bandit/pull/791 * Disable individual tests by mikespallino in https://github.com/PyCQA/bandit/pull/597 * Change up how CWE is formatted by ericwb in https://github.com/PyCQA/bandit/pull/788 * Check value of usedforsecurity for hashlib by ericwb in https://github.com/PyCQA/bandit/pull/798 * Remove redundant Python 3.6 code by ericwb in https://github.com/PyCQA/bandit/pull/802 * Add new plugin to check use of pyghmi by ericwb in https://github.com/PyCQA/bandit/pull/803 * Check for hardcoded passwords in class attributes by noliverio in https://github.com/PyCQA/bandit/pull/766 * Better hashlib check for Python 3.9 by ericwb in https://github.com/PyCQA/bandit/pull/805 * Fix references to the default branch name by ericwb in https://github.com/PyCQA/bandit/pull/810 * Cleanup the README by ericwb in https://github.com/PyCQA/bandit/pull/809 * Show usage with no arguments by ericwb in https://github.com/PyCQA/bandit/pull/814 * Respect color environment variables if set by ericwb in https://github.com/PyCQA/bandit/pull/813 * Cannot seek stdin on pipe by tylerwince in https://github.com/PyCQA/bandit/pull/496 * Test on operating systems we can support by ericwb in https://github.com/PyCQA/bandit/pull/804 * Fix up some warnings and errors in docs by ericwb in https://github.com/PyCQA/bandit/pull/817 * Fix root doc for readthedocs by ericwb in https://github.com/PyCQA/bandit/pull/818 * Use versioned links to docs by ericwb in https://github.com/PyCQA/bandit/pull/819 * Use CWE link in HTML formatter by ericwb in https://github.com/PyCQA/bandit/pull/825 * Improve performance of linerange by Krock21rus in https://github.com/PyCQA/bandit/pull/629 * Inaccurate message in hashlib check by ericwb in https://github.com/PyCQA/bandit/pull/827 * Target Python >= 3.7 in pre-commit hooks by mkniewallner in https://github.com/PyCQA/bandit/pull/830 * Center the bandit logo in readme by ericwb in https://github.com/PyCQA/bandit/pull/823 * Build of artifact fails if raw directive used by ericwb in https://github.com/PyCQA/bandit/pull/831 New Contributors * bittner made their first contribution in https://github.com/PyCQA/bandit/pull/773 * julianthome made their first contribution in https://github.com/PyCQA/bandit/pull/613 * noliverio made their first contribution in https://github.com/PyCQA/bandit/pull/766 * Krock21rus made their first contribution in https://github.com/PyCQA/bandit/pull/629 **Full Changelog**: https://github.com/PyCQA/bandit/compare/1.7.2...1.7.3 ```Links
- PyPI: https://pypi.org/project/bandit - Changelog: https://pyup.io/changelogs/bandit/ - Docs: https://bandit.readthedocs.io/Update coverage from 6.3.1 to 6.3.2.
Changelog
### 6.3.2 ``` -------------------------- - Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function decorators like CPython 3.8: both the -line and the def-line are traced. Fixes `issue 1326`_. - Debug: added ``pybehave`` to the list of :ref:`cmd_debug` and :ref:`cmd_run_debug` options. - Fix: show an intelligible error message if ``--concurrency=multiprocessing`` is used without a configuration file. Closes `issue 1320`_. .. _issue 1320: https://github.com/nedbat/coveragepy/issues/1320 .. _issue 1326: https://github.com/nedbat/coveragepy/issues/1326 .. _changes_631: ```Links
- PyPI: https://pypi.org/project/coverage - Changelog: https://pyup.io/changelogs/coverage/ - Repo: https://github.com/nedbat/coveragepyUpdate gitpython from 3.1.26 to 3.1.27.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/gitpython - Repo: https://github.com/gitpython-developers/GitPython - Docs: https://pythonhosted.org/GitPython/Update mccabe from 0.6.1 to 0.7.0.
Changelog
### 0.7.0 ``` * Drop support for all versions of Python lower than 3.6 * Add support for Python 3.8, 3.9, and 3.10 * Fix option declaration for Flake8 ```Links
- PyPI: https://pypi.org/project/mccabe - Changelog: https://pyup.io/changelogs/mccabe/ - Repo: https://github.com/pycqa/mccabeUpdate platformdirs from 2.5.0 to 2.5.1.
Changelog
### 2.5.1 ``` ------------------ - Add native support for nuitka ```Links
- PyPI: https://pypi.org/project/platformdirs - Changelog: https://pyup.io/changelogs/platformdirs/ - Repo: https://github.com/platformdirs/platformdirsUpdate rope from 0.22.0 to 0.23.0.
Changelog
### 0.23.0 ``` Syntax support - 451, $456 Implement structural pattern matching (PEP634) (lieryan) - 458 Improve the heuristic for joining lines when extracting one line expression (lieryan) Bug fixes - 134, 453 Preserve newline format when writing files (lieryan) - 457 Fix extract info collection for list comprehension with multiple targets (lieryan) Documentation - 455 Fix typo (Jasha10) ```Links
- PyPI: https://pypi.org/project/rope - Changelog: https://pyup.io/changelogs/rope/ - Repo: https://github.com/python-rope/ropeUpdate selenium from 4.1.0 to 4.1.2.
Changelog
### 4.1.1 ``` * add support for Chrome 98 and remove support for Chrome 95 * Add py.typed file (10310) * Elaborate find_element deprecation message (10273) * add support for Chrome v97 * convert selectors for finding elements in shadow dom * missing self for service args * don't use websocket-port if user sets connect-existing (a4dc6e) * update tests for current IE options * fix firefox addon tests * Support new Cast command added to Chrome Devtools (10150) * send Base64 encoded addon to driver instead of path String * Reflect how find_elements returns a list, not just one WebElement. (10172) * add shadowroot to api docs * add log reference to api rst file * remove non breaking space for doc generation * Updating exceptions file for docs * Add type hinting to Shadowroot * update ShadowRoot find element signatures to match those in WebElement (10138) * add Zenkaku/Hankaku key * raise `NoSuchElementException` for relative failures instead of `IndexError` (10078) * Remove legacy in favour of W3C endpoints. (10075) * Tidy relativeby docs, use non deprecated methods in webserver (10077, 10103, 10108, 10186, 10212, 10120) * PEP 484 type hints s (10099) * Handle Socks Proxy for Remote Connections. Fixes 10091 * Add extra attributes to pointer down and pointer move actions * Add Scroll via Wheel Inputs and Wheel Actions ```Links
- PyPI: https://pypi.org/project/selenium - Changelog: https://pyup.io/changelogs/selenium/ - Homepage: https://www.selenium.devUpdate trio from 0.19.0 to 0.20.0.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/trio - Repo: https://github.com/python-trio/trioUpdate types-requests from 2.27.10 to 2.27.11.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/types-requests - Repo: https://github.com/python/typeshedUpdate types-urllib3 from 1.26.9 to 1.26.10.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/types-urllib3 - Repo: https://github.com/python/typeshedUpdate virtualenv from 20.13.1 to 20.13.2.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/virtualenv - Changelog: https://pyup.io/changelogs/virtualenv/ - Homepage: https://virtualenv.pypa.io/Update wrapt from 1.12.1 to 1.13.3.
Changelog
### 1.13.3 ``` -------------- **New Features** * Adds wheels for Python 3.10 on PyPi and where possible also now generating binary wheels for ``musllinux``. ``` ### 1.13.2 ``` -------------- **Features Changed** * On the Windows platform when using Python 2.7, by default the C extension will not be installed and the pure Python implementation will be used. This is because too often on Windows when using Python 2.7, there is no working compiler available. Prior to version 1.13.0, when installing the package it would fallback to using the pure Python implementation automatically but that relied on a workaround to do it when there was no working compiler. With the changes in 1.13.0 to use the builtin mechanism of Python to not fail when a C extension cannot be compiled, this fallback doesn't work when the compiler doesn't exist, as the builtin mechanism in Python regards lack of a compiler as fatal and not a condition for which it is okay to ignore the fact that the extension could not be compiled. If you are using Python 2.7 on Windows, have a working compiler, and still want to attempt to install the C extension, you can do so by setting the `WRAPT_INSTALL_EXTENSIONS` environment variable to `true` when installing the `wrapt` package. Note that the next signficant release of `wrapt` will drop support for Python 2.7 and Python 3.5. The change described here is to ensure that `wrapt` can be used with Python 2.7 on Windows for just a little bit longer. If using Python 2.7 on non Windows platforms, it will still attempt to install the C extension. ``` ### 1.13.1 ``` -------------- **Bugs Fixed** * Fix Python version constraint so PyPi classifier for ``pip`` requires Python 2.7 or Python 3.5+. ``` ### 1.13.0 ``` -------------- **Bugs Fixed** * When a reference to a class method was taken out of a class, and then wrapped in a function wrapper, and called, the class type was not being passed as the instance argument, but as the first argument in args, with the instance being ``None``. The class type should have been passed as the instance argument. * If supplying an adapter function for a signature changing decorator using input in the form of a function argument specification, name lookup exceptions would occur where the adaptor function had annotations which referenced non builtin Python types. Although the issues have been addressed where using input data in the format usually returned by ``inspect.getfullargspec()`` to pass the function argument specification, you can still have problems when supplying a function signature as string. In the latter case only Python builtin types can be referenced in annotations. * When a decorator was applied on top of a data/non-data descriptor in a class definition, the call to the special method ``__set_name__()`` to notify the descriptor of the variable name was not being propogated. Note that this issue has been addressed in the ``FunctionWrapper`` used by ``wrapt.decorator`` but has not been applied to the generic ``ObjectProxy`` class. If using ``ObjectProxy`` directly to construct a custom wrapper which is applied to a descriptor, you will need to propogate the ``__set_name__()`` call yourself if required. * The ``issubclass()`` builtin method would give incorrect results when used with a class which had a decorator applied to it. Note that this has only been able to be fixed for Python 3.7+. Also, due to what is arguably a bug (https://bugs.python.org/issue44847) in the Python standard library, you will still have problems when the class heirarchy uses a base class which has the ``abc.ABCMeta`` metaclass. In this later case an exception will be raised of ``TypeError: issubclass() arg 1 must be a class``. ```Links
- PyPI: https://pypi.org/project/wrapt - Changelog: https://pyup.io/changelogs/wrapt/ - Repo: https://github.com/GrahamDumpleton/wraptUpdate wsproto from 1.0.0 to 1.1.0.
Changelog
### 1.1.0 ``` ------------------ - Added support for Python 3.10. - Drop support for Python 3.6, meaning the minimum supported version is Python 3.7.0. - Various type checking and code linting improvements. ```Links
- PyPI: https://pypi.org/project/wsproto - Changelog: https://pyup.io/changelogs/wsproto/ - Repo: https://github.com/python-hyper/wsproto/