media-proxy / fs.youtube

A PyFilesystem2 implementation for accessing YouTube Videos and Playlists
MIT License
12 stars 2 forks source link

Scheduled monthly dependency update for March #39

Closed pyup-bot closed 3 years ago

pyup-bot commented 3 years ago

Update setuptools from 41.2.0 to 54.0.0.

Changelog ### 54.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2582: Simplified build-from-source story by providing bootstrapping metadata in a separate egg-info directory. Build requirements no longer include setuptools itself. Sdist once again includes the pyproject.toml. Project can no longer be installed from source on pip 19.x, but install from source is still supported on pip < 19 and pip >= 20 and install from wheel is still supported with pip >= 9. Changes ^^^^^^^ * 1932: Handled :code:`AttributeError` by raising :code:`DistutilsSetupError` in :code:`dist.check_specifier()` when specifier is not a string -- by :user:`melissa-kun-li` * 2570: Correctly parse cmdclass in setup.cfg. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2553: Added userguide example for markers in extras_require -- by :user:`pwoolvett` ``` ### 53.1.0 ``` ------- Changes ^^^^^^^ * 1937: Preserved case-sensitivity of keys in setup.cfg so that entry point names are case-sensitive. Changed sensitivity of configparser. NOTE: Any projects relying on case-insensitivity will need to adapt to accept the original case as published. -- by :user:`melissa-kun-li` * 2573: Fixed error in uploading a Sphinx doc with the :code:`upload_docs` command. An html builder will be used. Note: :code:`upload_docs` is deprecated for PyPi, but is supported for other sites -- by :user:`melissa-kun-li` ``` ### 53.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 1527: Removed bootstrap script. Now Setuptools requires pip or another pep517-compliant builder such as 'build' to build. Now Setuptools can be installed from Github main branch. ``` ### 52.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2537: Remove fallback support for fetch_build_eggs using easy_install. Now pip is required for setup_requires to succeed. * 2544: Removed 'easy_install' top-level model (runpy entry point) and 'easy_install' console script. * 2545: Removed support for eggsecutables. Changes ^^^^^^^ * 2459: Tests now run in parallel via pytest-xdist, completing in about half the time. Special thanks to :user:`webknjaz` for hard work implementing test isolation. To run without parallelization, disable the plugin with ``tox -- -p no:xdist``. ``` ### 51.3.3 ``` ------- Misc ^^^^ * 2539: Fix AttributeError in Description validation. ``` ### 51.3.2 ``` ------- Misc ^^^^ * 1390: Validation of Description field now is more lenient, emitting a warning and mangling the value to be valid (replacing newlines with spaces). ``` ### 51.3.1 ``` ------- Misc ^^^^ * 2536: Reverted tag deduplication handling. ``` ### 51.3.0 ``` ------- Changes ^^^^^^^ * 1390: Newlines in metadata description/Summary now trigger a ValueError. * 2481: Define ``create_module()`` and ``exec_module()`` methods in ``VendorImporter`` to get rid of ``ImportWarning`` -- by :user:`hroncok` * 2489: ``pkg_resources`` behavior for zipimport now matches the regular behavior, and finds ``.egg-info`` (previoulsy would only find ``.dist-info``) -- by :user:`thatch` * 2529: Fixed an issue where version tags may be added multiple times ``` ### 51.2.0 ``` ------- Changes ^^^^^^^ * 2493: Use importlib.import_module() rather than the deprectated loader.load_module() in pkg_resources namespace delaration -- by :user:`encukou` Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2525: Fix typo in the document page about entry point. -- by :user:`jtr109` Misc ^^^^ * 2534: Avoid hitting network during test_easy_install. ``` ### 51.1.2 ``` ------- Misc ^^^^ * 2505: Disable inclusion of package data as it causes 'tests' to be included as data. ``` ### 51.1.1 ``` ------- Misc ^^^^ * 2534: Avoid hitting network during test_virtualenv.test_test_command. ``` ### 51.1.0 ``` ------- Changes ^^^^^^^ * 2486: Project adopts jaraco/skeleton for shared package maintenance. Misc ^^^^ * 2477: Restore inclusion of rst files in sdist. * 2484: Setuptools has replaced the master branch with the main branch. * 2485: Fixed failing test when pip 20.3+ is present. -- by :user:`yan12125` * 2487: Fix tests with pytest 6.2 -- by :user:`yan12125` ``` ### 51.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2435: Require Python 3.6 or later. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2430: Fixed inconsistent RST title nesting levels caused by 2399 -- by :user:`webknjaz` * 2430: Fixed a typo in Sphinx docs that made docs dev section disappear as a result of PR 2426 -- by :user:`webknjaz` Misc ^^^^ * 2471: Removed the tests that guarantee that the vendored dependencies can be built by distutils. ``` ### 50.3.2 ``` ------- Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2394: Extended towncrier news template to include change note categories. This allows to see what types of changes a given version introduces -- by :user:`webknjaz` * 2427: Started enforcing strict syntax and reference validation in the Sphinx docs -- by :user:`webknjaz` * 2428: Removed redundant Sphinx ``Makefile`` support -- by :user:`webknjaz` Misc ^^^^ * 2401: Enabled test results reporting in AppVeyor CI -- by :user:`webknjaz` * 2420: Replace Python 3.9.0 beta with 3.9.0 final on GitHub Actions. * 2421: Python 3.9 Trove classifier got added to the dist metadata -- by :user:`webknjaz` ``` ### 50.3.1 ``` ------- Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2093: Finalized doc revamp. * 2097: doc: simplify index and group deprecated files * 2102: doc overhaul step 2: break main doc into multiple sections * 2111: doc overhaul step 3: update userguide * 2395: Added a ``:user:`` role to Sphinx config -- by :user:`webknjaz` * 2395: Added an illustrative explanation about the change notes to fragments dir -- by :user:`webknjaz` Misc ^^^^ * 2379: Travis CI test suite now tests against PPC64. * 2413: Suppress EOF errors (and other exceptions) when importing lib2to3. ``` ### 50.3.0 ``` ------- Changes ^^^^^^^ * 2368: In distutils, restore support for monkeypatched CCompiler.spawn per pypa/distutils15. ``` ### 50.2.0 ``` ------- Changes ^^^^^^^ * 2355: When pip is imported as part of a build, leave distutils patched. * 2380: There are some setuptools specific changes in the ``setuptools.command.bdist_rpm`` module that are no longer needed, because they are part of the ``bdist_rpm`` module in distutils in Python 3.5.0. Therefore, code was removed from ``setuptools.command.bdist_rpm``. ``` ### 50.1.0 ``` ------- Changes ^^^^^^^ * 2350: Setuptools reverts using the included distutils by default. Platform maintainers and system integrators and others are *strongly* encouraged to set ``SETUPTOOLS_USE_DISTUTILS=local`` to help identify and work through the reported issues with distutils adoption, mainly to file issues and pull requests with pypa/distutils such that distutils performs as needed across every supported environment. ``` ### 50.0.3 ``` ------- Misc ^^^^ * 2363: Restore link_libpython support on Python 3.7 and earlier (see pypa/distutils9). ``` ### 50.0.2 ``` ------- Misc ^^^^ * 2352: In distutils hack, use absolute import rather than relative to avoid bpo-30876. ``` ### 50.0.1 ``` ------- Misc ^^^^ * 2357: Restored Python 3.5 support in distutils.util for missing ``subprocess._optim_args_from_interpreter_flags``. * 2358: Restored AIX support on Python 3.8 and earlier. * 2361: Add Python 3.10 support to _distutils_hack. Get the 'Loader' abstract class from importlib.abc rather than importlib.util.abc (alias removed in Python 3.10). ``` ### 50.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2232: Once again, Setuptools overrides the stdlib distutils on import. For environments or invocations where this behavior is undesirable, users are provided with a temporary escape hatch. If the environment variable ``SETUPTOOLS_USE_DISTUTILS`` is set to ``stdlib``, Setuptools will fall back to the legacy behavior. Use of this escape hatch is discouraged, but it is provided to ease the transition while proper fixes for edge cases can be addressed. Changes ^^^^^^^ * 2334: In MSVC module, refine text in error message. ``` ### 49.6.0 ``` ------- Changes ^^^^^^^ * 2129: In pkg_resources, no longer detect any pathname ending in .egg as a Python egg. Now the path must be an unpacked egg or a zip file. ``` ### 49.5.0 ``` ------- Changes ^^^^^^^ * 2306: When running as a PEP 517 backend, setuptools does not try to install ``setup_requires`` itself. They are reported as build requirements for the frontend to install. ``` ### 49.4.0 ``` ------- Changes ^^^^^^^ * 2310: Updated vendored packaging version to 20.4. ``` ### 49.3.2 ``` ------- Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2300: Improve the ``safe_version`` function documentation Misc ^^^^ * 2297: Once again, in stubs prefer exec_module to the deprecated load_module. ``` ### 49.3.1 ``` ------- Changes ^^^^^^^ * 2316: Removed warning when ``distutils`` is imported before ``setuptools`` when ``distutils`` replacement is not enabled. ``` ### 49.3.0 ``` ------- Changes ^^^^^^^ * 2259: Setuptools now provides a .pth file (except for editable installs of setuptools) to the target environment to ensure that when enabled, the setuptools-provided distutils is preferred before setuptools has been imported (and even if setuptools is never imported). Honors the SETUPTOOLS_USE_DISTUTILS environment variable. ``` ### 49.2.1 ``` ------- Misc ^^^^ * 2257: Fixed two flaws in distutils._msvccompiler.MSVCCompiler.spawn. ``` ### 49.2.0 ``` ------- Changes ^^^^^^^ * 2230: Now warn the user when setuptools is imported after distutils modules have been loaded (exempting PyPy for 3.6), directing the users of packages to import setuptools first. ``` ### 49.1.3 ``` ------- Misc ^^^^ * 2212: (Distutils) Allow spawn to accept environment. Avoid monkey-patching global state. * 2249: Fix extension loading technique in stubs. ``` ### 49.1.2 ``` ------- Changes ^^^^^^^ * 2232: In preparation for re-enabling a local copy of distutils, Setuptools now honors an environment variable, SETUPTOOLS_USE_DISTUTILS. If set to 'stdlib' (current default), distutils will be used from the standard library. If set to 'local' (default in a imminent backward-incompatible release), the local copy of distutils will be used. ``` ### 49.1.1 ``` ------- Misc ^^^^ * 2094: Removed pkg_resources.py2_warn module, which is no longer reachable. ``` ### 49.1.0 ``` ------- Changes ^^^^^^^ * 2228: Disabled distutils adoption for now while emergent issues are addressed. ``` ### 49.0.1 ``` ------- Misc ^^^^ * 2228: Applied fix for pypa/distutils3, restoring expectation that spawn will raise a DistutilsExecError when attempting to execute a missing file. ``` ### 49.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2165: Setuptools no longer installs a site.py file during easy_install or develop installs. As a result, .eggs on PYTHONPATH will no longer take precedence over other packages on sys.path. If this issue affects your production environment, please reach out to the maintainers at 2165. Changes ^^^^^^^ * 2137: Removed (private) pkg_resources.RequirementParseError, now replaced by packaging.requirements.InvalidRequirement. Kept the name for compatibility, but users should catch InvalidRequirement instead. * 2180: Update vendored packaging in pkg_resources to 19.2. Misc ^^^^ * 2199: Fix exception causes all over the codebase by using ``raise new_exception from old_exception`` ``` ### 48.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2143: Setuptools adopts distutils from the Python 3.9 standard library and no longer depends on distutils in the standard library. When importing ``setuptools`` or ``setuptools.distutils_patch``, Setuptools will expose its bundled version as a top-level ``distutils`` package (and unload any previously-imported top-level distutils package), retaining the expectation that ``distutils``' objects are actually Setuptools objects. To avoid getting any legacy behavior from the standard library, projects are advised to always "import setuptools" prior to importing anything from distutils. This behavior happens by default when using ``pip install`` or ``pep517.build``. Workflows that rely on ``setup.py (anything)`` will need to first ensure setuptools is imported. One way to achieve this behavior without modifying code is to invoke Python thus: ``python -c "import setuptools; exec(open('setup.py').read())" (anything)``. ``` ### 47.3.2 ``` ------- Misc ^^^^ * 2071: Replaced references to the deprecated imp package with references to importlib ``` ### 47.3.1 ``` ------- Misc ^^^^ * 1973: Removed ``pkg_resources.py31compat.makedirs`` in favor of the stdlib. Use ``os.makedirs()`` instead. * 2198: Restore ``__requires__`` directive in easy-install wrapper scripts. ``` ### 47.3.0 ``` ------- Changes ^^^^^^^ * 2197: Console script wrapper for editable installs now has a unified template and honors importlib_metadata if present for faster script execution on older Pythons. Misc ^^^^ * 2195: Fix broken entry points generated by easy-install (pip editable installs). ``` ### 47.2.0 ``` ------- Changes ^^^^^^^ * 2194: Editable-installed entry points now load significantly faster on Python versions 3.8+. * 1471: Incidentally fixed by 2194 on Python 3.8 or when importlib_metadata is present. ``` ### 47.1.1 ``` ------- Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2156: Update mailing list pointer in developer docs ``` ### 47.1.0 ``` ------- Changes ^^^^^^^ * 2070: In wheel-to-egg conversion, use simple pkg_resources-style namespace declaration for packages that declare namespace_packages. ``` ### 47.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2094: Setuptools now actively crashes under Python 2. Python 3.5 or later is required. Users of Python 2 should use ``setuptools<45``. Changes ^^^^^^^ * 1700: Document all supported keywords by migrating the ones from distutils. ``` ### 46.4.0 ``` ------- Changes ^^^^^^^ * 1753: ``attr:`` now extracts variables through rudimentary examination of the AST, thereby supporting modules with third-party imports. If examining the AST fails to find the variable, ``attr:`` falls back to the old behavior of importing the module. Works on Python 3 only. ``` ### 46.3.1 ``` ------- No significant changes. ``` ### 46.3.0 ``` ------- Changes ^^^^^^^ * 2089: Package index functionality no longer attempts to remove an md5 fragment from the index URL. This functionality, added for distribute 163 is no longer relevant. Misc ^^^^ * 2041: Preserve file modes during pkg files copying, but clear read only flag for target afterwards. * 2105: Filter ``2to3`` deprecation warnings from ``TestDevelop.test_2to3_user_mode``. ``` ### 46.2.0 ``` ------- Changes ^^^^^^^ * 2040: Deprecated the ``bdist_wininst`` command. Binary packages should be built as wheels instead. * 2062: Change 'Mac OS X' to 'macOS' in code. * 2075: Stop recognizing files ending with ``.dist-info`` as distribution metadata. * 2086: Deprecate 'use_2to3' functionality. Packagers are encouraged to use single-source solutions or build tool chains to manage conversions outside of setuptools. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 1698: Added documentation for ``build_meta`` (a bare minimum, not completed). Misc ^^^^ * 2082: Filter ``lib2to3`` ``PendingDeprecationWarning`` and ``DeprecationWarning`` in tests, because ``lib2to3`` is `deprecated in Python 3.9 <https://bugs.python.org/issue40360>`_. ``` ### 46.1.3 ``` ------- No significant changes. ``` ### 46.1.2 ``` ------- Misc ^^^^ * 1458: Added template for reporting Python 2 incompatibilities. ``` ### 46.1.1 ``` ------- No significant changes. ``` ### 46.1.0 ``` ------- Changes ^^^^^^^ * 308: Allow version number normalization to be bypassed by wrapping in a 'setuptools.sic()' call. * 1424: Prevent keeping files mode for package_data build. It may break a build if user's package data has read only flag. * 1431: In ``easy_install.check_site_dir``, ensure the installation directory exists. * 1563: In ``pkg_resources`` prefer ``find_spec`` (PEP 451) to ``find_module``. ``` ### 46.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 65: Once again as in 3.0, removed the Features feature. Changes ^^^^^^^ * 1890: Fix vendored dependencies so importing ``setuptools.extern.some_module`` gives the same object as ``setuptools._vendor.some_module``. This makes Metadata picklable again. * 1899: Test suite now fails on warnings. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2011: Fix broken link to distutils docs on package_data Misc ^^^^ * 1991: Include pkg_resources test data in sdist, so tests can be executed from it. ``` ### 45.3.0 ``` ------- Changes ^^^^^^^ * 1557: Deprecated eggsecutable scripts and updated docs. * 1904: Update msvc.py to use CPython 3.8.0 mechanism to find msvc 14+ ``` ### 45.2.0 ``` ------- Changes ^^^^^^^ * 1905: Fixed defect in _imp, introduced in 41.6.0 when the 'tests' directory is not present. * 1941: Improve editable installs with PEP 518 build isolation: * The ``--user`` option is now always available. A warning is issued if the user site directory is not available. * The error shown when the install directory is not in ``PYTHONPATH`` has been turned into a warning. * 1981: Setuptools now declares its ``tests`` and ``docs`` dependencies in metadata (extras). * 1985: Add support for installing scripts in environments where bdist_wininst is missing (i.e. Python 3.9). Misc ^^^^ * 1968: Add flake8-2020 to check for misuse of sys.version or sys.version_info. ``` ### 45.1.0 ``` ------- Changes ^^^^^^^ * 1458: Add minimum sunset date and preamble to Python 2 warning. * 1704: Set sys.argv[0] in setup script run by build_meta.__legacy__ * 1974: Add Python 3 Only Trove Classifier and remove universal wheel declaration for more complete transition from Python 2. ``` ### 45.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 1458: Drop support for Python 2. Setuptools now requires Python 3.5 or later. Install setuptools using pip >=9 or pin to Setuptools <45 to maintain 2.7 support. Changes ^^^^^^^ * 1959: Fix for Python 4: replace unsafe six.PY3 with six.PY2 ``` ### 44.1.1 ``` ------- Misc ^^^^ * 2158: Avoid loading working set during ``Distribution.finalize_options`` prior to invoking ``_install_setup_requires``, broken since v42.0.0. ``` ### 44.1.0 ``` ------- Changes ^^^^^^^ * 1704: Set sys.argv[0] in setup script run by build_meta.__legacy__ * 1959: Fix for Python 4: replace unsafe six.PY3 with six.PY2 * 1994: Fixed a bug in the "setuptools.finalize_distribution_options" hook that lead to ignoring the order attribute of entry points managed by this hook. ``` ### 44.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 1908: Drop support for Python 3.4. ``` ### 43.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 1634: Include ``pyproject.toml`` in source distribution by default. Projects relying on the previous behavior where ``pyproject.toml`` was excluded by default should stop relying on that behavior or add ``exclude pyproject.toml`` to their MANIFEST.in file. Changes ^^^^^^^ * 1927: Setuptools once again declares 'setuptools' in the ``build-system.requires`` and adds PEP 517 build support by declaring itself as the ``build-backend``. It additionally specifies ``build-system.backend-path`` to rely on itself for those builders that support it. ``` ### 42.0.2 ``` ------- Changes ^^^^^^^ * 1921: Fix support for easy_install's ``find-links`` option in ``setup.cfg``. * 1922: Build dependencies (setup_requires and tests_require) now install transitive dependencies indicated by extras. ``` ### 42.0.1 ``` ------- Changes ^^^^^^^ * 1918: Fix regression in handling wheels compatibility tags. ``` ### 42.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 1830, 1909: Mark the easy_install script and setuptools command as deprecated, and use `pip <https://pip.pypa.io/en/stable/>`_ when available to fetch/build wheels for missing ``setup_requires``/``tests_require`` requirements, with the following differences in behavior: * support for ``python_requires`` * better support for wheels (proper handling of priority with respect to PEP 425 tags) * PEP 517/518 support * eggs are not supported * no support for the ``allow_hosts`` easy_install option (``index_url``/``find_links`` are still honored) * pip environment variables are honored (and take precedence over easy_install options) * 1898: Removed the "upload" and "register" commands in favor of `twine <https://pypi.org/p/twine>`_. Changes ^^^^^^^ * 1767: Add support for the ``license_files`` option in ``setup.cfg`` to automatically include multiple license files in a source distribution. * 1829: Update handling of wheels compatibility tags: * add support for manylinux2010 * fix use of removed 'm' ABI flag in Python 3.8 on Windows * 1861: Fix empty namespace package installation from wheel. * 1877: Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", enabling plugins like `setuptools_scm <https://pypi.org/project/setuptools_scm>`_ to configure options on the distribution at finalization time. ``` ### 41.6.0 ``` ------- Changes ^^^^^^^ * 479: Replace usage of deprecated ``imp`` module with local re-implementation in ``setuptools._imp``. ``` ### 41.5.1 ``` ------- Changes ^^^^^^^ * 1891: Fix code for detecting Visual Studio's version on Windows under Python 2. ``` ### 41.5.0 ``` ------- Changes ^^^^^^^ * 1811: Improve Visual C++ 14.X support, mainly for Visual Studio 2017 and 2019. * 1814: Fix ``pkg_resources.Requirement`` hash/equality implementation: take PEP 508 direct URL into account. * 1824: Fix tests when running under ``python3.10``. * 1878: Formally deprecated the ``test`` command, with the recommendation that users migrate to ``tox``. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 1860: Update documentation to mention the egg format is not supported by pip and dependency links support was dropped starting with pip 19.0. * 1862: Drop ez_setup documentation: deprecated for some time (last updated in 2016), and still relying on easy_install (deprecated too). * 1868: Drop most documentation references to (deprecated) EasyInstall. * 1884: Added a trove classifier to document support for Python 3.8. Misc ^^^^ * 1886: Added Python 3.8 release to the Travis test matrix. ``` ### 41.4.0 ``` ------- Changes ^^^^^^^ * 1847: In declarative config, now traps errors when invalid ``python_requires`` values are supplied. ``` ### 41.3.0 ``` ------- Changes ^^^^^^^ * 1690: When storing extras, rely on OrderedSet to retain order of extras as indicated by the packager, which will also be deterministic on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+. Misc ^^^^ * 1858: Fixed failing integration test triggered by 'long_description_content_type' in packaging. ```
Links - PyPI: https://pypi.org/project/setuptools - Changelog: https://pyup.io/changelogs/setuptools/ - Repo: https://github.com/pypa/setuptools

Update docutils from 0.15.2 to 0.16.

Changelog ### 0.16 ``` ========================= .. Note:: Docutils 0.15.x is the last version supporting Python 2.6, 3.3 and 3.4. Docutils 0.16.x supports Python 2.7 and Python >= 3.5 natively, without the use of the ``2to3`` tool. * reStructuredText: - Keep `backslash escapes`__ in the document tree. This allows, e.g., escaping of author-separators in `bibliographic fields`__. __ http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#escaping-mechanism __ docs/ref/rst/restructuredtext.htmlbibliographic-fields * LaTeX writer: - Informal titles of type "rubric" default to bold-italic and left aligned. - Deprecate ``\docutilsrole`` prefix for styling commands: use ``\DUrole`` instead. - Fix topic subtitle. - Add "latex writers" to the `config_section_dependencies`. - Ignore classes for `rubric` elements (class wrapper interferes with LaTeX formatting). * tools/buildhtml.py - New option "--html-writer" allows to select "html__" (default), "html4" or "html5". __ html: docs/user/html.htmlhtml * docutils/io.py - Remove the `handle_io_errors` option from io.FileInput/Output. * docutils/nodes.py - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name. .. _auto_id_prefix: docs/user/config.htmlauto-id-prefix * Various bugfixes and improvements (see HISTORY_). ```
Links - PyPI: https://pypi.org/project/docutils - Changelog: https://pyup.io/changelogs/docutils/ - Homepage: http://docutils.sourceforge.net/

Update Pygments from 2.4.2 to 2.8.0.

Changelog ### 2.8.0 ``` ------------- (released February 14, 2021) - Added lexers: * AMDGPU (1626) * CDDL (1379, 1239) * Futhark (1691) * Graphviz/DOT (1657, 731) - Updated lexers: * AutoIt: Support single quoted strings (1667, 1663) * C/C++ & related: Fix mishandling '*/' (1695) * Cocoa: Add builtin types (1703) * Console (1672) * Eiffel: Fix performance issues (1658) * Fortran: Improve combined keyword detection (1677, 1188) * J: Fix operator ``?`` lexing (1700, 1149) * JavaScript/TypeScript: Fix escapes in backtick strings (1679, 1686) * Kotlin: Improve string interpolation, modifier keyword handling, and various small issues (1699) * LESS: Support single-line comments (1046) * Matlab: - Add support for class properties (1466) - Update builtin functions (1705) - Various cleanups (1673) * Python: Improve handling of raw f-strings (1681, 1683) * Ruby: Better method name handling (1531) * Stata: Updated keywords (1470) - Added styles: * Material (1662) * Zenburn (1659) - The `pygmentize` script now uses `argparse`, all options should work as before - Add `pygmentize -C` option to guess a lexer from content - With this release, Pygments moves to a new internal testing system (1649.) See ``Contributing.md`` for details. The main advantage of this new change is a much better test coverage of all existing example lexers. It also makes it much easier to add new test snippets. - Make guessing prefer Python 3 lexer - Do not guess MIME or SQL without reason - Changed setuptools to use a declarative config through ``setup.cfg``. Building Pygments now requires setuptools 39.2+. - Add markdown to MarkdownLexer aliases (1687) - Change line number handling * In ``<table>`` based output, the ``td.linenos`` element will have either a ``normal`` or ``special`` class attached. Previously, only ``special`` line numbers got a class. This prevents styles from getting applied twice - once via ``<pre>``, once via ``<span class="special">``. This also means that ``td.linenos pre`` is no longer styled, instead, use ``td.linenos .normal`` and ``td.linenos .special``. * In the "inline" style, the DOM element order was changed. The line number is added first, then the line is wrapped is wrapped by the highlighter. This fixes lines not being fully highlighted. * The visual output for inline and non-inline line numbers & highlighting, as well as class-based and inline styling is now consistent. * Line number styles are set to ``background-color: transparent`` and ``color: inherit`` by default. This works much better with dark styles which don't have colors set for line numbers. - Remove "raw" alias from RawTokenLexer, so that it cannot be selected by alias. - Fix RawTokenLexer to work in Python 3 and handle exceptions. - Add prompt colors to the Solarized theme (1529) - Image formatter supports background colors now (1374) - Add support for anchors in conjunction with inline line numbers (1591) - Modernize the codebase using ``pyupgrade`` (1622) - Add support for line numbers to the ``terminal256`` formatter (1674, 1653) - Improve ``analyze_text`` logic for ``ECL`` (1610) - Improve ``analyze_text`` logic for ``CBM Basic V2`` (1607) - Improve LaTeX formatter (1708, 1709) ``` ### 2.7.4 ``` ------------- (released January 12, 2021) - Updated lexers: - Apache configurations: Improve handling of malformed tags (1656) - CSS: Add support for variables (1633, 1666) - Crystal (1650, 1670) - Coq (1648) - Fortran: Add missing keywords (1635, 1665) - Ini (1624) - JavaScript and variants (1647 -- missing regex flags, 1651) - Markdown (1623, 1617) - Shell - Lex trailing whitespace as part of the prompt (1645) - Add missing ``in`` keyword (1652) - SQL - Fix keywords (1668) - Typescript: Fix incorrect punctuation handling (1510, 1511) - Fix infinite loop in SML lexer (1625) - Fix backtracking string regexes in JavaScript/TypeScript, Modula2 and many other lexers (1637) - Limit recursion with nesting Ruby heredocs (1638) - Fix a few inefficient regexes for guessing lexers - Fix the raw token lexer handling of Unicode (1616) - Revert a private API change in the HTML formatter (1655) -- please note that private APIs remain subject to change! - Fix several exponential/cubic-complexity regexes found by Ben Caller/Doyensec (1675) - Fix incorrect MATLAB example (1582) Thanks to Google's OSS-Fuzz project for finding many of these bugs. ``` ### 2.7.3 ``` ------------- (released December 6, 2020) - Updated lexers: * Ada (1581) * HTML (1615, 1614) * Java (1594, 1586) * JavaScript (1605, 1589, 1588) * JSON (1569 -- this is a complete rewrite) * Lean (1601) * LLVM (1612) * Mason (1592) * MySQL (1555, 1551) * Rust (1608) * Turtle (1590, 1553) - Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (1600) - The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text (1213, 1611) - Documentation fixes (1609, 1599, 1598) - Fixed duplicated Juttle language alias (1604, 1606) - Added support for Kotlin scripts (1587) - Removed CSS rule which forced margin to 0 ``` ### 2.7.2 ``` ------------- (released October 24, 2020) - Updated lexers: * Latex (1517, 1516) * LLVM (1565) * SPARQL (1559) - Fix Python console/traceback lexer problems with custom exceptions without messages (1548) - Allow loading ttc fonts on Mac/image formatter (1223) - Improve ``analyze_text`` across a variety of lexers (1549) - Remove CSS rule which forced the vertical padding to 0 for line numbers (1583, 1579) - Fix ``TNTLexer`` crashing on unexpected EOL (1568, 1570) - ``regexlint`` can be now run locally as part of ``tox`` tests (1557) - Fix typos (1550, 1562) - Add Python 3.9 as a supported version (1554) ``` ### 2.7.1 ``` ------------- (released September 16, 2020) - Fixed a regression in the JSON lexer (1544) ``` ### 2.7.0 ``` ------------- (released September 12, 2020) - Added lexers: * Arrow (1481, 1499) * BARE (1488) * Devicetree (1434) * F* (1409) * GDScript (1457) * Pointless (1494) * PromQL (1506) * PsySH (1438) * Singularity (1285) * TiddlyWiki5 (1390) * TNT (1414) * YANG (1408, 1428) - Updated lexers: * APL (1503) * C++ (1350, which also fixes: 1222, 996, 906, 828, 1162, 1166, 1396) * Chapel (1423) * CMake (1491) * CSound (1509) * Cython (1507) * Dart (1449) * Fennel (1535) * Fortran (1442) * GAS (1530) * HTTP (1432, 1520, 1521) * Inform 6 (1461) * Javascript (1533) * JSON (1065, 1528) * Lean (1415) * Matlab (1399) * Markdown (1492, 1495) * MySQL (975, 1063, 1453, 1527) * NASM (1465) * Nim (1426) * PostgreSQL (1513) * PowerShell (1398, 1497) * Protobuf (1505) * Robot (1480) * SQL (1402) * SystemVerilog (1436, 1452, 1454, 1460, 1462, 1463, 1464, 1471, 1496, 1504) * TeraTerm (1337) * XML (1502) - Added a new filter for math symbols (1406) - The Kconfig lexer will match Kconfig derivative names now (1458) - Improved HTML formatter output (1500) - ``.markdown`` is now recognized as an extension for Markdown files (1476) - Fixed line number colors for Solarized (1477, 1356) - Improvements to exception handling (1478) - Improvements to tests (1532, 1533, 1539) - Various code cleanups (1536, 1537, 1538) ``` ### 2.6.1 ``` ------------- (released March 8, 2020) - This release fixes a packaging issue. No functional changes. ``` ### 2.6 ``` ----------- (released March 8, 2020) - Running Pygments on Python 2.x is no longer supported. (The Python 2 lexer still exists.) - Added lexers: * Linux kernel logs (1310) * LLVM MIR (1361) * MiniScript (1397) * Mosel (1287, 1326) * Parsing Expression Grammar (1336) * ReasonML (1386) * Ride (1319, 1321) * Sieve (1257) * USD (1290) * WebIDL (1309) - Updated lexers: * Apache2 (1378) * Chapel (1357) * CSound (1383) * D (1375, 1362) * Haskell (1347, 1177) * Idris (1360) * Perl6/Raku lexer (1344) * Python3 (1382, 1385) * Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous new syntax (1320) * SQL: Add temporal support keywords (1402) - The 256-color/true-color terminal formatters now support the italic attribute in styles (1288) - Support HTTP 2/3 header (1308) - Support missing reason in HTTP header (1322) - Boogie/Silver: support line continuations and triggers, move contract keywords to separate category (1299) - GAS: support C-style comments (1291) - Fix names in S lexer (1330, 1333) - Fix numeric literals in Ada (1334) - Recognize ``.mjs`` files as Javascript (1392) - Recognize ``.eex`` files as Elixir (1387) - Fix ``re.MULTILINE`` usage (1388) - Recognize ``pipenv`` and ``poetry`` dependency & lock files (PR1376) - Improve font search on Windows (1247) - Remove unused script block (1401) ``` ### 2.5.2 ``` ------------- (released November 29, 2019) - Fix incompatibility with some setuptools versions (PR1316) - Fix lexing of ReST field lists (PR1279) - Fix lexing of Matlab keywords as field names (PR1282) - Recognize double-quoted strings in Matlab (PR1278) - Avoid slow backtracking in Vim lexer (PR1312) - Fix Scala highlighting of types (PR1315) - Highlight field lists more consistently in ReST (PR1279) - Fix highlighting Matlab keywords in field names (PR1282) - Recognize Matlab double quoted strings (PR1278) - Add some Terraform keywords - Update Modelica lexer to 3.4 - Update Crystal examples ``` ### 2.5.1 ``` ------------- (released November 26, 2019) - This release fixes a packaging issue. No functional changes. ``` ### 2.5.0 ``` ------------- (released November 26, 2019) - Added lexers: * Email (PR1246) * Erlang, Elixir shells (PR823, 1521) * Notmuch (PR1264) * `Scdoc <https://git.sr.ht/~sircmpwn/scdoc>`_ (PR#1268) * `Solidity <https://solidity.readthedocs.io/>`_ (#1214) * `Zeek <https://www.zeek.org>`_ (new name for Bro) (PR#1269) * `Zig <https://ziglang.org/>`_ (PR#820) - Updated lexers: * Apache2 Configuration (PR1251) * Bash sessions (1253) * CSound (PR1250) * Dart * Dockerfile * Emacs Lisp * Handlebars (PR773) * Java (1101, 987) * Logtalk (PR1261) * Matlab (PR1271) * Praat (PR1277) * Python3 (PR1255, PR1400) * Ruby * YAML (1528) * Velocity - Added styles: * Inkpot (PR1276) - The ``PythonLexer`` class is now an alias for the former ``Python3Lexer``. The old ``PythonLexer`` is available as ``Python2Lexer``. Same change has been done for the ``PythonTracebackLexer``. The ``python3`` option for the ``PythonConsoleLexer`` is now true by default. - Bump ``NasmLexer`` priority over ``TasmLexer`` for ``.asm`` files (fixes 1326) - Default font in the ``ImageFormatter`` has been updated (928, PR1245) - Test suite switched to py.test, removed nose dependency (1490) - Reduce ``TeraTerm`` lexer score -- it used to match nearly all languages (1256) - Treat ``Skylark``/``Starlark`` files as Python files (PR1259) - Image formatter: actually respect ``line_number_separator`` option - Add LICENSE file to wheel builds - Agda: fix lambda highlighting - Dart: support ` annotations - Dockerfile: accept ``FROM ... AS`` syntax - Emacs Lisp: add more string functions - GAS: accept registers in directive arguments - Java: make structural punctuation (braces, parens, colon, comma) ``Punctuation``, not ``Operator`` (987) - Java: support ``var`` contextual keyword (1101) - Matlab: Fix recognition of ``function`` keyword (PR1271) - Python: recognize ``.jy`` filenames (976) - Python: recognize ``f`` string prefix (1156) - Ruby: support squiggly heredocs - Shell sessions: recognize Virtualenv prompt (PR1266) - Velocity: support silent reference syntax ```
Links - PyPI: https://pypi.org/project/pygments - Changelog: https://pyup.io/changelogs/pygments/ - Homepage: https://pygments.org/

Update codecov from 2.0.15 to 2.1.11.

Changelog ### 2.1.11 ``` Fixes - 305 Added option to disable printing of gcov-out - 308 Handle exceptions that don't have a returncode Dependencies and Misc - 301 Update to Python 3.9 ``` ### 2.1.10 ``` Fixes - [148](https://github.com/codecov/codecov-python/pull/148) Output elapsed time with S3 upload - [153](https://github.com/codecov/codecov-python/pull/153) Improve error reporting in the "try_run" function and correctly include original command output in the error message - [295](https://github.com/codecov/codecov-python/pull/295) Added sleep between upload retries. - [297](https://github.com/codecov/codecov-python/pull/297) Ignore emacs lisp files - [298](https://github.com/codecov/codecov-python/pull/298) Fix error try_to_run using | without shell=True (fix 284) Dependencies and Misc - [290](https://github.com/codecov/codecov-python/pull/290) Bump coverage from 4.5.4 to 5.2.1 - [291](https://github.com/codecov/codecov-python/pull/291) Update python versions - [292](https://github.com/codecov/codecov-python/pull/292) Add license scan report and status - [294](https://github.com/codecov/codecov-python/pull/294) Update README with accurate links - [296](https://github.com/codecov/codecov-python/pull/296) Bump coverage from 5.2.1 to 5.3 ``` ### 2.1.9 ``` - [289](https://github.com/codecov/codecov-python/pull/289)Remove token restriction as it is changed server-side ``` ### 2.1.8 ``` - [285](https://github.com/codecov/codecov-python/pull/285)Add support for CODECOV_FLAGS - [276](https://github.com/codecov/codecov-python/pull/276)Add ability to specify number of upload retries ``` ### 2.1.7 ``` - [279](https://github.com/codecov/codecov-python/pull/279) Fix pinned coverage version ``` ### 2.1.6 ``` - [275](https://github.com/codecov/codecov-python/pull/275) Fix GitHub Actions implementation ``` ### 2.1.5 ``` - [273](https://github.com/codecov/codecov-python/pull/273) Implement retries on Codecov API calls - [265](https://github.com/codecov/codecov-python/pull/265) Add GitHub Actions CI detection - [267](https://github.com/codecov/codecov-python/pull/267) Add CODECOV_NAME as default for name ``` ### 2.1.4 ``` - [260](https://github.com/codecov/codecov-python/pull/260) Enforce black formatting - [169](https://github.com/codecov/codecov-python/pull/169) Fix command line quoting on Windows - [216](https://github.com/codecov/codecov-python/pull/216) Fix GitLab CI project directory detection on Windows - [264](https://github.com/codecov/codecov-python/pull/264) Fix GitLab CI post version 9 - [262](https://github.com/codecov/codecov-python/pull/262) Check text for NoneType on writes - [266](https://github.com/codecov/codecov-python/pull/266) Include the cacert in the PUT call when uploading to S3 - [263](https://github.com/codecov/codecov-python/pull/263) Fixed gcov not being found in certain instances ``` ### 2.1.3 ``` - Fix find command not working on Windows - Add support for gzipping reports - Dynamic syncing of version ``` ### 2.1.1 ``` - Fix command when neither hg or git are not available ``` ### 2.1.0 ``` - Remove x-amz-acl header - Reformat with Black ``` ### 2.0.22 ``` - Cleaning TOC generation ``` ### 2.0.21 ``` - fixed string issues ``` ### 2.0.20 ``` - fixed broken subprocess handling ``` ### 2.0.19 ``` - fixed broken subprocess handling ``` ### 2.0.18 ``` - fixed broken subprocess handling ``` ### 2.0.17 ``` - fixed reported command injection vulnerability. ``` ### 2.0.16 ``` - fixed reported command injection vulnerability. ```
Links - PyPI: https://pypi.org/project/codecov - Changelog: https://pyup.io/changelogs/codecov/ - Repo: https://github.com/codecov/codecov-python

Update green from 3.0.0 to 3.2.5.

Changelog ### 3.2.5 ``` 23 Nov 2020 - Fix failing/erroring SubTests not properly reporting output to stdout/stderr. Resolves 238. ``` ### 3.2.4 ``` 1 Nov 2020 - Fix `-j/--junit-report` so that it writes to the properly-named file when specified from a config file. Contributed by jwaschkau in 236. - Fix Windows CI by dropping a broken Python 2 test. ``` ### 3.2.3 ``` 11 Oct 2020 - Properly clean up temporary files in some versions/platforms. Contributed by Icerman in 232. Resolves 228. - Fix an unwanted "1A" appearing at the beginning of test result lines in CI such as GitHub Actions and AppVeyor. ``` ### 3.2.2 ``` 22 Sep 2020 - Fix help string for the `-O/--clear-omit` option. Resolves 231. - Tweak a bit of green's self-coverage to adjust for making releases in Python 3.8 ``` ### 3.2.1 ``` 9 Aug 2020 - Fix passing tests not displaying captured stderr output unless stdout output was also present. Resolves 226. ``` ### 3.2.0 ``` 6 June 2020 - Fix crashes and hangs that could occur when using >1 subprocess due to a regression introduced in 3.1.1. - Add 'time' attributes to the `<testsuites>`, `<testsuite>`, and `<testcase>` fields in the Junit output for the `-j/--junit-report` output. Contributed by bkmd11 in 225. Resolves 208. ``` ### 3.1.4 ``` 7 May 2020 - Fix class/module teardowns being ignored. They are now reported as errors as they should be. Resolves 223. - Fix dates in this changelog--I was still using last year! 😆 ``` ### 3.1.3 ``` 5 May 2020 - Fix crash that could occur when whitespace is in the path on Windows. Contributed by bkmd11 in 222. ``` ### 3.1.2 ``` 4 May 2020 - Fix a crash that could occur during cleanup on unusual filesystems on Python 2. Note that Python 2 is still not supported...but might as well fix stuff if it is easy to fix. :-) Resolves 221. ``` ### 3.1.1 ``` 22 April 2020 - Fixed a hang that sometimes occurs in Python 3.8.0-3.8.2 due to a bug in upstream Python - Upstream bug report: https://bugs.python.org/issue39360 - Upstream fix in master: https://github.com/python/cpython/pull/19009 - Upstream fix in 3.8 branch (Maybe gets included in 3.8.3?): https://github.com/python/cpython/pull/19023 - Fixed behavior of raising SkipTest in a setUpClass class method on Python >= 3.8 ``` ### 3.1.0 ``` 3 Jan 2020 - You can now financially support Green by sponsoring CleanCut at https://github.com/sponsors/CleanCut - Added support for DocTests. I got interested in why charles-l's attempt to crash instead of hang when doctests were encountered didn't work, and ended up just adding support as a feature. To parse/run doctests for a particular module, in a _test_ module add `doctest_modules = [ ... ]` where each item is (preferably) an imported module or a dotted string representing a module to be imported that contains tests in docstrings. Resolves 88, 214. - Fixed a crash and a test failure that could occur with Coverage 5.x - Updated TravisCI builds with Python 3.8 on Linux and Xcode 11.3 on macOS. ```
Links - PyPI: https://pypi.org/project/green - Changelog: https://pyup.io/changelogs/green/ - Repo: https://github.com/CleanCut/green/tarball/3.2.5

Update coverage from 4.5.4 to 5.5.

Changelog ### 5.5 ``` -------------------------- - ``coverage combine`` has a new option, ``--keep`` to keep the original data files after combining them. The default is still to delete the files after they have been combined. This was requested in `issue 1108`_ and implemented in `pull request 1110`_. Thanks, Éric Larivière. - When reporting missing branches in ``coverage report``, branches aren't reported that jump to missing lines. This adds to the long-standing behavior of not reporting branches from missing lines. Now branches are only reported if both the source and destination lines are executed. Closes both `issue 1065`_ and `issue 955`_. - Minor improvements to the HTML report: - The state of the line visibility selector buttons is saved in local storage so you don't have to fiddle with them so often, fixing `issue 1123`_. - It has a little more room for line numbers so that 4-digit numbers work well, fixing `issue 1124`_. - Improved the error message when combining line and branch data, so that users will be more likely to understand what's happening, closing `issue 803`_. .. _issue 803: https://github.com/nedbat/coveragepy/issues/803 .. _issue 955: https://github.com/nedbat/coveragepy/issues/955 .. _issue 1065: https://github.com/nedbat/coveragepy/issues/1065 .. _issue 1108: https://github.com/nedbat/coveragepy/issues/1108 .. _pull request 1110: https://github.com/nedbat/coveragepy/pull/1110 .. _issue 1123: https://github.com/nedbat/coveragepy/issues/1123 .. _issue 1124: https://github.com/nedbat/coveragepy/issues/1124 .. _changes_54: ``` ### 5.4 ``` -------------------------- - The text report produced by ``coverage report`` now always outputs a TOTAL line, even if only one Python file is reported. This makes regex parsing of the output easier. Thanks, Judson Neer. This had been requested a number of times (`issue 1086`_, `issue 922`_, `issue 732`_). - The ``skip_covered`` and ``skip_empty`` settings in the configuration file can now be specified in the ``[html]`` section, so that text reports and HTML reports can use separate settings. The HTML report will still use the ``[report]`` settings if there isn't a value in the ``[html]`` section. Closes `issue 1090`_. - Combining files on Windows across drives now works properly, fixing `issue 577`_. Thanks, `Valentin Lab <pr1080_>`_. - Fix an obscure warning from deep in the _decimal module, as reported in `issue 1084`_. - Update to support Python 3.10 alphas in progress, including `PEP 626: Precise line numbers for debugging and other tools <pep626_>`_. .. _issue 577: https://github.com/nedbat/coveragepy/issues/577 .. _issue 732: https://github.com/nedbat/coveragepy/issues/732 .. _issue 922: https://github.com/nedbat/coveragepy/issues/922 .. _issue 1084: https://github.com/nedbat/coveragepy/issues/1084 .. _issue 1086: https://github.com/nedbat/coveragepy/issues/1086 .. _issue 1090: https://github.com/nedbat/coveragepy/issues/1090 .. _pr1080: https://github.com/nedbat/coveragepy/pull/1080 .. _pep626: https://www.python.org/dev/peps/pep-0626/ .. _changes_531: ``` ### 5.3.1 ``` ---------------------------- - When using ``--source`` on a large source tree, v5.x was slower than previous versions. This performance regression is now fixed, closing `issue 1037`_. - Mysterious SQLite errors can happen on PyPy, as reported in `issue 1010`_. An immediate retry seems to fix the problem, although it is an unsatisfying solution. - The HTML report now saves the sort order in a more widely supported way, fixing `issue 986`_. Thanks, Sebastián Ramírez (`pull request 1066`_). - The HTML report pages now have a :ref:`Sleepy Snake <sleepy>` favicon. - Wheels are now provided for manylinux2010, and for PyPy3 (pp36 and pp37). - Continuous integration has moved from Travis and AppVeyor to GitHub Actions. .. _issue 986: https://github.com/nedbat/coveragepy/issues/986 .. _issue 1037: https://github.com/nedbat/coveragepy/issues/1037 .. _issue 1010: https://github.com/nedbat/coveragepy/issues/1010 .. _pull request 1066: https://github.com/nedbat/coveragepy/pull/1066 .. _changes_53: ``` ### 5.3 ``` -------------------------- - The ``source`` setting has always been interpreted as either a file path or a module, depending on which existed. If both interpretations were valid, it was assumed to be a file path. The new ``source_pkgs`` setting can be used to name a package to disambiguate this case. Thanks, Thomas Grainger. Fixes `issue 268`_. - If a plugin was disabled due to an exception, we used to still try to record its information, causing an exception, as reported in `issue 1011`_. This is now fixed. .. _issue 268: https://github.com/nedbat/coveragepy/issues/268 .. _issue 1011: https://github.com/nedbat/coveragepy/issues/1011 .. _changes_521: ``` ### 5.2.1 ``` ---------------------------- - The dark mode HTML report still used light colors for the context listing, making them unreadable (`issue 1009`_). This is now fixed. - The time stamp on the HTML report now includes the time zone. Thanks, Xie Yanbo (`pull request 960`_). .. _pull request 960: https://github.com/nedbat/coveragepy/pull/960 .. _issue 1009: https://github.com/nedbat/coveragepy/issues/1009 .. _changes_52: ``` ### 5.2 ``` -------------------------- - The HTML report has been redesigned by Vince Salvino. There is now a dark mode, the code text is larger, and system sans serif fonts are used, in addition to other small changes (`issue 858`_ and `pull request 931`_). - The ``coverage report`` and ``coverage html`` commands now accept a ``--precision`` option to control the number of decimal points displayed. Thanks, Teake Nutma (`pull request 982`_). - The ``coverage report`` and ``coverage html`` commands now accept a ``--no-skip-covered`` option to negate ``--skip-covered``. Thanks, Anthony Sottile (`issue 779`_ and `pull request 932`_). - The ``--skip-empty`` option is now available for the XML report, closing `issue 976`_. - The ``coverage report`` command now accepts a ``--sort`` option to specify how to sort the results. Thanks, Jerin Peter George (`pull request 1005`_). - If coverage fails due to the coverage total not reaching the ``--fail-under`` value, it will now print a message making the condition clear. Thanks, Naveen Yadav (`pull request 977`_). - TOML configuration files with non-ASCII characters would cause errors on Windows (`issue 990`_). This is now fixed. - The output of ``--debug=trace`` now includes information about how the ``--source`` option is being interpreted, and the module names being considered. .. _pull request 931: https://github.com/nedbat/coveragepy/pull/931 .. _pull request 932: https://github.com/nedbat/coveragepy/pull/932 .. _pull request 977: https://github.com/nedbat/coveragepy/pull/977 .. _pull request 982: https://github.com/nedbat/coveragepy/pull/982 .. _pull request 1005: https://github.com/nedbat/coveragepy/pull/1005 .. _issue 779: https://github.com/nedbat/coveragepy/issues/779 .. _issue 858: https://github.com/nedbat/coveragepy/issues/858 .. _issue 976: https://github.com/nedbat/coveragepy/issues/976 .. _issue 990: https://github.com/nedbat/coveragepy/issues/990 .. _changes_51: ``` ### 5.1 ``` -------------------------- - The JSON report now includes counts of covered and missing branches. Thanks, Salvatore Zagaria. - On Python 3.8, try-finally-return reported wrong branch coverage with decorated async functions (`issue 964`_). This is now fixed. Thanks, Kjell Braden. - The :meth:`~coverage.Coverage.get_option` and :meth:`~coverage.Coverage.set_option` methods can now manipulate the ``[paths]`` configuration setting. Thanks to Bernát Gábor for the fix for `issue 967`_. .. _issue 964: https://github.com/nedbat/coveragepy/issues/964 .. _issue 967: https://github.com/nedbat/coveragepy/issues/967 .. _changes_504: ``` ### 5.0.4 ``` ---------------------------- - If using the ``[run] relative_files`` setting, the XML report will use relative files in the ``<source>`` elements indicating the location of source code. Closes `issue 948`_. - The textual summary report could report missing lines with negative line numbers on PyPy3 7.1 (`issue 943`_). This is now fixed. - Windows wheels for Python 3.8 were incorrectly built, but are now fixed. (`issue 949`_) - Updated Python 3.9 support to 3.9a4. - HTML reports couldn't be sorted if localStorage wasn't available. This is now fixed: sorting works even though the sorting setting isn't retained. (`issue 944`_ and `pull request 945`_). Thanks, Abdeali Kothari. .. _issue 943: https://github.com/nedbat/coveragepy/issues/943 .. _issue 944: https://github.com/nedbat/coveragepy/issues/944 .. _pull request 945: https://github.com/nedbat/coveragepy/pull/945 .. _issue 948: https://github.com/nedbat/coveragepy/issues/948 .. _issue 949: https://github.com/nedbat/coveragepy/issues/949 .. _changes_503: ``` ### 5.0.3 ``` ---------------------------- - A performance improvement in 5.0.2 didn't work for test suites that changed directory before combining data, causing "Couldn't use data file: no such table: meta" errors (`issue 916`_). This is now fixed. - Coverage could fail to run your program with some form of "ModuleNotFound" or "ImportError" trying to import from the current directory. This would happen if coverage had been packaged into a zip file (for example, on Windows), or was found indirectly (for example, by pyenv-virtualenv). A number of different scenarios were described in `issue 862`_ which is now fixed. Huge thanks to Agbonze O. Jeremiah for reporting it, and Alexander Waters and George-Cristian Bîrzan for protracted debugging sessions. - Added the "premain" debug option. - Added SQLite compile-time options to the "debug sys" output. .. _issue 862: https://github.com/nedbat/coveragepy/issues/862 .. _issue 916: https://github.com/nedbat/coveragepy/issues/916 .. _changes_502: ``` ### 5.0.2 ``` ---------------------------- - Programs that used multiprocessing and changed directories would fail under coverage. This is now fixed (`issue 890`_). A side effect is that debug information about the config files read now shows absolute paths to the files. - When running programs as modules (``coverage run -m``) with ``--source``, some measured modules were imported before coverage starts. This resulted in unwanted warnings ("Already imported a file that will be measured") and a reduction in coverage totals (`issue 909`_). This is now fixed. - If no data was collected, an exception about "No data to report" could happen instead of a 0% report being created (`issue 884`_). This is now fixed. - The handling of source files with non-encodable file names has changed. Previously, if a file name could not be encoded as UTF-8, an error occurred, as described in `issue 891`_. Now, those files will not be measured, since their data would not be recordable. - A new warning ("dynamic-conflict") is issued if two mechanisms are trying to change the dynamic context. Closes `issue 901`_. - ``coverage run --debug=sys`` would fail with an AttributeError. This is now fixed (`issue 907`_). .. _issue 884: https://github.com/nedbat/coveragepy/issues/884 .. _issue 890: https://github.com/nedbat/coveragepy/issues/890 .. _issue 891: https://github.com/nedbat/coveragepy/issues/891 .. _issue 901: https://github.com/nedbat/coveragepy/issues/901 .. _issue 907: https://github.com/nedbat/coveragepy/issues/907 .. _issue 909: https://github.com/nedbat/coveragepy/issues/909 .. _changes_501: ``` ### 5.0.1 ``` ---------------------------- - If a 4.x data file is the cause of a "file is not a database" error, then use a more specific error message, "Looks like a coverage 4.x data file, are you mixing versions of coverage?" Helps diagnose the problems described in `issue 886`_. - Measurement contexts and relative file names didn't work together, as reported in `issue 899`_ and `issue 900`_. This is now fixed, thanks to David Szotten. - When using ``coverage run --concurrency=multiprocessing``, all data files should be named with parallel-ready suffixes. 5.0 mistakenly named the main process' file with no suffix when using ``--append``. This is now fixed, closing `issue 880`_. - Fixed a problem on Windows when the current directory is changed to a different drive (`issue 895`_). Thanks, Olivier Grisel. - Updated Python 3.9 support to 3.9a2. .. _issue 880: https://github.com/nedbat/coveragepy/issues/880 .. _issue 886: https://github.com/nedbat/coveragepy/issues/886 .. _issue 895: https://github.com/nedbat/coveragepy/issues/895 .. _issue 899: https://github.com/nedbat/coveragepy/issues/899 .. _issue 900: https://github.com/nedbat/coveragepy/issues/900 .. _changes_50: ``` ### 5.0 ``` -------------------------- Nothing new beyond 5.0b2. .. _changes_50b2: ``` ### 5.0b2 ``` ---------------------------- - An experimental ``[run] relative_files`` setting tells coverage to store relative file names in the data file. This makes it easier to run tests in one (or many) environments, and then report in another. It has not had much real-world testing, so it may change in incompatible ways in the future. - When constructing a :class:`coverage.Coverage` object, `data_file` can be specified as None to prevent writing any data file at all. In previous versions, an explicit `data_file=None` argument would use the default of ".coverage". Fixes `issue 871`_. - Python files run with ``-m`` now have ``__spec__`` defined properly. This fixes `issue 745`_ (about not being able to run unittest tests that spawn subprocesses), and `issue 838`_, which described the problem directly. - The ``[paths]`` configuration section is now ordered. If you specify more than one list of patterns, the first one that matches will be used. Fixes `issue 649`_. - The :func:`.coverage.numbits.register_sqlite_functions` function now also registers `numbits_to_nums` for use in SQLite queries. Thanks, Simon Willison. - Python 3.9a1 is supported. - Coverage.py has a mascot: :ref:`Sleepy Snake <sleepy>`. .. _issue 649: https://github.com/nedbat/coveragepy/issues/649 .. _issue 745: https://github.com/nedbat/coveragepy/issues/745 .. _issue 838: https://github.com/nedbat/coveragepy/issues/838 .. _issue 871: https://github.com/nedbat/coveragepy/issues/871 .. _changes_50b1: ``` ### 5.0b1 ``` ---------------------------- - The HTML and textual reports now have a ``--skip-empty`` option that skips files with no statements, notably ``__init__.py`` files. Thanks, Reya B. - Configuration can now be read from `TOML`_ files. This requires installing coverage.py with the ``[toml]`` extra. The standard "pyproject.toml" file will be read automatically if no other configuration file is found, with settings in the ``[tool.coverage.]`` namespace. Thanks to Frazer McLean for implementation and persistence. Finishes `issue 664`_. - The ``[run] note`` setting has been deprecated. Using it will result in a warning, and the note will not be written to the data file. The corresponding :class:`.CoverageData` methods have been removed. - The HTML report has been reimplemented (no more table around the source code). This allowed for a better presentation of the context information, hopefully resolving `issue 855`_. - Added sqlite3 module version information to ``coverage debug sys`` output. - Asking the HTML report to show contexts (``[html] show_contexts=True`` or ``coverage html --show-contexts``) will issue a warning if there were no contexts measured (`issue 851`_). .. _TOML: https://github.com/toml-lang/toml#readme .. _issue 664: https://github.com/nedbat/coveragepy/issues/664 .. _issue 851: https://github.com/nedbat/coveragepy/issues/851 .. _issue 855: https://github.com/nedbat/coveragepy/issues/855 .. _changes_50a8: ``` ### 5.0a8 ``` ---------------------------- - The :class:`.CoverageData` API has changed how queries are limited to specific contexts. Now you use :meth:`.CoverageData.set_query_context` to set a single exact-match string, or :meth:`.CoverageData.set_query_contexts` to set a list of regular expressions to match contexts. This changes the command-line ``--contexts`` option to use regular expressions instead of filename-style wildcards. .. _changes_50a7: ``` ### 5.0a7 ``` ---------------------------- - Data can now be "reported" in JSON format, for programmatic use, as requested in `issue 720`_. The new ``coverage json`` command writes raw and summarized data to a JSON file. Thanks, Matt Bachmann. - Dynamic contexts are now supported in the Python tracer, which is important for PyPy users. Closes `issue 846`_. - The compact line number representation introduced in 5.0a6 is called a "numbits." The :mod:`coverage.numbits` module provides functions for working with them. - The reporting methods used to permanently apply their arguments to the configuration of the Coverage object. Now they no longer do. The arguments affect the operation of the method, but do not persist. - A class named "test_something" no longer confuses the ``test_function`` dynamic context setting. Fixes `issue 829`_. - Fixed an unusual tokenizing issue with backslashes in comments. Fixes `issue 822`_. - ``debug=plugin`` didn't properly support configuration or dynamic context plugins, but now it does, closing `issue 834`_. .
codecov[bot] commented 3 years ago

Codecov Report

Merging #39 (2aa787c) into master (08784d6) will decrease coverage by 3.90%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   95.12%   91.21%   -3.91%     
==========================================
  Files           3        3              
  Lines         205      205              
==========================================
- Hits          195      187       -8     
- Misses         10       18       +8     
Impacted Files Coverage Δ
fs/youtube/youtubefs.py 89.34% <0.00%> (-4.74%) :arrow_down:

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 08784d6...2aa787c. Read the comment docs.

pyup-bot commented 3 years ago

Closing this in favor of #40