Skip to content

Conversation

@pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Jan 4, 2017

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.

pytest 2.8.7 » 3.0.5 PyPI | Changelog | Homepage
selenium 2.50.1 » 3.0.2 PyPI | Changelog | Repo
sphinxcontrib-spelling 2.1.2 » 2.3.0 PyPI | Repo
sphinx 1.3.5 » 1.5.1 PyPI | Changelog | Homepage
jinja2 2.8 » 2.8.1 PyPI | Changelog | Homepage
alabaster 0.7.7 » 0.7.9 PyPI | Docs
pytest-django 2.9.1 » 3.1.2 PyPI | Changelog | Docs
pytz 2015.7 » 2016.10 PyPI | Homepage | Docs
py 1.4.31 » 1.4.32 PyPI | Changelog | Docs
isort 4.2.2 » 4.2.5 PyPI | Changelog | Repo
pygments 2.1 » 2.1.3 PyPI | Changelog | Homepage
django-appconf 1.0.1 » 1.0.2 PyPI | Changelog | Docs
babel 2.2.0 » 2.3.4 PyPI | Changelog | Homepage | Docs
pyenchant 1.6.6 » 1.6.8 PyPI | Changelog | Homepage | Docs
docutils 0.12 » 0.13.1 PyPI | Homepage
django-redis 4.6.0 » 4.7.0 PyPI | Changelog | Repo
flake8 2.5.2 » 3.2.1 PyPI | Repo
coverage 4.3 » 4.3.1 PyPI | Changelog | Docs
pep8-naming 0.3.3 » 0.4.1 PyPI | Repo
pyflakes 1.0.0 » 1.4.0 PyPI | Changelog | Repo
mccabe 0.4.0 » 0.5.3 PyPI | Repo

Changelogs

pytest 2.8.7 -> 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
    .

.. _adler-j: https://github.com/adler-j
.. _d-b-w: https://bitbucket.org/d-b-w/
.. _DuncanBetts: https://github.com/DuncanBetts
.. _dupuy: https://bitbucket.org/dupuy/
.. _kerrick-lyft: https://github.com/kerrick-lyft
.. _lwm: https://github.com/lwm
.. _mbukatov: https://github.com/mbukatov
.. _nedbat: https://github.com/nedbat
.. _nmundar: https://github.com/nmundar

.. _2016: pytest-dev/pytest#2016
.. _2034: pytest-dev/pytest#2034
.. _2038: pytest-dev/pytest#2038
.. _2078: pytest-dev/pytest#2078
.. _2082: pytest-dev/pytest#2082
.. _2089: pytest-dev/pytest#2089
.. _2103: pytest-dev/pytest#2103
.. _2105: pytest-dev/pytest#2105
.. _2111: pytest-dev/pytest#2111
.. _478: pytest-dev/pytest#478
.. _687: pytest-dev/pytest#687

3.0.4

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

  • 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.

.. _adborden: https://github.com/adborden
.. _cwitty: https://github.com/cwitty
.. _d_b_w: https://github.com/d_b_w
.. _gdyuldin: https://github.com/gdyuldin
.. _matclab: https://github.com/matclab
.. _MSeifert04: https://github.com/MSeifert04
.. _okulynyak: https://github.com/okulynyak

.. _442: pytest-dev/pytest#442
.. _1965: pytest-dev/pytest#1965
.. _1976: pytest-dev/pytest#1976
.. _1984: pytest-dev/pytest#1984
.. _1998: pytest-dev/pytest#1998
.. _2004: pytest-dev/pytest#2004
.. _2005: pytest-dev/pytest#2005
.. _1649: pytest-dev/pytest#1649

3.0.3

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

  • The ids argument to parametrize again accepts unicode strings
    in Python 2 (1905).
    Thanks philpep
    for the report and nicoddemus_ for the PR.
  • Assertions are now being rewritten for plugins in development mode
    (pip install -e) (1934).
    Thanks nicoddemus
    for the PR.
  • Fix pkg_resources import error in Jython projects (1853).
    Thanks raquel-ucl
    for the PR.
  • Got rid of AttributeError: 'Module' object has no attribute '_obj' exception
    in Python 3 (1944).
    Thanks axil
    for the PR.
  • Explain a bad scope value passed to fixture declarations or
    a MetaFunc.parametrize() call. Thanks tgoodlet_ for the PR.
  • This version includes pluggy-0.4.0, which correctly handles
    VersionConflict errors in plugins (704).
    Thanks nicoddemus
    for the PR.

.. _philpep: https://github.com/philpep
.. _raquel-ucl: https://github.com/raquel-ucl
.. _axil: https://github.com/axil
.. _tgoodlet: https://github.com/tgoodlet

.. _1853: pytest-dev/pytest#1853
.. _1905: pytest-dev/pytest#1905
.. _1934: pytest-dev/pytest#1934
.. _1944: pytest-dev/pytest#1944
.. _704: pytest-dev/pytest#704

3.0.2

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

  • Improve error message when passing non-string ids to pytest.mark.parametrize (1857).
    Thanks okken
    for the report and nicoddemus_ for the PR.
  • Add buffer attribute to stdin stub class pytest.capture.DontReadFromInput
    Thanks joguSD_ for the PR.
  • Fix UnicodeEncodeError when string comparison with unicode has failed. (1864)
    Thanks AiOO
    for the PR.
  • pytest_plugins is now handled correctly if defined as a string (as opposed as
    a sequence of strings) when modules are considered for assertion rewriting.
    Due to this bug, much more modules were being rewritten than necessary
    if a test suite uses pytest_plugins to load internal plugins (1888).
    Thanks jaraco
    for the report and nicoddemus_ for the PR (1891_).
  • Do not call tearDown and cleanups when running tests from
    unittest.TestCase subclasses with --pdb
    enabled. This allows proper post mortem debugging for all applications
    which have significant logic in their tearDown machinery (1890). Thanks
    mbyt
    for the PR.
  • Fix use of deprecated getfuncargvalue method in the internal doctest plugin.
    Thanks ViviCoder_ for the report (1898_).

.. _joguSD: https://github.com/joguSD
.. _AiOO: https://github.com/AiOO
.. _mbyt: https://github.com/mbyt
.. _ViviCoder: https://github.com/ViviCoder

.. _1857: pytest-dev/pytest#1857
.. _1864: pytest-dev/pytest#1864
.. _1888: pytest-dev/pytest#1888
.. _1891: pytest-dev/pytest#1891
.. _1890: pytest-dev/pytest#1890
.. _1898: pytest-dev/pytest#1898

3.0.1

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

  • Fix regression when importorskip is used at module level (1822).
    Thanks jaraco
    and The-Compiler_ for the report and nicoddemus_ for the PR.
  • Fix parametrization scope when session fixtures are used in conjunction
    with normal parameters in the same call (1832).
    Thanks The-Compiler
    for the report, Kingdread_ and nicoddemus_ for the PR.
  • Fix internal error when parametrizing tests or fixtures using an empty ids argument (1849).
    Thanks OPpuolitaival
    for the report and nicoddemus_ for the PR.
  • Fix loader error when running pytest embedded in a zipfile.
    Thanks mbachry_ for the PR.

.. _Kingdread: https://github.com/Kingdread
.. _mbachry: https://github.com/mbachry
.. _OPpuolitaival: https://github.com/OPpuolitaival

.. _1822: pytest-dev/pytest#1822
.. _1832: pytest-dev/pytest#1832
.. _1849: pytest-dev/pytest#1849

3.0.0

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

Incompatible changes

A number of incompatible changes were made in this release, with the intent of removing features deprecated for a long
time or change existing behaviors in order to make them less surprising/more useful.

  • Reinterpretation mode has now been removed. Only plain and rewrite
    mode are available, consequently the --assert=reinterp option is
    no longer available. This also means files imported from plugins or
    conftest.py will not benefit from improved assertions by
    default, you should use pytest.register_assert_rewrite() to
    explicitly turn on assertion rewriting for those files. Thanks
    flub_ for the PR.
  • The following deprecated commandline options were removed:
  • --genscript: no longer supported;
  • --no-assert: use --assert=plain instead;
  • --nomagic: use --assert=plain instead;
  • --report: use -r instead;

Thanks to RedBeardCode_ for the PR (1664_).

  • ImportErrors in plugins now are a fatal error instead of issuing a
    pytest warning (1479). Thanks to The-Compiler for the PR.
  • Removed support code for Python 3 versions < 3.3 (1627_).
  • Removed all py.test-X* entry points. The versioned, suffixed entry points
    were never documented and a leftover from a pre-virtualenv era. These entry
    points also created broken entry points in wheels, so removing them also
    removes a source of confusion for users (1632).
    Thanks obestwalter
    for the PR.
  • pytest.skip() now raises an error when used to decorate a test function,
    as opposed to its original intent (to imperatively skip a test inside a test function). Previously
    this usage would cause the entire module to be skipped (607).
    Thanks omarkohl
    for the complete PR (1519_).
  • Exit tests if a collection error occurs. A poll indicated most users will hit CTRL-C
    anyway as soon as they see collection errors, so pytest might as well make that the default behavior (1421).
    A --continue-on-collection-errors option has been added to restore the previous behaviour.
    Thanks olegpidsadnyi
    and omarkohl_ for the complete PR (1628_).
  • Renamed the pytest pdb module (plugin) into debugging to avoid clashes with the builtin pdb module.
  • Raise a helpful failure message when requesting a parametrized fixture at runtime,
    e.g. with request.getfixturevalue. Previously these parameters were simply
    never defined, so a fixture decorated like pytest.fixture(params=[0, 1, 2])
    only ran once (460).
    Thanks to nikratio
    for the bug report, RedBeardCode_ and tomviner_ for the PR.
  • _pytest.monkeypatch.monkeypatch class has been renamed to _pytest.monkeypatch.MonkeyPatch
    so it doesn't conflict with the monkeypatch fixture.
  • --exitfirst / -x can now be overridden by a following --maxfail=N
    and is just a synonym for --maxfail=1.

New Features

  • Support nose-style __test__ attribute on methods of classes,
    including unittest-style Classes. If set to False, the test will not be
    collected.
  • New doctest_namespace fixture for injecting names into the
    namespace in which doctests run.
    Thanks milliams_ for the complete PR (1428_).
  • New --doctest-report option available to change the output format of diffs
    when running (failing) doctests (implements 1749).
    Thanks hartym
    for the PR.
  • New name argument to pytest.fixture decorator which allows a custom name
    for a fixture (to solve the funcarg-shadowing-fixture problem).
    Thanks novas0x2a_ for the complete PR (1444_).
  • New approx() function for easily comparing floating-point numbers in
    tests.
    Thanks kalekundert_ for the complete PR (1441_).
  • Ability to add global properties in the final xunit output file by accessing
    the internal junitxml plugin (experimental).
    Thanks tareqalayan_ for the complete PR 1454_).
  • New ExceptionInfo.match() method to match a regular expression on the
    string representation of an exception (372).
    Thanks omarkohl
    for the complete PR (1502_).
  • __tracebackhide__ can now also be set to a callable which then can decide
    whether to filter the traceback based on the ExceptionInfo object passed
    to it. Thanks The-Compiler_ for the complete PR (1526_).
  • New pytest_make_parametrize_id(config, val) hook which can be used by plugins to provide
    friendly strings for custom types.
    Thanks palaviv_ for the PR.
  • capsys and capfd now have a disabled() context-manager method, which
    can be used to temporarily disable capture within a test.
    Thanks nicoddemus_ for the PR.
  • New cli flag --fixtures-per-test: shows which fixtures are being used
    for each selected test item. Features doc strings of fixtures by default.
    Can also show where fixtures are defined if combined with -v.
    Thanks hackebrot_ for the PR.
  • Introduce pytest command as recommended entry point. Note that py.test
    still works and is not scheduled for removal. Closes proposal
    1629. Thanks obestwalter and davehunt_ for the complete PR
    (1633_).
  • New cli flags:
  • --setup-plan: performs normal collection and reports
    the potential setup and teardown and does not execute any fixtures and tests;
  • --setup-only: performs normal collection, executes setup and teardown of
    fixtures and reports them;
  • --setup-show: performs normal test execution and additionally shows
    setup and teardown of fixtures;
  • --keep-duplicates: py.test now ignores duplicated paths given in the command
    line. To retain the previous behavior where the same test could be run multiple
    times by specifying it in the command-line multiple times, pass the --keep-duplicates
    argument (1609_);

Thanks d6e, kvas-it, sallner, ioggstream and omarkohl_ for the PRs.

  • New CLI flag --override-ini/-o: overrides values from the ini file.
    For example: &quot;-o xfail_strict=True&quot;'.
    Thanks blueyed_ and fengxx_ for the PR.
  • New hooks:
  • pytest_fixture_setup(fixturedef, request): executes fixture setup;
  • pytest_fixture_post_finalizer(fixturedef): called after the fixture's
    finalizer and has access to the fixture's result cache.

Thanks d6e, sallner.

  • Issue warnings for asserts whose test is a tuple literal. Such asserts will
    never fail because tuples are always truthy and are usually a mistake
    (see 1562). Thanks kvas-it, for the PR.
  • Allow passing a custom debugger class (e.g. --pdbcls=IPython.core.debugger:Pdb).
    Thanks to anntzer_ for the PR.

Changes

  • Plugins now benefit from assertion rewriting. Thanks
    sober7, nicoddemus and flub_ for the PR.
  • Change report.outcome for xpassed tests to &quot;passed&quot; in non-strict
    mode and &quot;failed&quot; in strict mode. Thanks to hackebrot_ for the PR
    (1795) and gprasad84 for report (1546_).
  • Tests marked with xfail(strict=False) (the default) now appear in
    JUnitXML reports as passing tests instead of skipped.
    Thanks to hackebrot_ for the PR (1795_).
  • Highlight path of the file location in the error report to make it easier to copy/paste.
    Thanks suzaku_ for the PR (1778_).
  • Fixtures marked with pytest.fixture can now use yield statements exactly like
    those marked with the pytest.yield_fixture decorator. This change renders
    pytest.yield_fixture deprecated and makes pytest.fixture with yield statements
    the preferred way to write teardown code (1461).
    Thanks csaftoiu
    for bringing this to attention and nicoddemus_ for the PR.
  • Explicitly passed parametrize ids do not get escaped to ascii (1351).
    Thanks ceridwen
    for the PR.
  • Fixtures are now sorted in the error message displayed when an unknown
    fixture is declared in a test function.
    Thanks nicoddemus_ for the PR.
  • pytest_terminal_summary hook now receives the exitstatus
    of the test session as argument. Thanks blueyed_ for the PR (1809_).
  • Parametrize ids can accept None as specific test id, in which case the
    automatically generated id for that argument will be used.
    Thanks palaviv_ for the complete PR (1468_).
  • The parameter to xunit-style setup/teardown methods (setup_method,
    setup_module, etc.) is now optional and may be omitted.
    Thanks okken_ for bringing this to attention and nicoddemus_ for the PR.
  • Improved automatic id generation selection in case of duplicate ids in
    parametrize.
    Thanks palaviv_ for the complete PR (1474_).
  • Now pytest warnings summary is shown up by default. Added a new flag
    --disable-pytest-warnings to explicitly disable the warnings summary (1668_).
  • Make ImportError during collection more explicit by reminding
    the user to check the name of the test module/package(s) (1426).
    Thanks omarkohl
    for the complete PR (1520_).
  • Add build/ and dist/ to the default --norecursedirs list. Thanks
    mikofski_ for the report and tomviner_ for the PR (1544_).
  • pytest.raises in the context manager form accepts a custom
    message to raise when no exception occurred.
    Thanks palaviv_ for the complete PR (1616_).
  • conftest.py files now benefit from assertion rewriting; previously it
    was only available for test modules. Thanks flub, sober7 and
    nicoddemus_ for the PR (1619_).
  • Text documents without any doctests no longer appear as "skipped".
    Thanks graingert_ for reporting and providing a full PR (1580_).
  • Ensure that a module within a namespace package can be found when it
    is specified on the command line together with the --pyargs
    option. Thanks to taschini_ for the PR (1597_).
  • Always include full assertion explanation during assertion rewriting. The previous behaviour was hiding
    sub-expressions that happened to be False, assuming this was redundant information.
    Thanks bagerard_ for reporting (1503). Thanks to davehunt and
    tomviner_ for the PR.
  • OptionGroup.addoption() now checks if option names were already
    added before, to make it easier to track down issues like 1618_.
    Before, you only got exceptions later from argparse library,
    giving no clue about the actual reason for double-added options.
  • yield-based tests are considered deprecated and will be removed in pytest-4.0.
    Thanks nicoddemus_ for the PR.
  • [pytest] sections in setup.cfg files should now be named [tool:pytest]
    to avoid conflicts with other distutils commands (see 567). [pytest] sections in
    pytest.ini or tox.ini files are supported and unchanged.
    Thanks nicoddemus
    for the PR.
  • Using pytest_funcarg__ prefix to declare fixtures is considered deprecated and will be
    removed in pytest-4.0 (1684).
    Thanks nicoddemus
    for the PR.
  • Passing a command-line string to pytest.main() is considered deprecated and scheduled
    for removal in pytest-4.0. It is recommended to pass a list of arguments instead (1723_).
  • Rename getfuncargvalue to getfixturevalue. getfuncargvalue is
    still present but is now considered deprecated. Thanks to RedBeardCode_ and tomviner_
    for the PR (1626_).
  • optparse type usage now triggers DeprecationWarnings (1740_).
  • optparse backward compatibility supports float/complex types (457_).
  • Refined logic for determining the rootdir, considering only valid
    paths which fixes a number of issues: 1594, 1435 and 1471.
    Updated the documentation according to current behavior. Thanks to
    blueyed
    , davehunt_ and matthiasha_ for the PR.
  • Always include full assertion explanation. The previous behaviour was hiding
    sub-expressions that happened to be False, assuming this was redundant information.
    Thanks bagerard_ for reporting (1503). Thanks to davehunt and
    tomviner_ for PR.
  • Better message in case of not using parametrized variable (see 1539).
    Thanks to tramwaj29
    for the PR.
  • Updated docstrings with a more uniform style.
  • Add stderr write for pytest.exit(msg) during startup. Previously the message was never shown.
    Thanks BeyondEvil_ for reporting 1210. Thanks to JonathonSonesen and
    tomviner_ for the PR.
  • No longer display the incorrect test deselection reason (1372).
    Thanks ronnypfannschmidt
    for the PR.
  • The --resultlog command line option has been deprecated: it is little used
    and there are more modern and better alternatives (see 830).
    Thanks nicoddemus
    for the PR.
  • Improve error message with fixture lookup errors: add an 'E' to the first
    line and '>' to the rest. Fixes 717. Thanks blueyed for reporting and
    a PR, eolo999_ for the initial PR and tomviner_ for his guidance during
    EuroPython2016 sprint.

Bug Fixes

  • Parametrize now correctly handles duplicated test ids.
  • Fix internal error issue when the method argument is missing for
    teardown_method() (1605_).
  • Fix exception visualization in case the current working directory (CWD) gets
    deleted during testing (1235). Thanks bukzor for reporting. PR by
    marscher_.
  • Improve test output for logical expression with brackets (925).
    Thanks DRMacIver
    for reporting and RedBeardCode_ for the PR.
  • Create correct diff for strings ending with newlines (1553).
    Thanks Vogtinator
    for reporting and RedBeardCode_ and
    tomviner_ for the PR.
  • ConftestImportFailure now shows the traceback making it easier to
    identify bugs in conftest.py files (1516). Thanks txomon for
    the PR.
  • Text documents without any doctests no longer appear as "skipped".
    Thanks graingert_ for reporting and providing a full PR (1580_).
  • Fixed collection of classes with custom __new__ method.
    Fixes 1579. Thanks to Stranger6667 for the PR.
  • Fixed scope overriding inside metafunc.parametrize (634).
    Thanks to Stranger6667
    for the PR.
  • Fixed the total tests tally in junit xml output (1798).
    Thanks to cryporchild
    for the PR.
  • Fixed off-by-one error with lines from request.node.warn.
    Thanks to blueyed_ for the PR.

.. _1210: pytest-dev/pytest#1210
.. _1235: pytest-dev/pytest#1235
.. _1351: pytest-dev/pytest#1351
.. _1372: pytest-dev/pytest#1372
.. _1421: pytest-dev/pytest#1421
.. _1426: pytest-dev/pytest#1426
.. _1428: pytest-dev/pytest#1428
.. _1435: pytest-dev/pytest#1435
.. _1441: pytest-dev/pytest#1441
.. _1444: pytest-dev/pytest#1444
.. _1454: pytest-dev/pytest#1454
.. _1461: pytest-dev/pytest#1461
.. _1468: pytest-dev/pytest#1468
.. _1471: pytest-dev/pytest#1471
.. _1474: pytest-dev/pytest#1474
.. _1479: pytest-dev/pytest#1479
.. _1502: pytest-dev/pytest#1502
.. _1503: pytest-dev/pytest#1503
.. _1516: pytest-dev/pytest#1516
.. _1519: pytest-dev/pytest#1519
.. _1520: pytest-dev/pytest#1520
.. _1526: pytest-dev/pytest#1526
.. _1539: pytest-dev/pytest#1539
.. _1544: pytest-dev/pytest#1544
.. _1546: pytest-dev/pytest#1546
.. _1553: pytest-dev/pytest#1553
.. _1562: pytest-dev/pytest#1562
.. _1579: pytest-dev/pytest#1579
.. _1580: pytest-dev/pytest#1580
.. _1594: pytest-dev/pytest#1594
.. _1597: pytest-dev/pytest#1597
.. _1605: pytest-dev/pytest#1605
.. _1616: pytest-dev/pytest#1616
.. _1618: pytest-dev/pytest#1618
.. _1619: pytest-dev/pytest#1619
.. _1626: pytest-dev/pytest#1626
.. _1627: pytest-dev/pytest#1627
.. _1628: pytest-dev/pytest#1628
.. _1629: pytest-dev/pytest#1629
.. _1632: pytest-dev/pytest#1632
.. _1633: pytest-dev/pytest#1633
.. _1664: pytest-dev/pytest#1664
.. _1668: pytest-dev/pytest#1668
.. _1684: pytest-dev/pytest#1684
.. _1723: pytest-dev/pytest#1723
.. _1740: pytest-dev/pytest#1740
.. _1749: pytest-dev/pytest#1749
.. _1778: pytest-dev/pytest#1778
.. _1795: pytest-dev/pytest#1795
.. _1798: pytest-dev/pytest#1798
.. _1809: pytest-dev/pytest#1809
.. _372: pytest-dev/pytest#372
.. _457: pytest-dev/pytest#457
.. _460: pytest-dev/pytest#460
.. _567: pytest-dev/pytest#567
.. _607: pytest-dev/pytest#607
.. _634: pytest-dev/pytest#634
.. _717: pytest-dev/pytest#717
.. _830: pytest-dev/pytest#830
.. _925: pytest-dev/pytest#925

.. _anntzer: https://github.com/anntzer
.. _bagerard: https://github.com/bagerard
.. _BeyondEvil: https://github.com/BeyondEvil
.. _blueyed: https://github.com/blueyed
.. _ceridwen: https://github.com/ceridwen
.. _cryporchild: https://github.com/cryporchild
.. _csaftoiu: https://github.com/csaftoiu
.. _d6e: https://github.com/d6e
.. _davehunt: https://github.com/davehunt
.. _DRMacIver: https://github.com/DRMacIver
.. _eolo999: https://github.com/eolo999
.. _fengxx: https://github.com/fengxx
.. _flub: https://github.com/flub
.. _gprasad84: https://github.com/gprasad84
.. _graingert: https://github.com/graingert
.. _hartym: https://github.com/hartym
.. _JonathonSonesen: https://github.com/JonathonSonesen
.. _kalekundert: https://github.com/kalekundert
.. _kvas-it: https://github.com/kvas-it
.. _marscher: https://github.com/marscher
.. _mikofski: https://github.com/mikofski
.. _milliams: https://github.com/milliams
.. _nikratio: https://github.com/nikratio
.. _novas0x2a: https://github.com/novas0x2a
.. _obestwalter: https://github.com/obestwalter
.. _okken: https://github.com/okken
.. _olegpidsadnyi: https://github.com/olegpidsadnyi
.. _omarkohl: https://github.com/omarkohl
.. _palaviv: https://github.com/palaviv
.. _RedBeardCode: https://github.com/RedBeardCode
.. _sallner: https://github.com/sallner
.. _sober7: https://github.com/sober7
.. _Stranger6667: https://github.com/Stranger6667
.. _suzaku: https://github.com/suzaku
.. _tareqalayan: https://github.com/tareqalayan
.. _taschini: https://github.com/taschini
.. _tramwaj29: https://github.com/tramwaj29
.. _txomon: https://github.com/txomon
.. _Vogtinator: https://github.com/Vogtinator
.. _matthiasha: https://github.com/matthiasha

2.9.2

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

Bug Fixes

  • fix 510: skip tests where one parameterize dimension was empty
    thanks Alex Stapleton for the Report and RonnyPfannschmidt
    for the PR
  • Fix Xfail does not work with condition keyword argument.
    Thanks astraw38_ for reporting the issue (1496) and tomviner
    for PR the (1524_).
  • Fix win32 path issue when puttinging custom config file with absolute path
    in pytest.main(&quot;-c your_absolute_path&quot;).
  • Fix maximum recursion depth detection when raised error class is not aware
    of unicode/encoded bytes.
    Thanks prusse-martin_ for the PR (1506_).
  • Fix pytest.mark.skip mark when used in strict mode.
    Thanks pquentin_ for the PR and RonnyPfannschmidt_ for
    showing how to fix the bug.
  • Minor improvements and fixes to the documentation.
    Thanks omarkohl_ for the PR.
  • Fix --fixtures to show all fixture definitions as opposed to just
    one per fixture name.
    Thanks to hackebrot_ for the PR.

.. _510: pytest-dev/pytest#510
.. _1506: pytest-dev/pytest#1506
.. _1496: pytest-dev/pytest#1496
.. _1524: pytest-dev/pytest#1524

.. _prusse-martin: https://github.com/prusse-martin
.. _astraw38: https://github.com/astraw38

2.9.1

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

Bug Fixes

  • Improve error message when a plugin fails to load.
    Thanks nicoddemus_ for the PR.
  • Fix (1178 &lt;https://github.com/pytest-dev/pytest/issues/1178&gt;):
    pytest.fail with non-ascii characters raises an internal pytest error.
    Thanks nicoddemus
    for the PR.
  • Fix (469): junit parses report.nodeid incorrectly, when params IDs
    contain ::. Thanks tomviner
    for the PR (1431_).
  • Fix (578 &lt;https://github.com/pytest-dev/pytest/issues/578&gt;): SyntaxErrors
    containing non-ascii lines at the point of failure generated an internal
    py.test error.
    Thanks asottile
    for the report and nicoddemus_ for the PR.
  • Fix (1437_): When passing in a bytestring regex pattern to parameterize
    attempt to decode it as utf-8 ignoring errors.
  • Fix (649_): parametrized test nodes cannot be specified to run on the command line.
  • Fix (138_): better reporting for python 3.3+ chained exceptions

.. _1437: pytest-dev/pytest#1437
.. _469: pytest-dev/pytest#469
.. _1431: pytest-dev/pytest#1431
.. _649: pytest-dev/pytest#649
.. _138: pytest-dev/pytest#138

.. _asottile: https://github.com/asottile

2.9.0

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

New Features

  • New pytest.mark.skip mark, which unconditionally skips marked tests.
    Thanks MichaelAquilina_ for the complete PR (1040_).
  • --doctest-glob may now be passed multiple times in the command-line.
    Thanks jab_ and nicoddemus_ for the PR.
  • New -rp and -rP reporting options give the summary and full output
    of passing tests, respectively. Thanks to codewarrior0_ for the PR.
  • pytest.mark.xfail now has a strict option, which makes XPASS
    tests to fail the test suite (defaulting to False). There's also a
    xfail_strict ini option that can be used to configure it project-wise.
    Thanks rabbbit_ for the request and nicoddemus_ for the PR (1355_).
  • Parser.addini now supports options of type bool.
    Thanks nicoddemus_ for the PR.
  • New ALLOW_BYTES doctest option. This strips b prefixes from byte strings
    in doctest output (similar to ALLOW_UNICODE).
    Thanks jaraco_ for the request and nicoddemus_ for the PR (1287_).
  • Give a hint on KeyboardInterrupt to use the --fulltrace option to show the errors.
    Fixes 1366.
    Thanks to hpk42
    for the report and RonnyPfannschmidt_ for the PR.
  • Catch IndexError exceptions when getting exception source location.
    Fixes a pytest internal error for dynamically generated code (fixtures and tests)
    where source lines are fake by intention.

Changes

  • Important: py.code &lt;https://pylib.readthedocs.io/en/latest/code.html&gt;_ has been
    merged into the pytest repository as pytest._code. This decision
    was made because py.code had very few uses outside pytest and the
    fact that it was in a different repository made it difficult to fix bugs on
    its code in a timely manner. The team hopes with this to be able to better
    refactor out and improve that code.
    This change shouldn't affect users, but it is useful to let users aware
    if they encounter any strange behavior.

Keep in mind that the code for pytest._code is private and
experimental, so you definitely should not import it explicitly!

Please note that the original py.code is still available in
pylib &lt;https://pylib.readthedocs.io&gt;_.

  • pytest_enter_pdb now optionally receives the pytest config object.
    Thanks nicoddemus_ for the PR.
  • Removed code and documentation for Python 2.5 or lower versions,
    including removal of the obsolete _pytest.assertion.oldinterpret module.
    Thanks nicoddemus_ for the PR (1226_).
  • Comparisons now always show up in full when CI or BUILD_NUMBER is
    found in the environment, even when -vv isn't used.
    Thanks The-Compiler_ for the PR.
  • --lf and --ff now support long names: --last-failed and
    --failed-first respectively.
    Thanks MichaelAquilina_ for the PR.
  • Added expected exceptions to pytest.raises fail message.
  • Collection only displays progress ("collecting X items") when in a terminal.
    This avoids cluttering the output when using --color=yes to obtain
    colors in CI integrations systems (1397_).

Bug Fixes

  • The -s and -c options should now work under xdist;
    Config.fromdictargs now represents its input much more faithfully.
    Thanks to bukzor_ for the complete PR (680_).
  • Fix (1290): support Python 3.5's ```` operator in assertion rewriting.
    Thanks Shinkenjoe
    for report with test case and `tomviner`_ for the PR.
  • Fix formatting utf-8 explanation messages (1379).
    Thanks biern
    for the PR.
  • Fix traceback style docs_ to describe all of the available options
    (auto/long/short/line/native/no), with auto being the default since v2.6.
    Thanks hackebrot_ for the PR.
  • Fix (1422_): junit record_xml_property doesn't allow multiple records
    with same name.

.. _traceback style docs: https://pytest.org/latest/usage.htmlmodifying-python-traceback-printing

.. _1609: pytest-dev/pytest#1609
.. _1422: pytest-dev/pytest#1422
.. _1379: pytest-dev/pytest#1379
.. _1366: pytest-dev/pytest#1366
.. _1040: pytest-dev/pytest#1040
.. _680: pytest-dev/pytest#680
.. _1287: pytest-dev/pytest#1287
.. _1226: pytest-dev/pytest#1226
.. _1290: pytest-dev/pytest#1290
.. _1355: pytest-dev/pytest#1355
.. _1397: pytest-dev/pytest#1397
.. _biern: https://github.com/biern
.. _MichaelAquilina: https://github.com/MichaelAquilina
.. _bukzor: https://github.com/bukzor
.. _hpk42: https://github.com/hpk42
.. _nicoddemus: https://github.com/nicoddemus
.. _jab: https://github.com/jab
.. _codewarrior0: https://github.com/codewarrior0
.. _jaraco: https://github.com/jaraco
.. _The-Compiler: https://github.com/The-Compiler
.. _Shinkenjoe: https://github.com/Shinkenjoe
.. _tomviner: https://github.com/tomviner
.. _RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
.. _rabbbit: https://github.com/rabbbit
.. _hackebrot: https://github.com/hackebrot
.. _pquentin: https://github.com/pquentin
.. _ioggstream: https://github.com/ioggstream

selenium 2.50.1 -> 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
  • Remove Selenium RC support

2.53.0

  • Adding Options object for use with Python FirefoxDriver
  • Fixed improper usage of super in exceptions module
  • create a temp file for cookies in phantomjs if not specified
  • Pass in the executable that FirefoxBinary finds to the service if there isnt one passed in as a kwarg or capability
  • Applied some DRY and extracted out the keys_to_typing()
  • Fix deselecting options in <select>

2.52.0

  • Fixing case where UnexpectedAlertException doesn't get the alert_text in the error object
  • Firefox: Actually use launch_browser timeout Fixes 1300

2.51.1

  • correcting bundling issue missing README.rst file

2.51.0

  • Firefox updates (see java changelog)

sphinx 1.3.5 -> 1.5.1

1.5.1

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

Features added

  • 3214: Allow to suppress "unknown mimetype" warnings from epub builder using
    :confval:suppress_warnings.

Bugs fixed

  • 3195: Can not build in parallel
  • 3198: AttributeError is raised when toctree has 'self'
  • 3211: Remove untranslated sphinx locale catalogs (it was covered by
    untranslated it_IT)
  • 3212: HTML Builders crashes with docutils-0.13
  • 3207: more latex problems with references inside parsed-literal directive
    (\DUrole)
  • 3205: sphinx.util.requests crashes with old pyOpenSSL (< 0.14)
  • 3220: KeyError when having a duplicate citation
  • 3200: LaTeX: xref inside desc_name not allowed
  • 3228: build_sphinx command crashes when missing dependency
  • 2469: Ignore updates of catalog files for gettext builder. Thanks to
    Hiroshi Ohkubo.
  • 3183: Randomized jump box order in generated index page.

1.5

  • 3069: Even if &#39;babel&#39; key is set to empty string, LaTeX output contains
    one \addto\captions...
  • 3123: user &#39;babel&#39; key setting is not obeyed anymore
  • 3155: Fix JavaScript for html_sourcelink_suffix fails with IE and Opera
  • 3085: keep current directory after breaking build documentation. Thanks to
    Timotheus Kampik.
  • 3181: pLaTeX crashes with a section contains endash
  • 3180: latex: add stretch/shrink between successive singleline or
    multipleline cpp signatures (ref 3072)
  • 3128: globing images does not support .svgz file
  • 3015: fix a broken test on Windows.
  • 1843: Fix documentation of descriptor classes that have a custom metaclass.
    Thanks to Erik Bray.
  • 3190: util.split_docinfo fails to parse multi-line field bodies
  • 3024, 3037: In Python3, application.Sphinx._log crushed when the log message cannot
    be encoded into console encoding.

Testing

  • To simplify, sphinx uses external mock package even if unittest.mock exists.

1.5b1

  • 2432: Fix unwanted * between varargs and keyword only args. Thanks to Alex Grönholm.
  • 3062: Failed to build PDF using 1.5a2 (undefined \hypersetup for
    Japanese documents since PR3030)
  • Better rendering of multiline signatures in html.
  • 777: LaTeX output "too deeply nested" (ref 3096)
  • Let LaTeX image inclusion obey scale before textwidth fit (ref 2865, 3059)
  • 3019: LaTeX fails on description of C function with arguments (ref 3083)
  • fix latex inline literals where &lt; &gt; - gobbled a space

1.5a2

  • 2810: Problems with pdflatex in an Italian document
  • Use latex_elements.papersize to specify papersize of LaTeX in Makefile
  • 2988: linkcheck: retry with GET request if denied HEAD request
  • 2990: linkcheck raises "Can't convert 'bytes' object to str implicitly" error
    if linkcheck_anchors enabled
  • 3004: Invalid link types "top" and "up" are used
  • 3009: Bad rendering of parsed-literals in LaTeX since Sphinx 1.4.4
  • 3000: option directive generates invalid HTML anchors
  • 2984: Invalid HTML has been generated if html_split_index enabled
  • 2986: themes/basic/defindex.html should be changed for html5 friendly
  • 2987: Invalid HTML has been generated if multiple IDs are assigned to a list
  • 2891: HTML search does not provide all the results
  • 1986: Title in PDF Output
  • 147: Problem with latex chapter style
  • 3018: LaTeX problem with page layout dimensions and chapter titles
  • Fix an issue with \pysigline in LaTeX style file (ref 3023)
  • 3038: sphinx.ext.math* raises TypeError if labels are duplicated
  • 3031: incompatibility with LaTeX package tocloft
  • 3003: literal blocks in footnotes are not supported by Latex
  • 3047: spacing before footnote in pdf output is not coherent and allows breaks
  • 3045: HTML search index creator should ignore "raw" content if now html
  • 3039: English stemmer returns wrong word if the word is capitalized
  • Fix make-mode Makefile template (ref 3056, 2936)

1.5a1

  • 2707: (latex) the column width is badly computed for tabular
  • 2799: Sphinx installs roles and directives automatically on importing sphinx
    module. Now Sphinx installs them on running application.
  • sphinx.ext.autodoc crashes if target code imports * from mock modules
    by autodoc_mock_imports.
  • 1953: Sphinx.add_node does not add handlers the translator installed by
    html_translator_class
  • 1797: text builder inserts blank line on top
  • 2894: quickstart main() doesn't use argv argument
  • 2874: gettext builder could not extract all text under the only
    directives
  • 2485: autosummary crashes with multiple source_suffix values
  • 1734: Could not translate the caption of toctree directive
  • Could not translate the content of meta directive (ref: 1734)
  • 2550: external links are opened in help viewer
  • 2687: Running Sphinx multiple times produces 'already registered' warnings

1.4.9

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

Bugs fixed

  • 2936: Fix doc/Makefile that can't build man because doc/man exists
  • 3058: Using the same 'caption' attribute in multiple 'toctree' directives
    results in warning / error
  • 3068: Allow the '=' character in the -D option of sphinx-build.py
  • 3074: add_source_parser() crashes in debug mode
  • 3135: sphinx.ext.autodoc crashes with plain Callable
  • 3150: Fix query word splitter in JavaScript. It behaves as same as Python's regular expression.
  • 3093: gettext build broken on substituted images.
  • 3093: gettext build broken on image node under note directive.
  • imgmath: crashes on showing error messages if image generation failed
  • 3117: LaTeX writer crashes if admonition is placed before first section title
  • 3164: Change search order of sphinx.ext.inheritance_diagram

1.4.8

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

Bugs fixed

  • 2996: The wheel package of Sphinx got crash with ImportError

1.4.7

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

Bugs fixed

  • 2890: Quickstart should return an error consistently on all error conditions
  • 2870: flatten genindex columns' heights.
  • 2856: Search on generated HTML site doesnt find some symbols
  • 2882: Fall back to a GET request on 403 status in linkcheck
  • 2902: jsdump.loads fails to load search index if keywords starts with
    underscore
  • 2900: Fix epub content.opf: add auto generated orphan files to spine.
  • 2899: Fix hasdoc() function in Jinja2 template. It can detect genindex, search collectly.
  • 2901: Fix epub result: skip creating links from image tags to original image files.
  • 2917: inline code is hyphenated on HTML
  • 1462: autosummary warns for namedtuple with attribute with trailing underscore
  • Could not reference equations if :nowrap: option specified
  • 2873: code-block overflow in latex (due to commas)
  • 1060, 2056: sphinx.ext.intersphinx: broken links are generated if relative
    paths are used in intersphinx_mapping
  • 2931: code-block directive with same :caption: causes warning of duplicate
    target. Now code-block and literalinclude does not define hyperlink
    target using its caption automatially.
  • 2962: latex: missing label of longtable
  • 2968: autodoc: show-inheritance option breaks docstrings

1.4.6

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

Incompatible changes

  • 2867: linkcheck builder crashes with six-1.4. Now Sphinx depends on six-1.5 or
    later

Bugs fixed

  • applehelp: Sphinx crashes if hiutil or codesign commands not found
  • Fix make clean abort issue when build dir contains regular files like DS_Store.
  • Reduce epubcheck warnings/errors:
  • Fix DOCTYPE to html5
  • Change extension from .html to .xhtml.
  • Disable search page on epub results
  • 2778: Fix autodoc crashes if obj.dict is a property method and raises exception
  • Fix duplicated toc in epub3 output.
  • 2775: Fix failing linkcheck with servers not supporting identidy encoding
  • 2833: Fix formatting instance annotations in ext.autodoc.
  • 1911: -D option of sphinx-build does not override the extensions variable
  • 2789: sphinx.ext.intersphinx generates wrong hyperlinks if the inventory is given
  • parsing errors for caption of code-blocks are displayed in document (ref: 2845)
  • 2846: singlehtml builder does not include figure numbers
  • 2816: Fix data from builds cluttering the Domain.initial_data class attributes

1.4.5

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

Incompatible changes

  • latex, inclusion of non-inline images from image directive resulted in
    non-coherent whitespaces depending on original image width; new behaviour
    by necessity differs from earlier one in some cases. (ref: 2672)
  • latex, use of \includegraphics to refer to Sphinx custom variant is
    deprecated; in future it will revert to original LaTeX macro, custom one
    already has alternative name \sphinxincludegraphics.

Features added

  • new config option latex_keep_old_macro_names, defaults to True. If False,
    lets macros (for text styling) be defined only with \sphinx-prefixed names.
  • latex writer allows user customization of "shadowed" boxes (topics), via
    three length variables.
  • woff-format web font files now supported by the epub builder.

Bugs fixed

  • jsdump fix for python 3: fixes the HTML search on python > 3
  • 2676: (latex) Error with verbatim text in captions since Sphinx 1.4.4
  • 2629: memoir class crashes LaTeX. Fixed by latex_keep_old_macro_names=False (ref 2675)
  • 2684: sphinx.ext.intersphinx crashes with six-1.4.1
  • 2679: float package needed for &#39;figure_align&#39;: &#39;H&#39; latex option
  • 2671: image directive may lead to inconsistent spacing in pdf
  • 2705: toctree generates empty bullet_list if :titlesonly: specified
  • 2479: sphinx.ext.viewcode uses python2 highlighter by default
  • 2700: HtmlHelp builder has hard coded index.html
  • latex, since 1.4.4 inline literal text is followed by spurious space
  • 2722: C++, fix id generation for var/member declarations to include namespaces.
  • latex, images (from image directive) in lists or quoted blocks did not obey
    indentation (fixed together with 2671)
  • 2733: since Sphinx-1.4.4 make latexpdf generates lots of hyperref warnings
  • 2731: sphinx.ext.autodoc does not access propertymethods which raises any
    exceptions
  • 2666: C++, properly look up nested names involving constructors.
  • 2579: Could not refer a label including both spaces and colons via
    sphinx.ext.intersphinx
  • 2718: Sphinx crashes if the document file is not readable
  • 2699: hyperlinks in help HTMLs are broken if html_file_suffix is set
  • 2723: extra spaces in latex pdf output from multirow cell
  • 2735: latexpdf Underfull \hbox (badness 10000) warnings from title page
  • 2667: latex crashes if resized images appeared in section title
  • 2763: (html) Provide default value for required alt attribute for image
    tags of SVG source, required to validate and now consistent w/ other formats.

1.4.4

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

Bugs fixed

  • 2630: Latex sphinx.sty Notice Enviroment formatting problem
  • 2632: Warning directives fail in quote environment latex build
  • 2633: Sphinx crashes with old styled indices
  • Fix a \begin{\minipage} typo in sphinx.sty from 1.4.2 (ref: 68becb1)
  • 2622: Latex produces empty pages after title and table of contents
  • 2640: 1.4.2 LaTeX crashes if code-block inside warning directive
  • Let LaTeX use straight quotes also in inline code (ref 2627)
  • 2351: latex crashes if enumerated lists are placed on footnotes
  • 2646: latex crashes if math contains twice empty lines
  • 2480: sphinx.ext.autodoc: memory addresses were shown
  • latex: allow code-blocks appearing inside lists and quotes at maximal nesting
    depth (ref 777, 2624, 2651)
  • 2635: Latex code directives produce inconsistent frames based on viewing
    resolution
  • 2639: Sphinx now bundles iftex.sty
  • Failed to build PDF with framed.sty 0.95
  • Sphinx now bundles needspace.sty

1.4.3

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

Bugs fixed

  • 2530: got "Counter too large" error on building PDF if large numbered
    footnotes existed in admonitions
  • width option of figure directive does not work if align option specified at same time (ref: 2595)
  • 2590: The inputenc package breaks compiling under lualatex and xelatex
  • 2540: date on latex front page use different font
  • Suppress "document isn't included in any toctree" warning if the document is included (ref: 2603)
  • 2614: Some tables in PDF output will end up shifted if user sets non zero
    \parindent in preamble
  • 2602: URL redirection breaks the hyperlinks generated by sphinx.ext.intersphinx
  • 2613: Show warnings if merged extensions are loaded
  • 2619: make sure amstext LaTeX package always loaded (ref: d657225, 488ee52,
    9d82cad and 2615)
  • 2593: latex crashes if any figures in the table

1.4.2

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

Features added

  • Now :confval:suppress_warnings accepts following configurations (ref: 2451, 2466):
  • app.add_node
  • app.add_directive
  • app.add_role
  • app.add_generic_role
  • app.add_source_parser
  • image.data_uri
  • image.nonlocal_uri
  • 2453: LaTeX writer allows page breaks in topic contents; and their
    horizontal extent now fits in the line width (with shadow in margin). Also
    warning-type admonitions allow page breaks and their vertical spacing has
    been made more coherent with the one for hint-type notices (ref 2446).
  • 2459: the framing of literal code-blocks in LaTeX output (and not only the
    code lines themselves) obey the indentation in lists or quoted blocks.
  • 2343: the long source lines in code-blocks are wrapped (without modifying
    the line numbering) in LaTeX output (ref 1534, 2304).

Bugs fixed

  • 2370: the equations are slightly misaligned in LaTeX writer
  • 1817, 2077: suppress pep8 warnings on conf.py generated by sphinx-quickstart
  • 2407: building docs crash if document includes large data image URIs
  • 2436: Sphinx does not check version by :confval:needs_sphinx if loading extensions failed
  • 2397: Setup shorthandoff for turkish documents
  • 2447: VerbatimBorderColor wrongly used also for captions of PDF
  • 2456: C++, fix crash related to document merging (e.g., singlehtml and Latex builders).
  • 2446: latex(pdf) sets local tables of contents (or more generally topic
    nodes) in unbreakable boxes, causes overflow at bottom
  • 2476: Omit MathJax markers if :nowrap: is given
  • 2465: latex builder fails in case no caption option is provided to toctree directive
  • Sphinx crashes if self referenced toctree found
  • 2481: spelling mistake for mecab search splitter. Thanks to Naoki Sato.
  • 2309: Fix could not refer "indirect hyperlink targets" by ref-role
  • intersphinx fails if mapping URL contains any port
  • 2088: intersphinx crashes if the mapping URL requires basic auth
  • 2304: auto line breaks in latexpdf codeblocks
  • 1534: Word wrap long lines in Latex verbatim blocks
  • 2460: too much white space on top of captioned literal blocks in PDF output
  • Show error reason when multiple math extensions are loaded (ref: 2499)
  • 2483: any figure number was not assigned if figure title contains only non text objects
  • 2501: Unicode subscript numbers are normalized in LaTeX
  • 2492: Figure directive with :figwidth: generates incorrect Latex-code
  • The caption of figure is always put on center even if :align: was specified
  • 2526: LaTeX writer crashes if the section having only images
  • 2522: Sphinx touches mo files under installed directory that caused permission error.
  • 2536: C++, fix crash when an immediately nested scope has the same name as the current scope.
  • 2555: Fix crash on any-references with unicode.
  • 2517: wrong bookmark encoding in PDF if using LuaLaTeX
  • 2521: generated Makefile causes BSD make crashed if sphinx-build not found
  • 2470: typing backport package causes autodoc errors with python 2.7
  • sphinx.ext.intersphinx crashes if non-string value is used for key of intersphinx_mapping
  • 2518: intersphinx_mapping disallows non alphanumeric keys
  • 2558: unpack error on devhelp builder
  • 2561: Info builder crashes when a footnote contains a link
  • 2565: The descriptions of objects generated by sphinx.ext.autosummary overflow lines at LaTeX writer
  • Extend pdflatex config in sphinx.sty to subparagraphs (ref: 2551)
  • 2445: rst_prolog and rst_epilog affect to non reST sources
  • 2576: sphinx.ext.imgmath crashes if subprocess raises error
  • 2577: sphinx.ext.imgmath: Invalid argument are passed to dvisvgm
  • 2556: Xapian search does not work with Python 3
  • 2581: The search doesn't work if language="es" (spanish)
  • 2382: Adjust spacing after abbreviations on figure numbers in LaTeX writer
  • 2383: The generated footnot

@codingjoe codingjoe merged commit 6018b60 into master Feb 21, 2017
@codingjoe codingjoe deleted the pyup-initial-update branch February 21, 2017 14:07
@coveralls
Copy link

coveralls commented Feb 21, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

9 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 4fa3f7d on pyup-initial-update into 7c2a898 on master.

@codingjoe codingjoe mentioned this pull request Oct 15, 2025
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.

4 participants