Move import of doctest.UnexpectedException to top-level to avoid possible
errors when using --pdb. (1810 <https://github.com/pytest-dev/pytest/issues/1810>_)
Added printing of captured stdout/stderr before entering pdb, and improved a
test which was giving false negatives about output capturing. (3052 <https://github.com/pytest-dev/pytest/issues/3052>_)
Fix ordering of tests using parametrized fixtures which can lead to fixtures
being created more than necessary. (3161 <https://github.com/pytest-dev/pytest/issues/3161>_)
Fix bug where logging happening at hooks outside of "test run" hooks would
cause an internal error. (3184 <https://github.com/pytest-dev/pytest/issues/3184>_)
Detect arguments injected by unittest.mock.patch decorator correctly when
pypi mock.patch is installed and imported. (3206 <https://github.com/pytest-dev/pytest/issues/3206>_)
Errors shown when a pytest.raises() with match= fails are now cleaner
on what happened: When no exception was raised, the "matching '...'" part got
removed as it falsely implies that an exception was raised but it didn't
match. When a wrong exception was raised, it's now thrown (like
pytest.raised() without match= would) instead of complaining about
the unmatched text. (3222 <https://github.com/pytest-dev/pytest/issues/3222>_)
Fixed output capture handling in doctests on macOS. (985 <https://github.com/pytest-dev/pytest/issues/985>_)
Improved Documentation
Add Sphinx parameter docs for match and message args to
pytest.raises. (3202 <https://github.com/pytest-dev/pytest/issues/3202>_)
Trivial/Internal Changes
pytest has changed the publication procedure and is now being published to
PyPI directly from Travis. (3060 <https://github.com/pytest-dev/pytest/issues/3060>_)
Rename ParameterSet._for_parameterize() to _for_parametrize() in
order to comply with the naming convention. (3166 <https://github.com/pytest-dev/pytest/issues/3166>_)
Skip failing pdb/doctest test on mac. (985 <https://github.com/pytest-dev/pytest/issues/985>_)
Sphinx 1.6.6 -> 1.7.1
1.7.1
=====================================
Deprecated
4623: sphinx.build_main() is deprecated. Use
sphinx.cmd.build.build_main() instead.
autosummary: The interface of sphinx.ext.autosummary.get_documenter() has
been changed (Since 1.7.0)
4664: sphinx.ext.intersphinx.debug() is deprecated. Use
sphinx.ext.intersphinx.inspect_main() instead.
Bugs fixed
4608: epub: Invalid meta tag is generated
4260: autodoc: keyword only argument separator is not disappeared if it is
appeared at top of the argument list
4622: epub: :confval:epub_scheme does not effect to content.opf
4627: graphviz: Fit graphviz images to page
4617: quickstart: PROJECT_DIR argument is required
4623: sphinx.build_main no longer exists in 1.7.0
4615: The argument of sphinx.build has been changed in 1.7.0
autosummary: The interface of sphinx.ext.autosummary.get_documenter() has
been changed
4630: Have order on msgids in sphinx.pot deterministic
4563: autosummary: Incorrect end of line punctuation detection
4577: Enumerated sublists with explicit start with wrong number
4641: A external link in TOC cannot contain "?" with :glob: option
C++, add missing parsing of explicit casts and typeid in expression parsing.
C++, add missing parsing of this in expression parsing.
4655: Fix incomplete localization strings in Polish
4653: Fix error reporting for parameterless ImportErrors
4664: Reading objects.inv fails again
4662: any refs with term targets crash when an ambiguity is
encountered
1.7.0
=====================================
Dependencies
1.7.0b3
4019: inheritance_diagram AttributeError stoping make process
4531: autosummary: methods are not treated as attributes
4538: autodoc: sphinx.ext.autodoc.Options has been moved
4539: autodoc emits warnings for partialmethods
4223: doctest: failing tests reported in wrong file, at wrong line
i18n: message catalogs are not compiled if specific filenames are given for
sphinx-build as arguments (refs: 4560)
4027: sphinx.ext.autosectionlabel now expects labels to be the same as they
are in the raw source; no smart quotes, nothig fancy.
4581: apidoc: Excluded modules still included
Testing
1.7.0b2
4415: autodoc classifies inherited classmethods as regular methods
4415: autodoc classifies inherited staticmethods as regular methods
4472: DOCUMENTATION_OPTIONS is not defined
4491: autodoc: prefer _MockImporter over other importers in sys.meta_path
4490: autodoc: type annotation is broken with python 3.7.0a4+
utils package is no longer installed
3952: apidoc: module header is too escaped
4275: Formats accepted by sphinx.util.i18n.format_date are limited
4493: recommonmark raises AttributeError if AutoStructify enabled
4209: intersphinx: In link title, "v" should be optional if target has no
version
4230: slowdown in writing pages with sphinx 1.6
4522: epub: document is not rebuilt even if config changed
1.7.0b1
Add support for docutils 0.14
Add tests for the sphinx.ext.inheritance_diagram extension.
1.6.7
=====================================
Bugs fixed
1922: html search: Upper characters problem in French
4412: Updated jQuery version from 3.1.0 to 3.2.1
4438: math: math with labels with whitespace cause html error
2437: make full reference for classes, aliased with "alias of"
4434: pure numbers as link targets produce warning
4477: Build fails after building specific files
4449: apidoc: include "empty" packages that contain modules
3917: citation labels are tranformed to ellipsis
4501: graphviz: epub3 validation error caused if graph is not clickable
4514: graphviz: workaround for wrong map ID which graphviz generates
4525: autosectionlabel does not support parallel build
3953: Do not raise warning when there is a working intersphinx inventory
4487: math: ValueError is raised on parallel build. Thanks to jschueller.
2372: autosummary: invalid signatures are shown for type annotated functions
3942: html: table is not aligned to center even if :align: center
Faker 0.8.10 -> 0.8.11
0.8.11
Add scheme selection for internet url provider. Thanks ProvoK.
Increase lower bound on AD date generation. Thanks prophile.
Add the ability to specify the min and max age for some ssn locales. Thanks frangiz.
psycopg2 2.7.3.2 -> 2.7.4
2.7.4
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Moving away from installing the wheel package by default.
Packages installed from wheel raise a warning on import. Added package
psycopg2-binary to install from wheel instead (:ticket:543).
Convert fields names into valid Python identifiers in
~psycopg2.extras.NamedTupleCursor (:ticket:211).
Fixed Solaris 10 support (:ticket:532).
cursor.mogrify() can be called on closed cursors (:ticket:579).
Fixed setting session characteristics in corner cases on autocommit
connections (:ticket:580).
Fixed ~psycopg2.extras.MinTimeLoggingCursor on Python 3 (:ticket:609).
Fixed parsing of array of points as floats (:ticket:613).
Fixed ~psycopg2.__libpq_version__ building with libpq >= 10.1
(:ticket:632).
Fixed ~cursor.rowcount after ~cursor.executemany() with :sql:RETURNING
statements (:ticket:633).
Fixed compatibility problem with pypy3 (:ticket:649).
Wheel packages compiled against PostgreSQL 10.1 libpq and OpenSSL 1.0.2n.
Wheel packages for Python 2.6 no more available (support dropped from
wheel building infrastructure).
raven 6.5.0 -> 6.6.0
6.6.0
[Core] Add trimming to breadcrumbs.
[Core] Improve host message at startup.
[Core] Update pytest to work on other environments
newrelic 2.100.0.84 -> 2.106.0.87
2.106.0.87
This release of the Python agent adds support for AIOHTTP version 3.
The agent can be installed using easy_install/pip/distribute via the Python Package Index or can be downloaded directly from the New Relic download site.
Improved AIOHTTP Support
Support for AIOHTTP 3
AIOHTTP major version 3 is now supported by the New Relic Python agent.
2.104.0.86
This release of the Python agent adds a deprecation warning for customers that disable SSL, and adds bugfixes for supported async frameworks that use asyncio.
The agent can be installed using easy_install/pip/distribute via the Python Package Index or can be downloaded directly from the New Relic download site.
Mandatory SSL
Disabling SSL connections to New Relic has been deprecated
SSL connections are enabled by default. In a future release, the option to
disable SSL will be removed.
Bug Fixes
Using asyncio.gather or asyncio.ensure_future now tracks transaction context
Prior to this release, using asyncio.gather or asyncio.ensure_future may
result in certain traces (such as external calls) not being reported in the
transaction. Traces scheduled with asyncio.gather or asyncio.ensure_future
from within the context of a transaction should now be properly attributed to
the transaction.
2.102.0.85
This release of the Python agent contains improvements to the time tracing API as well as bug fixes.
The agent can be installed using easy_install/pip/distribute via the Python Package Index or can be downloaded directly from the New Relic download site.
Time Trace API Improvements
Time trace APIs (such as function_trace) can now be used with coroutines
The following decorator APIs can now be used with native coroutines and generators:
gRPC instrumentation used on Python 2.x can cause a memory leak
When using gRPC on Python 2, gRPC futures would not be garbage collected
resulting in a memory leak. gRPC futures will now be garbage collected.
Instrumentation for Dropbox v8.0 and newer caused error log messages
Dropbox client version 8.0 or higher raised instrumentation errors. These
errors did not prevent metrics on Dropbox from being sent. These errors have
been removed.
Values from negated ranges were sometimes added to ignore_status_codes
Negated status codes not found in the current ignore_status_codes were
added if they were part of a range of values. This issue has been addressed.
cffi 1.11.4 -> 1.11.5
1.11.5
=======
Issue 357_: fix ffi.emit_python_code() which generated a buggy
Python file if you are using a struct with an anonymous union
field or vice-versa.
Windows: ffi.dlopen() should now handle unicode filenames.
ABI mode: implemented ffi.dlclose() for the in-line case (it used
to be present only in the out-of-line case).
Fixed a corner case for setup.py install --record=xx --root=yy
with an out-of-line ABI module. Also fixed Issue 345_.
More hacks on Windows for running CFFI's own setup.py.
Issue 358_: in embedding, to protect against (the rare case of)
Python initialization from several threads in parallel, we have to use
a spin-lock. On CPython 3 it is worse because it might spin-lock for
a long time (execution of Py_InitializeEx()). Sadly, recent
changes to CPython make that solution needed on CPython 2 too.
CPython 3 on Windows: we no longer compile with Py_LIMITED_API
by default because such modules cannot be used with virtualenv.
Issue 350_ mentions a workaround if you still want that and are not
concerned about virtualenv: pass a define_macros=[("Py_LIMITED_API", None)] to the ffibuilder.set_source() call.
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
pytest 3.4.0 -> 3.4.1
Sphinx 1.6.6 -> 1.7.1
Faker 0.8.10 -> 0.8.11
psycopg2 2.7.3.2 -> 2.7.4
raven 6.5.0 -> 6.6.0
newrelic 2.100.0.84 -> 2.106.0.87
cffi 1.11.4 -> 1.11.5
That's it for now!
Happy merging! 🤖