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

[PyUp] Scheduled weekly dependency update for week 04 #67

Merged
merged 9 commits into from
Feb 1, 2018

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Feb 1, 2018

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.

factory_boy 2.9.2 » 2.10.0 PyPI | Changelog | Repo
Faker 0.8.8 » 0.8.10 PyPI | Changelog | Repo
factory-boy 2.9.2 » 2.10.0 PyPI | Changelog | Repo
django-registration 2.3 » 2.4.1 PyPI | Repo
astroid 1.5.3 » 1.6.1 PyPI | Changelog | Repo
pylint-django 0.7.2 » 0.9.0 PyPI | Changelog | Repo
pylint 1.7.5 » 1.8.2 PyPI | Changelog | Repo

Changelogs

factory_boy 2.9.2 -> 2.10.0

2.10.0


Bugfix:

  • :issue:443: Don't crash when calling :meth:factory.Iterator.reset() on a brand new iterator.

New:

  • :issue:397: Allow a :class:factory.Maybe to contain a :class:~factory.PostGenerationDeclaration.
    This also applies to :class:factory.Trait, since they use a :class:factory.Maybe declaration internally.

Faker 0.8.8 -> 0.8.10

0.8.10


  • Pass python_requires argument to setuptools. Thanks jdufresne.
  • Remove some words from en_US lorem ipsum provider. Thanks Pomax.

0.8.9


  • Remove support for Python 3.3. Thanks jdufresne.
  • Allow past dates within a second. Thanks DanEEstar.
  • Added phone number formatting to en_GB localisation to ensure no genuine phone numbers are generated. Thanks TheSapper.
  • Added en_GB localisation for SSN (UK National Insurance Number). Thanks TheSapper.
  • Added ro_RO person Provider. Thanks vasilesmartup.
  • Added domain argument to email provider. Thanks lcd1232.

factory-boy 2.9.2 -> 2.10.0

2.10.0


Bugfix:

  • :issue:443: Don't crash when calling :meth:factory.Iterator.reset() on a brand new iterator.

New:

  • :issue:397: Allow a :class:factory.Maybe to contain a :class:~factory.PostGenerationDeclaration.
    This also applies to :class:factory.Trait, since they use a :class:factory.Maybe declaration internally.

astroid 1.5.3 -> 1.6.1

1.6.0

  • When verifying duplicates classes in MRO, ignore on-the-fly generated classes
Close PyCQA/pylint1706
  • Add brain tip for attrs library to prevent unsupported-assignment-operation false positives

Close PYCQA/pylint1698

  • file_stream was removed, since it was deprecated for three releases
Instead one should use the .stream() method.
  • Vast improvements to numpy support
  • Add brain tips for curses
Close PyCQA/pylint1703
  • Add brain tips for UUID.int
Close PyCQA/pylint961
  • The result of using object.new as class decorator is correctly inferred as instance
Close 172
  • Enums created with functional syntax are now iterable
  • Enums created with functional syntax are now subscriptable
  • Don't crash when getting the string representation of BadUnaryOperationMessage
In some cases, when the operand does not have a .name attribute,
getting the string representation of a BadUnaryOperationMessage leads
to a crash.
Close PyCQA/pylint1563
  • Don't raise DuplicateBaseError when classes at different locations are used
For instance, one can implement a namedtuple base class, which gets reused
on a class with the same name later on in the file. Until now, we considered
these two classes as being the same, because they shared the name, but in fact
they are different, being created at different locations and through different
means.
Close PyCQA/pylint1458
  • The func form of namedtuples with keywords is now understood
 Close PyCQA/pylint1530
  • Dunder class at method level is now inferred as the class of the method
 Close PyCQA/pylint1328

pylint-django 0.7.2 -> 0.9.0

0.9

  • Fix 120 -
    TypeError: 'NamesConsumer' object does not support indexing (Simone Basso)
  • Fix 110 and
    35 - resolve
    ForeignKey models specified as strings instead of class names (Mr. Senko)

0.8.0

  • This is the last version to support Python 2. Issues a deprecation warning!
  • 109,
    adding 'urlpatterns', 'register', 'app_name' to good names. Obsoletes
    111, fixes
    108
    (Vinay Pai)
  • Add 'handler500' to good names (Mr. Senko)
  • 103:
    Support factory_boy's DjangoModelFactory Meta class (Konstantinos Koukopoulos)
  • 100:
    Fix E1101:Instance of 'proxy' has no 'format' member' when using .format()
    on a ugettext_lazy translation. Fixes
    80 (canarduck)
  • 99:
    Add tests and transforms for DurationField, fixes
    95 (James M. Allen)
  • 92:
    Add json field to WSGIRequest proxy (sjk4sc)
  • 84:
    Add support for django.contrib.postgres.fields and UUIDField (Villiers Strauss)
  • Stop testing with older Django versions. Currently testing with Django 1.11.x and 2.0
  • Stop testing on Python 2, no functional changes in the source code though
  • Update tests and require latest version of pylint (>=1.8), fixes
    53,
    97
  • 81 Fix 'duplicate-except' false negative
    for except blocks which catch the DoesNotExist exception.

0.7.4

  • 88 Fixed builds with Django 1.10 (thanks to federicobond)
  • 91 Fixed race condition when running with pylint parallel execution mode (thanks to jeremycarroll)
  • 64 "Meta is old style class" now suppressed on BaseSerializer too (thanks to unklphil)
  • 70 Updating to handle newer pylint/astroid versions (thanks to iXce)

pylint 1.7.5 -> 1.8.2

1.8.1

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

Release date: 2017-12-15

  • Wrong version number in pkginfo.

1.8

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

Release date: 2017-12-15

  • Respect disable=... in config file when running with --py3k.
  • New warning shallow-copy-environ added
 Shallow copy of os.environ doesn't work as people may expect. os.environ
 is not a dict object but rather a proxy object, so any changes made
 on copy may have unexpected effects on os.environ
 Instead of copy.copy(os.environ) method os.environ.copy() should be
 used.
 See https://bugs.python.org/issue15373 for details.
 Close 1301
  • Do not display no-absolute-import warning multiple times per file.
  • trailing-comma-tuple refactor check now extends to assignment with
    more than one element (such as lists)
 Close 1713
  • Fixing u'' string in superfluous-parens message
 Close 1420
  • abstract-class-instantiated is now emitted for all inference paths.
  Close 1673
  • Add set of predefined naming style to ease configuration of checking
    naming conventions.
 Closes 1013
  • Added a new check, keyword-arg-before-vararg
 This is emitted for function definitions
 in which keyword arguments are placed before variable
 positional arguments (*args).
 This may lead to args list getting modified if keyword argument's value
 is not provided in the function call assuming it will take default value
 provided in the definition.
  • The invalid-name check contains the name of the template that caused the failure
 Close 1176
  • Using the -j flag won't start more child linters than needed.
 Contributed by Roman Ivanov in 1614
  • Fix a false positive with bad-python3-import on relative imports
 Close 1608
  • Added a new Python 3 check, non-ascii-bytes-literals
 Close 1545
  • Added a couple of new Python 3 checks for accessing dict methods in non-iterable context
  • Protocol checks (not-a-mapping, not-an-iterable and co.) aren't emitted on classes with dynamic getattr
  • Added a new warning, 'bad-thread-instantiation'
 This message is emitted when the threading.Thread class does not
 receive the target argument, but receives just one argument, which
 is by default the group parameter.
 Close 1327
  • In non-quiet mode, absolute path of used config file is logged to
    standard error.
    Close 1519
  • Raise meaningful exception for invalid reporter class being selected
 When unknown reporter class will be selected as Pylint reporter,
 meaningful error message would be raised instead of bare ``ImportError``
 or ``AttribueError`` related to module or reporter class being not found.
 Close 1388
  • Added a new Python 3 check for accessing removed functions from itertools
    like izip or ifilterfalse
  • Added a new Python 3 check for accessing removed fields from the types
    module like UnicodeType or XRangeType
  • Added a new Python 3 check for declaring a method next that would have
    been treated as an iterator in Python 2 but a normal function in Python 3.
  • Added a new key-value pair in json output. The key is message-id
    and the value is the message id.
    Close 1512

  • Added a new Python 3.0 check for raising a StopIteration inside a generator.
    The check about raising a StopIteration inside a generator is also valid if the exception
    raised inherit from StopIteration.
    Close 1385

  • Added a new warning, raising-format-tuple, to detect multi-argument
    exception construction instead of message string formatting.
  • Added a new check for method of logging module that concatenate string via + operator
    Close 1479
  • Added parameter for limiting number of suggestions in spellchecking checkers
  • Fix a corner-case in consider-using-ternary checker.
 When object ``A`` used in  ``X and A or B`` was falsy in boolean context,
 Pylint incorrectly emitted non-equivalent ternary-based suggestion.
 After a change message is correctly not emitted for this case.
 Close 1559
  • Added suggestion-mode configuration flag. When flag is enabled, informational
    message is emitted instead of cryptic error message for attributes accessed on
    c-extensions.
    Close 1466
  • Fix a false positive useless-super-delegation message when
    parameters default values are different from those used in the base class.
    Close 1085
  • Disabling 'wrong-import-order', 'wrong-import-position', or
    'ungrouped-imports' for a single line now prevents that line from
    triggering violations on subsequent lines.
 Close 1336
  • Added a new Python check for inconsistent return statements inside method or function.
    Close 1267
  • Fix superfluous-parens false positive related to handling logical statements
    involving in operator.
 Close 574
  • function-redefined message is no longer emitted for functions and
    methods which names matches dummy variable name regular expression.
    Close 1369
  • Fix missing-param-doc and missing-type-doc false positives when
    mixing Args and Keyword Args in Google docstring.
    Close 1409
* Fix ``missing-docstring`` false negatives when modules, classes, or methods
consist of compound statements that exceed the ``docstring-min-length``
  • Fix useless-else-on-loop false positives when break statements are
    deeply nested inside loop.
    Close 1661
  • Fix no wrong-import-order message emitted on ordering of first and third party
    libraries. With this fix, pylint distinguishes third and first party
    modules when checking import order.
    Close 1702
  • Fix pylint disable=fixme directives ignored for comments following the
    last statement in a file.
    Close 1681
  • Fix line-too-long message deactivated by wrong disable directive.
    The directive disable=fixme doesn't deactivate anymore the emission
    of line-too-long message for long commented lines.
    Close 1741
  • If the rcfile specified on the command line doesn't exist, then an
    IOError exception is raised.
    Close 1747

That's it for now!

Happy merging! 🤖

@codecov
Copy link

codecov bot commented Feb 1, 2018

Codecov Report

Merging #67 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           development    #67   +/-   ##
==========================================
  Coverage          100%   100%           
==========================================
  Files                9      9           
  Lines              175    175           
  Branches            11     11           
==========================================
  Hits               175    175

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03f7467...058d495. Read the comment docs.

Copy link
Owner

@jambonrose jambonrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jambonrose jambonrose merged commit f9f51f2 into development Feb 1, 2018
@jambonrose jambonrose deleted the update/scheduled-update-02-01-2018 branch February 1, 2018 17:51
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.

TypeError: 'NamesConsumer' object does not support indexing
2 participants