This is a micro release and I have very little time on my hands right now sorry
Fix crash with no values when the print_values_position param is set (thanks cristen)
django-allauth 0.28.0 -> 0.29.0
0.29.0
Note worthy changes
Addressed Django 1.10 deprecation warnings.
pytest-django 3.0.0 -> 3.1.2
3.1.2
Bug fixes
^^^^^^^^^
Auto clearing of mail.outbox has been re-introduced to not break
functionality in 3.x.x release. This means that Compatibility issues
mentioned in the 3.1.0 release are no longer present. Related issue:
_pytest-django issue <https://github.com/pytest-dev/pytest-django/issues/433>
3.1.1
Bug fixes
^^^^^^^^^
Workaround --pdb interaction with Django TestCase. The issue is caused by
Django TestCase not implementing TestCase.debug() properly but was brought to
attention with recent changes in pytest 3.0.2. Related issues: pytest issue <https://github.com/pytest-dev/pytest/issues/1977>,
Django issue <https://code.djangoproject.com/ticket/27391>.
3.1.0
Features
^^^^^^^^
Added new function scoped fixture mailoutbox that gives access to
djangos mail.outbox. The will clean/empty the mail.outbox to
assure that no old mails are still in the outbox.
If django.contrib.sites is in your INSTALLED_APPS, Site cache will
be cleared for each test to avoid hitting the cache and cause wrong Site
object to be returned by Site.objects.get_current().
Compatibility
^^^^^^^^^^^^^
IMPORTANT: the internal autouse fixture _django_clear_outbox has been
removed. If you have relied on this to get an empty outbox for your
test, you should change tests to use the mailoutbox fixture instead.
See documentation of mailoutbox fixture for usage. If you try to
access mail.outbox directly, AssertionError will be raised. If you
previously relied on the old behaviour and do not want to change your
tests, put this in your project conftest.py::
pytest.fixture(autouse=True)
def clear_outbox():
from django.core import mail
mail.outbox = []
django-extensions 1.7.4 -> 1.7.5
1.7.5
Changes:
New: ForeignKeyAutocompleteAdmin, Add autocomplete for inline model admins
Improvement: graph_models, Rewrite modelviz module from method to class based processor
Improvement: db fields, make MAX_UNIQUE_QUERY_ATTEMPTS configurable per field and via settings
Improvement: runserver_plus, Added nopin option to disable pin
Fix: graph_models, Support PyDot 1.2.0 and higher
Fix: shell_plus, Fix that aliases from SHELL_PLUS_MODEL_ALIASES were not applied
Removed: validate_templatetags, remove support for pre django-1.5 style {% url %} tags
Cleanup: removing support for end-of-life Python 3.2
Docs: simplify installation instructions
Docs: fix example for NOTEBOOK_ARGUMENTS
Docs: Remove extraneous '}' characters from shell_plus docs
requests 2.11.1 -> 2.12.3
2.12.3
+++++++++++++++++++
Bugfixes
Fixed regression from v2.12.1 for URLs with schemes that begin with "http".
These URLs have historically been processed as though they were HTTP-schemed
URLs, and so have had parameters added. This was removed in v2.12.2 in an
overzealous attempt to resolve problems with IDNA-encoding those URLs. This
change was reverted: the other fixes for IDNA-encoding have been judged to
be sufficient to return to the behaviour Requests had before v2.12.0.
2.12.2
+++++++++++++++++++
Bugfixes
Fixed several issues with IDNA-encoding URLs that are technically invalid but
which are widely accepted. Requests will now attempt to IDNA-encode a URL if
it can but, if it fails, and the host contains only ASCII characters, it will
be passed through optimistically. This will allow users to opt-in to using
IDNA2003 themselves if they want to, and will also allow technically invalid
but still common hostnames.
Fixed an issue where URLs with leading whitespace would raise
InvalidSchema errors.
Fixed an issue where some URLs without the HTTP or HTTPS schemes would still
have HTTP URL preparation applied to them.
Fixed an issue where Unicode strings could not be used in basic auth.
Fixed an issue encountered by some Requests plugins where constructing a
Response object would cause Response.content to raise an
AttributeError.
2.12.1
+++++++++++++++++++
Bugfixes
Updated setuptools 'security' extra for the new PyOpenSSL backend in urllib3.
Miscellaneous
Updated bundled urllib3 to 1.19.1.
2.12.0
+++++++++++++++++++
Improvements
Updated support for internationalized domain names from IDNA2003 to IDNA2008.
This updated support is required for several forms of IDNs and is mandatory
for .de domains.
Much improved heuristics for guessing content lengths: Requests will no
longer read an entire StringIO into memory.
Much improved logic for recalculating Content-Length headers for
PreparedRequest objects.
Improved tolerance for file-like objects that have no tell method but
do have a seek method.
Anything that is a subclass of Mapping is now treated like a dictionary
by the data= keyword argument.
Requests now tolerates empty passwords in proxy credentials, rather than
stripping the credentials.
If a request is made with a file-like object as the body and that request is
redirected with a 307 or 308 status code, Requests will now attempt to
rewind the body object so it can be replayed.
Bugfixes
When calling response.close, the call to close will be propagated
through to non-urllib3 backends.
Fixed issue where the ALL_PROXY environment variable would be preferred
over scheme-specific variables like HTTP_PROXY.
Fixed issue where non-UTF8 reason phrases got severely mangled by falling
back to decoding using ISO 8859-1 instead.
Fixed a bug where Requests would not correctly correlate cookies set when
using custom Host headers if those Host headers did not use the native
string type for the platform.
Miscellaneous
Updated bundled urllib3 to 1.19.
Updated bundled certifi certs to 2016.09.26.
selenium 2.53.6 -> 3.0.2
3.0.2
Add support for W3C Get Active Element
Return when we use executeScript for faking WebElement.get_property
Expand user paths and resolve absolute path for Chrome extensions
Add support for verbose logging and custom path to EdgeDriver
Update TakeElementScreenshot to match WebDriver specification
Raise WebDriverException when FirefoxBinary fails to locate binary
Fix getting IP for python 3
Write Service log to DEVNULL by default
Only attempt to remove the Firefox profile path if one was specified
Added context manager for chrome/content in Firefox
3.0.1
Fix regressions with python 3
Add support for Safari Technology Preview
3.0.0
new FirefoxDriver ctor precedence logic and moz:firefoxOptions support (2882)
Add W3C Set Window Position and W3C Get Window Position
enable log path setting from firefox webdriver (2700)
Correct encoding of getAttribute.js and only load it once. Fixes 2785
Encode the isDisplayed atom and only load it once
3.0.0.b3
Use atoms for get_attribute and is_displayed when communicating with
a w3c compliant remote end.
Make it possible to specialise web element
3.0.0.b2
Updated Marionette port argument to match other drivers.
3.0.0.b1
Fix basestring reference to work with python 3. Fixes 1820
Correct Length conditional when filtering in PhantomJS. Fixes 1817
Fix send keys when using PUA keys e.g. Keys.RIGHT 1839
Fix cookie file leak in PhantomJS 1854
Use the correct binary path when using Marionette
Fixed: Unhelpful error message when PhantomJS exits. (2173 2168)
Fix broken link to python documentation (2159)
Attempt to remove Firefox profile when using Marionette
Ensure all capabilities are either within desiredCapabilities or requiredCapabilities
Correct the expected capability name for the Firefox profile
Add Firefox options to capabilities
Visibility_of_all implies it only returns elements if all visible (2052)
Find visible elements (2041)
Pass the firefox_profile as a desired capability in the Python client when using a remote server
Avoid checking exception details for invalid locators due to differences in server implementations
Handle capabilities better with Marionette and GeckoDriver
Updated the maxVersion of FirefoxDriver xpi maxVersion to work with Firefox 47.0.1
Schema generation should not raise 404 when a view permission class does. ([4645][gh4645], [4646][gh4646])
Add autofocus support for input controls. ([4650][gh4650])
pytest 3.0.3 -> 3.0.5
3.0.5
=====
Add warning when not passing option=value correctly to -o/--override-ini (2105).
Also improved the help documentation. Thanks to mbukatov for the report and
lwm_ for the PR.
Now --confcutdir and --junit-xml are properly validated if they are directories
and filenames, respectively (2089 and 2078). Thanks to lwm_ for the PR.
Add hint to error message hinting possible missing __init__.py (478). Thanks DuncanBetts.
More accurately describe when fixture finalization occurs in documentation (687). Thanks DuncanBetts.
Provide :ref: targets for recwarn.rst so we can use intersphinx referencing.
Thanks to dupuy for the report and lwm for the PR.
In Python 2, use a simple +- ASCII string in the string representation of pytest.approx (for example "4 +- 4.0e-06")
because it is brittle to handle that in different contexts and representations internally in pytest
which can result in bugs such as 2111. In Python 3, the representation still uses ± (for example 4 ± 4.0e-06).
Thanks kerrick-lyft for the report and nicoddemus_ for the PR.
Using item.Function, item.Module, etc., is now issuing deprecation warnings, prefer
pytest.Function, pytest.Module, etc., instead (2034).
Thanks nmundar for the PR.
Fix error message using approx with complex numbers (2082).
Thanks adler-j for the report and nicoddemus_ for the PR.
Fixed false-positives warnings from assertion rewrite hook for modules imported more than
once by the pytest_plugins mechanism.
Thanks nicoddemus_ for the PR.
Remove an internal cache which could cause hooks from conftest.py files in
sub-directories to be called in other directories incorrectly (2016).
Thanks d-b-w for the report and nicoddemus_ for the PR.
Remove internal code meant to support earlier Python 3 versions that produced the side effect
of leaving None in sys.modules when expressions were evaluated by pytest (for example passing a condition
as a string to pytest.mark.skipif)(2103).
Thanks jaraco for the report and nicoddemus_ for the PR.
Cope gracefully with a .pyc file with no matching .py file (2038). Thanks
nedbat.
Import errors when collecting test modules now display the full traceback (1976).
Thanks cwitty for the report and nicoddemus_ for the PR.
Fix confusing command-line help message for custom options with two or more metavar properties (2004).
Thanks okulynyak and davehunt for the report and nicoddemus for the PR.
When loading plugins, import errors which contain non-ascii messages are now properly handled in Python 2 (1998).
Thanks nicoddemus for the PR.
Fixed cyclic reference when pytest.raises is used in context-manager form (1965_). Also as a
result of this fix, sys.exc_info() is left empty in both context-manager and function call usages.
Previously, sys.exc_info would contain the exception caught by the context manager,
even when the expected exception occurred.
Thanks MSeifert04_ for the report and the PR.
Fixed false-positives warnings from assertion rewrite hook for modules that were rewritten but
were later marked explicitly by pytest.register_assert_rewrite
or implicitly as a plugin (2005).
Thanks RonnyPfannschmidt for the report and nicoddemus_ for the PR.
Report teardown output on test failure (442).
Thanks matclab for the PR.
Fix teardown error message in generated xUnit XML.
Thanks gdyuldin_ for the PR.
Properly handle exceptions in multiprocessing tasks (1984).
Thanks adborden for the report and nicoddemus_ for the PR.
Clean up unittest TestCase objects after tests are complete (1649_).
Thanks d_b_w_ for the report and PR.
slightly backward incompatible: fix issue310: the {posargs} substitution
now properly preserves the tox command line positional arguments. Positional
arguments with spaces are now properly handled.
NOTE: if your tox invocation previously used extra quoting for positional arguments to
work around issue310, you need to remove the quoting. Example:
tox -- "'some string'" has to now be written simply as
tox -- "some string"
thanks holger krekel. You can set minversion = 2.5.0 in the [tox]
section of tox.ini to make sure people using your tox.ini use the correct version.
fix 359: add COMSPEC to default passenv on windows. Thanks
anthrotype.
add support for py36 and py37 and add py36-dev and py37(nightly) to
travis builds of tox. Thanks John Vandenberg.
fix 348: add py2 and py3 as default environments pointing to
"python2" and "python3" basepython executables. Also fix 347 by
updating the list of default envs in the tox basic example.
Thanks Tobias McNulty.
make "-h" and "--help-ini" options work even if there is no tox.ini,
thanks holger krekel.
add {:} substitution, which is replaced with os-specific path
separator, thanks Lukasz Rogalski.
fix 305: downloadcache test env config is now ignored as pip-8
does caching by default. Thanks holger krekel.
output from install command in verbose (-vv) mode is now printed to console instead of
being redirected to file, thanks Lukasz Rogalski
fix 399. Make sure {envtmpdir} is created if it doesn't exist at the
start of a testenvironment run. Thanks Manuel Jacob.
fix 316: Lack of commands key in ini file is now treated as an error.
Reported virtualenv status is 'nothing to do' instead of 'commands
succeeded', with relevant error message displayed. Thanks Lukasz Rogalski.
Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.
This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.
Close this pull request and delete the branch if you want me to start with single pull requests right away
Here's the executive summary:
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.
Changelogs
pygal 2.3.0 -> 2.3.1
django-allauth 0.28.0 -> 0.29.0
pytest-django 3.0.0 -> 3.1.2
django-extensions 1.7.4 -> 1.7.5
requests 2.11.1 -> 2.12.3
selenium 2.53.6 -> 3.0.2
djangorestframework 3.5.2 -> 3.5.3
pytest 3.0.3 -> 3.0.5
tox 2.4.1 -> 2.5.0
Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.
That's it for now!
Happy merging! 🤖