Changelog
### 59.4.0
```
-------
Changes
^^^^^^^
* 2893: Restore deprecated support for newlines in the Summary field.
```
### 59.3.0
```
-------
Changes
^^^^^^^
* 2902: Merge with pypa/distutils85db7a41242.
Misc
^^^^
* 2906: In ensure_local_distutils, re-use DistutilsMetaFinder to load the module. Avoids race conditions when _distutils_system_mod is employed.
```
### 59.2.0
```
-------
Changes
^^^^^^^
* 2875: Introduce changes from pypa/distutils514e9d0, including support for overrides from Debian and pkgsrc, unlocking the possibility of making SETUPTOOLS_USE_DISTUTILS=local the default again.
```
### 59.1.1
```
-------
Misc
^^^^
* 2885: Fixed errors when encountering LegacyVersions.
```
### 59.1.0
```
-------
Changes
^^^^^^^
* 2497: Update packaging to 21.2.
* 2877: Back out deprecation of setup_requires and replace instead by a deprecation of setuptools.installer and fetch_build_egg. Now setup_requires is still supported when installed as part of a PEP 517 build, but is deprecated when an unsatisfied requirement is encountered.
* 2879: Bump packaging to 21.2.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2867: PNG/ICO images replaced with SVG in the docs.
* 2867: Added support to SVG "favicons" via "in-tree" Sphinx extension.
```
### 59.0.1
```
-------
Misc
^^^^
* 2880: Removed URL requirement for ``pytest-virtualenv`` in ``setup.cfg``.
PyPI rejects packages with dependencies external to itself.
Instead the test dependency was overwritten via ``tox.ini``
```
### 59.0.0
```
-------
Deprecations
^^^^^^^^^^^^
* 2856: Support for custom commands that inherit directly from ``distutils`` is
**deprecated**. Users should extend classes provided by setuptools instead.
Breaking Changes
^^^^^^^^^^^^^^^^
* 2870: Started failing on invalid inline description with line breaks :class:`ValueError` -- by :user:`webknjaz`
Changes
^^^^^^^
* 2698: Exposed exception classes from ``distutils.errors`` via ``setuptools.errors``.
* 2866: Incorporate changes from pypa/distutilsf1b0a2b.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2227: Added sphinx theme customisations to display the new logo in the sidebar and
use its colours as "accent" in the documentation -- by :user:`abravalheri`
* 2227: Added new setuptools logo, including editable files and artwork documentation
-- by :user:`abravalheri`
* 2698: Added mentions to ``setuptools.errors`` as a way of handling custom command
errors.
* 2698: Added instructions to migrate from ``distutils.commands`` and
``distutils.errors`` in the porting guide.
* 2871: Added a note to the docs that it is possible to install
``setup.py``-less projects in editable mode with :doc:`pip v21.1+
<pip:index>`, only having ``setup.cfg`` and ``pyproject.toml`` in
project root -- by :user:`webknjaz`
```
### 58.5.3
```
-------
Misc
^^^^
* 2849: Add fallback for custom ``build_py`` commands inheriting directly from
:mod:`distutils`, while still handling ``include_package_data=True`` for
``sdist``.
```
### 58.5.2
```
-------
Misc
^^^^
* 2847: Suppress 'setup.py install' warning under bdist_wheel.
```
### 58.5.1
```
-------
Misc
^^^^
* 2846: Move PkgResourcesDeprecationWarning above implicitly-called function so that it's in the namespace when version warnings are generated in an environment that contains them.
```
### 58.5.0
```
-------
Changes
^^^^^^^
* 1461: Fix inconsistency with ``include_package_data`` and ``packages_data`` in sdist
by replacing the loop breaking mechanism between the ``sdist`` and
``egg_info`` commands -- by :user:`abravalheri`
```
### 58.4.0
```
-------
Changes
^^^^^^^
* 2497: Officially deprecated PEP 440 non-compliant versions.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2832: Removed the deprecated ``data_files`` option from the example in the
declarative configuration docs -- by :user:`abravalheri`
* 2832: Change type of ``data_files`` option from ``dict`` to ``section`` in
declarative configuration docs (to match previous example) -- by
:user:`abravalheri`
```
### 58.3.0
```
-------
Changes
^^^^^^^
* 917: ``setup.py install`` and ``easy_install`` commands are now officially deprecated. Use other standards-based installers (like pip) and builders (like build). Workloads reliant on this behavior should pin to this major version of Setuptools. See `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html>`_ for more background.
* 1988: Deprecated the ``bdist_rpm`` command. Binary packages should be built as wheels instead.
-- by :user:`hugovk`
* 2785: Replace ``configparser``'s ``readfp`` with ``read_file``, deprecated since Python 3.2.
-- by :user:`hugovk`
* 2823: Officially deprecated support for ``setup_requires``. Users are encouraged instead to migrate to PEP 518 ``build-system.requires`` in ``pyproject.toml``. Users reliant on ``setup_requires`` should consider pinning to this major version to avoid disruption.
Misc
^^^^
* 2762: Changed codecov.yml to configure the threshold to be lower
-- by :user:`tanvimoharir`
```
### 58.2.0
```
-------
Changes
^^^^^^^
* 2757: Add windows arm64 launchers for scripts generated by easy_install.
* 2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command,
for specifying file ownership within the produced tarball (similarly
to the corresponding distutils ``sdist`` options).
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2792: Document how the legacy and non-legacy versions are compared, and reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_ scheme.
```
### 58.1.0
```
-------
Changes
^^^^^^^
* 2796: Merge with pypa/distutils02e9f65ab0
```
### 58.0.4
```
-------
Misc
^^^^
* 2773: Retain case in setup.cfg during sdist.
```
### 58.0.3
```
-------
Misc
^^^^
* 2777: Build does not fail fast when ``use_2to3`` is supplied but set to a false value.
```
### 58.0.2
```
-------
Misc
^^^^
* 2769: Build now fails fast when ``use_2to3`` is supplied.
```
### 58.0.1
```
-------
Misc
^^^^
* 2765: In Distribution.finalize_options, suppress known removed entry points to avoid issues with older Setuptools.
```
### 58.0.0
```
-------
Breaking Changes
^^^^^^^^^^^^^^^^
* 2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2746: add python_requires example
```
### 57.5.0
```
-------
Changes
^^^^^^^
* 2712: Added implicit globbing support for `[options.data_files]` values.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2737: fix various syntax and style errors in code snippets in docs
```
### 57.4.0
```
-------
Changes
^^^^^^^
* 2722: Added support for ``SETUPTOOLS_EXT_SUFFIX`` environment variable to override the suffix normally detected from the ``sysconfig`` module.
```
### 57.3.0
```
-------
Changes
^^^^^^^
* 2465: Documentation is now published using the Furo theme.
```
### 57.2.0
```
-------
Changes
^^^^^^^
* 2724: Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable.
```
### 57.1.0
```
-------
Changes
^^^^^^^
* 2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order.
* 2714: Update to distutils at pypa/distutilse2627b7.
* 2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation.
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2604: Revamped the backward/cross tool compatibility section to remove
some confusion.
Add some examples and the version since when ``entry_points`` are
supported in declarative configuration.
Tried to make the reading flow a bit leaner, gather some information
that were a bit dispersed.
```
### 57.0.0
```
-------
Breaking Changes
^^^^^^^^^^^^^^^^
* 2645: License files excluded via the ``MANIFEST.in`` but matched by either
the ``license_file`` (deprecated) or ``license_files`` options,
will be nevertheless included in the source distribution. - by :user:`cdce8p`
Changes
^^^^^^^
* 2628: Write long description in message payload of PKG-INFO file. - by :user:`cdce8p`
* 2645: Added ``License-File`` (multiple) to the output package metadata.
The field will contain the path of a license file, matched by the
``license_file`` (deprecated) and ``license_files`` options,
relative to ``.dist-info``. - by :user:`cdce8p`
* 2678: Moved Setuptools' own entry points into declarative config.
* 2680: Vendored `more_itertools <https://pypi.org/project/more-itertools>`_ for Setuptools.
* 2681: Setuptools own setup.py no longer declares setup_requires, but instead expects wheel to be installed as declared by pyproject.toml.
Misc
^^^^
* 2650: Updated the docs build tooling to support the latest version of
Towncrier and show the previews of not-yet-released setuptools versions
in the changelog -- :user:`webknjaz`
```
### 56.2.0
```
-------
Changes
^^^^^^^
* 2640: Fixed handling of multiline license strings. - by :user:`cdce8p`
* 2641: Setuptools will now always try to use the latest supported
metadata version for ``PKG-INFO``. - by :user:`cdce8p`
```
### 56.1.0
```
-------
Changes
^^^^^^^
* 2653: Incorporated assorted changes from pypa/distutils.
* 2657: Adopted docs from distutils.
* 2663: Added Visual Studio Express 2017 support -- by :user:`dofuuz`
Misc
^^^^
* 2644: Fixed ``DeprecationWarning`` due to ``threading.Thread.setDaemon`` in tests -- by :user:`tirkarthi`
* 2654: Made the changelog generator compatible
with Towncrier >= 19.9 -- :user:`webknjaz`
* 2664: Relax the deprecation message in the distutils hack.
```
### 56.0.0
```
-------
Deprecations
^^^^^^^^^^^^
* 2620: The ``license_file`` option is now marked as deprecated.
Use ``license_files`` instead. -- by :user:`cdce8p`
Breaking Changes
^^^^^^^^^^^^^^^^
* 2620: If neither ``license_file`` nor ``license_files`` is specified, the ``sdist``
option will now auto-include files that match the following patterns:
``LICEN[CS]E*``, ``COPYING*``, ``NOTICE*``, ``AUTHORS*``.
This matches the behavior of ``bdist_wheel``. -- by :user:`cdce8p`
Changes
^^^^^^^
* 2620: The ``license_file`` and ``license_files`` options now support glob patterns. -- by :user:`cdce8p`
* 2632: Implemented ``VendorImporter.find_spec()`` method to get rid
of ``ImportWarning`` that Python 3.10 emits when only the old-style
importer hooks are present -- by :user:`webknjaz`
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2620: Added documentation for the ``license_files`` option. -- by :user:`cdce8p`
```
### 55.0.0
```
-------
Breaking Changes
^^^^^^^^^^^^^^^^
* 2566: Remove the deprecated ``bdist_wininst`` command. Binary packages should be built as wheels instead. -- by :user:`hroncok`
```
### 54.2.0
```
-------
Changes
^^^^^^^
* 2608: Added informative error message to PEP 517 build failures owing to
an empty ``setup.py`` -- by :user:`layday`
```
### 54.1.3
```
-------
No significant changes.
```
### 54.1.2
```
-------
Misc
^^^^
* 2595: Reduced scope of dash deprecation warning to Setuptools/distutils only -- by :user:`melissa-kun-li`
```
### 54.1.1
```
-------
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2584: Added ``sphinx-inline-tabs`` extension to allow for comparison of ``setup.py`` and its equivalent ``setup.cfg`` -- by :user:`amy-lei`
Misc
^^^^
* 2592: Made option keys in the ``[metadata]`` section of ``setup.cfg`` case-sensitive. Users having
uppercase option spellings will get a warning suggesting to make them to lowercase
-- by :user:`melissa-kun-li`
```
### 54.1.0
```
-------
Changes
^^^^^^^
* 1608: Removed the conversion of dashes to underscores in the :code:`extras_require` and :code:`data_files` of :code:`setup.cfg` to support the usage of dashes. Method will warn users when they use a dash-separated key which in the future will only allow an underscore. Note: the method performs the dash to underscore conversion to preserve compatibility, but future versions will no longer support it -- by :user:`melissa-kun-li`
```
### 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 deprecated 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
Changelog
### 0.18.1
```
==============
.. Note::
Docutils 0.18.x is the last version supporting Python 2.7, 3.5, and 3.6.
* nodes.Node.traverse() returns a list again to restore
backwards compatibility (fixes bug 431).
* Small bugfixes (see HISTORY_).
```
### 0.18
```
=========================
* Output changes:
Identifiers:
During `identifier normalization`_, leading number and hyphen
characters are no longer stripped from a `reference name`_, if the
id_prefix_ setting is non-empty.
Example:
with ``--id-prefix="DU-"``, a section with title "34. May"
currently gets the identifier key ``DU-may`` and after the
change the identifier key ``DU-34-may``.
The default value for the auto_id_prefix_ setting changed to ``%``:
"use the tag name as prefix for auto-generated IDs".
Set auto_id_prefix_ to ``id`` for unchanged auto-IDs.
HTML5:
Use the semantic tag <aside> for footnote text and citations, topics
(except abstract and toc), admonitions, and system messages.
Use <nav> for the Table of Contents.
Make "auto" table column widths the default: Only specify column
widths, if the `"widths" option`_ is set and not "auto".
The table-style__ setting "colwidths-grid" restores the current default.
.. _"widths" option: __ docs/ref/rst/directives.htmltable
__ docs/user/config.htmltable-style
Items of a definition list with class argument "details" are
converted to `details disclosure elements`_. Example::
..class:: details
Summary
This additional information should be hidden.
Do not add "compound-first", "compound-middle", or "compound-last" to
elements nested in a compound. Use child selector and ":first-child",
":last-child" pseudo classes instead.
Use class value "backrefs" instead of "fn-backref" for a span of
back-references.
Write footnote brackets and field term colons to HTML, so that they
are present also without CSS and when copying text.
Move space character between section number and heading into
"sectnum" span.
math-output: html
Support more commands, fix mapping of commands to Unicode characters.
Scale variable sized operators and big delimiters with CSS.
Don't use <tt> element (deprecated in HTML5).
Use STIX fonts if available.
LaTeX:
`legacy_class_functions`_ setting default changed to "False",
admonitions are now environments.
* New standard Docutils doctree node: <meta__>.
* New configuration settings:
[latex writers] legacy_column_widths_ and
[html5Â writer]Â image_loading_.
* Removed files:
``iepngfix.htc`` and ``blank.gif`` (IEÂ 6 workaround for `s5_html`).
* Removed sub-module:
``parsers.rst.directives.html``
(Meta directive moved to ``parsers.rst.directives.misc``.)
* Removed function: utils.unique_combinations()
(obsoleted by itertools.combinations()).
* Removed attribute: ``HTMLTranslator.topic_classes``
(check node.parent.classes instead).
* Major refactoring and fixes/additions in
``docutils/utils/math/math2html.py`` and
``docutils/utils/math/latex2mathml.py``
(mathematical notation in HTML, cf. `LaTeX syntax for mathematics`_).
* nodes.Node.traverse() returns an iterator instead of a list.
* Various bugfixes and improvements (see HISTORY_).
Fix spelling errors in documentation and docstrings.
Thanks to Dimitri Papadopoulos.
__ docs/ref/doctree.htmlmeta
.. _identifier normalization:
docs/ref/rst/directives.htmlidentifier-normalization
.. _id_prefix: docs/user/config.htmlid-prefix
.. _auto_id_prefix: docs/user/config.htmlauto-id-prefix
.. _details disclosure elements:
https://www.w3.org/TR/html52/interactive-elements.html#the-details-element
.. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
.. _legacy_column_widths: docs/user/config.htmllegacy-column-widths
```
### 0.17.1
```
===========================
* Bug fixes (for details see the Docutils `HISTORY`_).
```
### 0.17
```
=========================
* Numerous bug fixes and improvements
(for details see the Docutils `HISTORY`_).
* Installing with ``setup.py`` now requires setuptools_.
Alternatively, install with pip_.
* The generic command line front end tool docutils-cli.py_ allows
the free selection of reader, parser, and writer components.
* Support Arabic language.
* New, **experimental** wrapper to integrate the `recommonmark`__
Markdown parser for use with Docutils.
Currently only tested with recommonmark version 0.4.0.
__ https://pypi.org/project/recommonmark/
* HTML5 writer:
- New option embed_images_.
- Use semantic tags (for details see the Docutils `HISTORY`_).
- Change the `initial_header_level`_ setting's default to "2", as browsers
use the `same style for <h1> and <h2> when nested in a section`__.
- New optional style ``responsive.css``, adapts to different screen
sizes.
- Move non-essential styling from ``minimal.css`` to ``plain.css``
rsp. ``responsive.css``.
- Show code line numbers as pseudo-elements so they are skipped when
copying the code block from the page.
.. _initial_header_level: docs/user/config.htmlinitial-header-level
__ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article
.. _embed_images: docs/user/config.htmlembed-images
* LaTeX writer:
- New configuration setting `legacy_class_functions`_.
- The special value "auto" for the `graphicx_option`_ setting
is no longer supported (it never worked for xetex/luatex).
- `Styling commands`__ using the legacy ``\docutilsrole`` prefix are
now ignored. Use ``\DUrole``.
__ docs/user/latex.htmlclasses
- Most helper commands and element definitions are now defined in the
LaTeX package `docutils.sty`_ and only inserted in the document
preamble if the stylesheet__ setting does not lists "docutils".
__ docs/user/config.htmlstylesheet-latex-writers
- Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``.
.. _setuptools: https://pypi.org/project/setuptools/
.. _pip: https://pypi.org/project/pip/
.. _docutils-cli.py: docs/user/tools.htmldocutils-cli-py
.. _legacy_class_functions: docs/user/config.htmllegacy-class-functions
.. _graphicx_option: docs/user/config.htmlgraphicx-option
.. _docutils.sty: https://ctan.org/pkg/docutils
```
### 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/
Changelog
### 2.10.0
```
--------------
(released August 15th, 2021)
- Added lexers:
* ASC armored files (1807)
* GSQL (1809, 1866)
* Javascript REPL (1825)
* procfile (1808)
* Smithy (1878, 1879)
- Updated lexers:
* C-family: Fix preprocessor token issues (1830)
* C (1573, 1869)
* CSound (1837)
* Fennel (1862)
* JavaScript (1741, 1814)
* LLVM (1824)
* Rust
- Fix lexing of "break" and "continue" (1843)
- Improve attribute handling (1813)
* Scala: Add support for the ``\`` operator (1857)
* Swift (1767, 1842)
* Tcl: Allow ``,`` and ` in strings (1834, 1742)
- Fix assert statements in TNT lexer.
- Token types across all lexers have been unified (using the most common token
type name) (1816, 1819)
- Improve Jasmin min score analysis (1619)
- Add new alias for Go files (1827)
- Fix multi-line console highlighting (1833)
- Add a new trivial lexer which outputs everything as `Text.Generic.Output` (1835, 1836)
- Use the ``.ini`` lexer for ``systemd`` files (1849)
- Fix a ``FutureWarning`` related to ``words()`` (1854)
- ``pwsh`` is now recognized as an alias for PowerShell (1876)
```
### 2.9.0
```
-------------
(released May 3rd, 2021)
- Added lexers:
* APDL, gcode (1714)
* Kuin (1300)
* NestedText (1578)
* OMG IDL (1595)
* TEAL (1671)
* ThingsDB (1295)
* WebAssembly (1416, 1564)
- Updated lexers:
* AMDGPU (1717, 1775)
* APL (1747)
* C/C++: Improve namespace handling (1722, 1561, 1719, 1746)
* Chapel (1743)
* Coq (1721)
* Cython (853)
* Groovy (1765)
* Julia (1715)
* Octave: Allow multiline and block-percent comments (1726)
* PowerShell: Improve lexing of ``:`` (1682, 1758)
* PromQL (1783)
* Python: Improve float parsing (1768, 1740)
* Rust (1061)
* Scala: Rewrite to support Scala3 (1694, 1035, 1121)
* Terraform: Support 0.14 syntax (1756)
* Velocity: Detect multi-line patterns (1776)
- Add Pango formatter (1727)
- Autopygmentize uses ``file`` first instead of ``pygments -N`` (1786)
- Fix links (1716)
- Fix issue with LaTeX formatter and ``minted`` (1734, 1735, 1736, 1737)
- Improve alias order (1780)
- Improve line number colors (1779, 1778)
- Fix CTag related issue (1724)
- Recognize ``.leex`` as Elixir templates
- Updated `filename` handling in HTML formatter if `linenos='table'` (1757)
* Previously the filename would be emitted within the `<td>` holding the
code, but outside the `<pre>`. This would invariably break the alignment
with line numbers.
* Now if `filename` is specified, a separate `<tr>` is emitted before the
table content which contains a single `<th>` with `colspan=2` so it
spans both the line number and code columns. The filename is still
within `<span class="filename">...</span>` so any existing styles
should still apply, although the CSS path may need to change.
* For an example of the new output format see
`table_cls_step_1_start_1_special_0_noanchor_filename.html`
in the `tests/html_linenos_expected_output/` directory.
* For more details and discussion see the issue
https://github.com/pygments/pygments/issues/1757
- Added styles:
* Gruvbox light+dark (1763)
```
### 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/
Changelog
### 2.1.12
```
Fixes
- 322 Add Cirrus CI
Dependencies and Misc
- 311 Bump coverage from 5.3 to 5.3.1
- 312 Bump coverage from 5.3.1 to 5.4
- 314 Bump coverage from 5.4 to 5.5
- 320 Upgrade to GitHub-native Dependabot
```
### 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
Update setuptools from 41.2.0 to 59.4.0.
Changelog
### 59.4.0 ``` ------- Changes ^^^^^^^ * 2893: Restore deprecated support for newlines in the Summary field. ``` ### 59.3.0 ``` ------- Changes ^^^^^^^ * 2902: Merge with pypa/distutils85db7a41242. Misc ^^^^ * 2906: In ensure_local_distutils, re-use DistutilsMetaFinder to load the module. Avoids race conditions when _distutils_system_mod is employed. ``` ### 59.2.0 ``` ------- Changes ^^^^^^^ * 2875: Introduce changes from pypa/distutils514e9d0, including support for overrides from Debian and pkgsrc, unlocking the possibility of making SETUPTOOLS_USE_DISTUTILS=local the default again. ``` ### 59.1.1 ``` ------- Misc ^^^^ * 2885: Fixed errors when encountering LegacyVersions. ``` ### 59.1.0 ``` ------- Changes ^^^^^^^ * 2497: Update packaging to 21.2. * 2877: Back out deprecation of setup_requires and replace instead by a deprecation of setuptools.installer and fetch_build_egg. Now setup_requires is still supported when installed as part of a PEP 517 build, but is deprecated when an unsatisfied requirement is encountered. * 2879: Bump packaging to 21.2. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2867: PNG/ICO images replaced with SVG in the docs. * 2867: Added support to SVG "favicons" via "in-tree" Sphinx extension. ``` ### 59.0.1 ``` ------- Misc ^^^^ * 2880: Removed URL requirement for ``pytest-virtualenv`` in ``setup.cfg``. PyPI rejects packages with dependencies external to itself. Instead the test dependency was overwritten via ``tox.ini`` ``` ### 59.0.0 ``` ------- Deprecations ^^^^^^^^^^^^ * 2856: Support for custom commands that inherit directly from ``distutils`` is **deprecated**. Users should extend classes provided by setuptools instead. Breaking Changes ^^^^^^^^^^^^^^^^ * 2870: Started failing on invalid inline description with line breaks :class:`ValueError` -- by :user:`webknjaz` Changes ^^^^^^^ * 2698: Exposed exception classes from ``distutils.errors`` via ``setuptools.errors``. * 2866: Incorporate changes from pypa/distutilsf1b0a2b. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2227: Added sphinx theme customisations to display the new logo in the sidebar and use its colours as "accent" in the documentation -- by :user:`abravalheri` * 2227: Added new setuptools logo, including editable files and artwork documentation -- by :user:`abravalheri` * 2698: Added mentions to ``setuptools.errors`` as a way of handling custom command errors. * 2698: Added instructions to migrate from ``distutils.commands`` and ``distutils.errors`` in the porting guide. * 2871: Added a note to the docs that it is possible to install ``setup.py``-less projects in editable mode with :doc:`pip v21.1+ <pip:index>`, only having ``setup.cfg`` and ``pyproject.toml`` in project root -- by :user:`webknjaz` ``` ### 58.5.3 ``` ------- Misc ^^^^ * 2849: Add fallback for custom ``build_py`` commands inheriting directly from :mod:`distutils`, while still handling ``include_package_data=True`` for ``sdist``. ``` ### 58.5.2 ``` ------- Misc ^^^^ * 2847: Suppress 'setup.py install' warning under bdist_wheel. ``` ### 58.5.1 ``` ------- Misc ^^^^ * 2846: Move PkgResourcesDeprecationWarning above implicitly-called function so that it's in the namespace when version warnings are generated in an environment that contains them. ``` ### 58.5.0 ``` ------- Changes ^^^^^^^ * 1461: Fix inconsistency with ``include_package_data`` and ``packages_data`` in sdist by replacing the loop breaking mechanism between the ``sdist`` and ``egg_info`` commands -- by :user:`abravalheri` ``` ### 58.4.0 ``` ------- Changes ^^^^^^^ * 2497: Officially deprecated PEP 440 non-compliant versions. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2832: Removed the deprecated ``data_files`` option from the example in the declarative configuration docs -- by :user:`abravalheri` * 2832: Change type of ``data_files`` option from ``dict`` to ``section`` in declarative configuration docs (to match previous example) -- by :user:`abravalheri` ``` ### 58.3.0 ``` ------- Changes ^^^^^^^ * 917: ``setup.py install`` and ``easy_install`` commands are now officially deprecated. Use other standards-based installers (like pip) and builders (like build). Workloads reliant on this behavior should pin to this major version of Setuptools. See `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html>`_ for more background. * 1988: Deprecated the ``bdist_rpm`` command. Binary packages should be built as wheels instead. -- by :user:`hugovk` * 2785: Replace ``configparser``'s ``readfp`` with ``read_file``, deprecated since Python 3.2. -- by :user:`hugovk` * 2823: Officially deprecated support for ``setup_requires``. Users are encouraged instead to migrate to PEP 518 ``build-system.requires`` in ``pyproject.toml``. Users reliant on ``setup_requires`` should consider pinning to this major version to avoid disruption. Misc ^^^^ * 2762: Changed codecov.yml to configure the threshold to be lower -- by :user:`tanvimoharir` ``` ### 58.2.0 ``` ------- Changes ^^^^^^^ * 2757: Add windows arm64 launchers for scripts generated by easy_install. * 2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command, for specifying file ownership within the produced tarball (similarly to the corresponding distutils ``sdist`` options). Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2792: Document how the legacy and non-legacy versions are compared, and reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_ scheme. ``` ### 58.1.0 ``` ------- Changes ^^^^^^^ * 2796: Merge with pypa/distutils02e9f65ab0 ``` ### 58.0.4 ``` ------- Misc ^^^^ * 2773: Retain case in setup.cfg during sdist. ``` ### 58.0.3 ``` ------- Misc ^^^^ * 2777: Build does not fail fast when ``use_2to3`` is supplied but set to a false value. ``` ### 58.0.2 ``` ------- Misc ^^^^ * 2769: Build now fails fast when ``use_2to3`` is supplied. ``` ### 58.0.1 ``` ------- Misc ^^^^ * 2765: In Distribution.finalize_options, suppress known removed entry points to avoid issues with older Setuptools. ``` ### 58.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2746: add python_requires example ``` ### 57.5.0 ``` ------- Changes ^^^^^^^ * 2712: Added implicit globbing support for `[options.data_files]` values. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2737: fix various syntax and style errors in code snippets in docs ``` ### 57.4.0 ``` ------- Changes ^^^^^^^ * 2722: Added support for ``SETUPTOOLS_EXT_SUFFIX`` environment variable to override the suffix normally detected from the ``sysconfig`` module. ``` ### 57.3.0 ``` ------- Changes ^^^^^^^ * 2465: Documentation is now published using the Furo theme. ``` ### 57.2.0 ``` ------- Changes ^^^^^^^ * 2724: Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable. ``` ### 57.1.0 ``` ------- Changes ^^^^^^^ * 2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order. * 2714: Update to distutils at pypa/distutilse2627b7. * 2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2604: Revamped the backward/cross tool compatibility section to remove some confusion. Add some examples and the version since when ``entry_points`` are supported in declarative configuration. Tried to make the reading flow a bit leaner, gather some information that were a bit dispersed. ``` ### 57.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2645: License files excluded via the ``MANIFEST.in`` but matched by either the ``license_file`` (deprecated) or ``license_files`` options, will be nevertheless included in the source distribution. - by :user:`cdce8p` Changes ^^^^^^^ * 2628: Write long description in message payload of PKG-INFO file. - by :user:`cdce8p` * 2645: Added ``License-File`` (multiple) to the output package metadata. The field will contain the path of a license file, matched by the ``license_file`` (deprecated) and ``license_files`` options, relative to ``.dist-info``. - by :user:`cdce8p` * 2678: Moved Setuptools' own entry points into declarative config. * 2680: Vendored `more_itertools <https://pypi.org/project/more-itertools>`_ for Setuptools. * 2681: Setuptools own setup.py no longer declares setup_requires, but instead expects wheel to be installed as declared by pyproject.toml. Misc ^^^^ * 2650: Updated the docs build tooling to support the latest version of Towncrier and show the previews of not-yet-released setuptools versions in the changelog -- :user:`webknjaz` ``` ### 56.2.0 ``` ------- Changes ^^^^^^^ * 2640: Fixed handling of multiline license strings. - by :user:`cdce8p` * 2641: Setuptools will now always try to use the latest supported metadata version for ``PKG-INFO``. - by :user:`cdce8p` ``` ### 56.1.0 ``` ------- Changes ^^^^^^^ * 2653: Incorporated assorted changes from pypa/distutils. * 2657: Adopted docs from distutils. * 2663: Added Visual Studio Express 2017 support -- by :user:`dofuuz` Misc ^^^^ * 2644: Fixed ``DeprecationWarning`` due to ``threading.Thread.setDaemon`` in tests -- by :user:`tirkarthi` * 2654: Made the changelog generator compatible with Towncrier >= 19.9 -- :user:`webknjaz` * 2664: Relax the deprecation message in the distutils hack. ``` ### 56.0.0 ``` ------- Deprecations ^^^^^^^^^^^^ * 2620: The ``license_file`` option is now marked as deprecated. Use ``license_files`` instead. -- by :user:`cdce8p` Breaking Changes ^^^^^^^^^^^^^^^^ * 2620: If neither ``license_file`` nor ``license_files`` is specified, the ``sdist`` option will now auto-include files that match the following patterns: ``LICEN[CS]E*``, ``COPYING*``, ``NOTICE*``, ``AUTHORS*``. This matches the behavior of ``bdist_wheel``. -- by :user:`cdce8p` Changes ^^^^^^^ * 2620: The ``license_file`` and ``license_files`` options now support glob patterns. -- by :user:`cdce8p` * 2632: Implemented ``VendorImporter.find_spec()`` method to get rid of ``ImportWarning`` that Python 3.10 emits when only the old-style importer hooks are present -- by :user:`webknjaz` Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2620: Added documentation for the ``license_files`` option. -- by :user:`cdce8p` ``` ### 55.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2566: Remove the deprecated ``bdist_wininst`` command. Binary packages should be built as wheels instead. -- by :user:`hroncok` ``` ### 54.2.0 ``` ------- Changes ^^^^^^^ * 2608: Added informative error message to PEP 517 build failures owing to an empty ``setup.py`` -- by :user:`layday` ``` ### 54.1.3 ``` ------- No significant changes. ``` ### 54.1.2 ``` ------- Misc ^^^^ * 2595: Reduced scope of dash deprecation warning to Setuptools/distutils only -- by :user:`melissa-kun-li` ``` ### 54.1.1 ``` ------- Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2584: Added ``sphinx-inline-tabs`` extension to allow for comparison of ``setup.py`` and its equivalent ``setup.cfg`` -- by :user:`amy-lei` Misc ^^^^ * 2592: Made option keys in the ``[metadata]`` section of ``setup.cfg`` case-sensitive. Users having uppercase option spellings will get a warning suggesting to make them to lowercase -- by :user:`melissa-kun-li` ``` ### 54.1.0 ``` ------- Changes ^^^^^^^ * 1608: Removed the conversion of dashes to underscores in the :code:`extras_require` and :code:`data_files` of :code:`setup.cfg` to support the usage of dashes. Method will warn users when they use a dash-separated key which in the future will only allow an underscore. Note: the method performs the dash to underscore conversion to preserve compatibility, but future versions will no longer support it -- by :user:`melissa-kun-li` ``` ### 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 deprecated 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/setuptoolsUpdate docutils from 0.15.2 to 0.18.1.
Changelog
### 0.18.1 ``` ============== .. Note:: Docutils 0.18.x is the last version supporting Python 2.7, 3.5, and 3.6. * nodes.Node.traverse() returns a list again to restore backwards compatibility (fixes bug 431). * Small bugfixes (see HISTORY_). ``` ### 0.18 ``` ========================= * Output changes: Identifiers: During `identifier normalization`_, leading number and hyphen characters are no longer stripped from a `reference name`_, if the id_prefix_ setting is non-empty. Example: with ``--id-prefix="DU-"``, a section with title "34. May" currently gets the identifier key ``DU-may`` and after the change the identifier key ``DU-34-may``. The default value for the auto_id_prefix_ setting changed to ``%``: "use the tag name as prefix for auto-generated IDs". Set auto_id_prefix_ to ``id`` for unchanged auto-IDs. HTML5: Use the semantic tag <aside> for footnote text and citations, topics (except abstract and toc), admonitions, and system messages. Use <nav> for the Table of Contents. Make "auto" table column widths the default: Only specify column widths, if the `"widths" option`_ is set and not "auto". The table-style__ setting "colwidths-grid" restores the current default. .. _"widths" option: __ docs/ref/rst/directives.htmltable __ docs/user/config.htmltable-style Items of a definition list with class argument "details" are converted to `details disclosure elements`_. Example:: ..class:: details Summary This additional information should be hidden. Do not add "compound-first", "compound-middle", or "compound-last" to elements nested in a compound. Use child selector and ":first-child", ":last-child" pseudo classes instead. Use class value "backrefs" instead of "fn-backref" for a span of back-references. Write footnote brackets and field term colons to HTML, so that they are present also without CSS and when copying text. Move space character between section number and heading into "sectnum" span. math-output: html Support more commands, fix mapping of commands to Unicode characters. Scale variable sized operators and big delimiters with CSS. Don't use <tt> element (deprecated in HTML5). Use STIX fonts if available. LaTeX: `legacy_class_functions`_ setting default changed to "False", admonitions are now environments. * New standard Docutils doctree node: <meta__>. * New configuration settings: [latex writers] legacy_column_widths_ and [html5 writer] image_loading_. * Removed files: ``iepngfix.htc`` and ``blank.gif`` (IE 6 workaround for `s5_html`). * Removed sub-module: ``parsers.rst.directives.html`` (Meta directive moved to ``parsers.rst.directives.misc``.) * Removed function: utils.unique_combinations() (obsoleted by itertools.combinations()). * Removed attribute: ``HTMLTranslator.topic_classes`` (check node.parent.classes instead). * Major refactoring and fixes/additions in ``docutils/utils/math/math2html.py`` and ``docutils/utils/math/latex2mathml.py`` (mathematical notation in HTML, cf. `LaTeX syntax for mathematics`_). * nodes.Node.traverse() returns an iterator instead of a list. * Various bugfixes and improvements (see HISTORY_). Fix spelling errors in documentation and docstrings. Thanks to Dimitri Papadopoulos. __ docs/ref/doctree.htmlmeta .. _identifier normalization: docs/ref/rst/directives.htmlidentifier-normalization .. _id_prefix: docs/user/config.htmlid-prefix .. _auto_id_prefix: docs/user/config.htmlauto-id-prefix .. _details disclosure elements: https://www.w3.org/TR/html52/interactive-elements.html#the-details-element .. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html .. _legacy_column_widths: docs/user/config.htmllegacy-column-widths ``` ### 0.17.1 ``` =========================== * Bug fixes (for details see the Docutils `HISTORY`_). ``` ### 0.17 ``` ========================= * Numerous bug fixes and improvements (for details see the Docutils `HISTORY`_). * Installing with ``setup.py`` now requires setuptools_. Alternatively, install with pip_. * The generic command line front end tool docutils-cli.py_ allows the free selection of reader, parser, and writer components. * Support Arabic language. * New, **experimental** wrapper to integrate the `recommonmark`__ Markdown parser for use with Docutils. Currently only tested with recommonmark version 0.4.0. __ https://pypi.org/project/recommonmark/ * HTML5 writer: - New option embed_images_. - Use semantic tags (for details see the Docutils `HISTORY`_). - Change the `initial_header_level`_ setting's default to "2", as browsers use the `same style for <h1> and <h2> when nested in a section`__. - New optional style ``responsive.css``, adapts to different screen sizes. - Move non-essential styling from ``minimal.css`` to ``plain.css`` rsp. ``responsive.css``. - Show code line numbers as pseudo-elements so they are skipped when copying the code block from the page. .. _initial_header_level: docs/user/config.htmlinitial-header-level __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article .. _embed_images: docs/user/config.htmlembed-images * LaTeX writer: - New configuration setting `legacy_class_functions`_. - The special value "auto" for the `graphicx_option`_ setting is no longer supported (it never worked for xetex/luatex). - `Styling commands`__ using the legacy ``\docutilsrole`` prefix are now ignored. Use ``\DUrole``. __ docs/user/latex.htmlclasses - Most helper commands and element definitions are now defined in the LaTeX package `docutils.sty`_ and only inserted in the document preamble if the stylesheet__ setting does not lists "docutils". __ docs/user/config.htmlstylesheet-latex-writers - Remove legacy LaTeX stylesheet ``docutils-05-compat.sty``. .. _setuptools: https://pypi.org/project/setuptools/ .. _pip: https://pypi.org/project/pip/ .. _docutils-cli.py: docs/user/tools.htmldocutils-cli-py .. _legacy_class_functions: docs/user/config.htmllegacy-class-functions .. _graphicx_option: docs/user/config.htmlgraphicx-option .. _docutils.sty: https://ctan.org/pkg/docutils ``` ### 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.10.0.
Changelog
### 2.10.0 ``` -------------- (released August 15th, 2021) - Added lexers: * ASC armored files (1807) * GSQL (1809, 1866) * Javascript REPL (1825) * procfile (1808) * Smithy (1878, 1879) - Updated lexers: * C-family: Fix preprocessor token issues (1830) * C (1573, 1869) * CSound (1837) * Fennel (1862) * JavaScript (1741, 1814) * LLVM (1824) * Rust - Fix lexing of "break" and "continue" (1843) - Improve attribute handling (1813) * Scala: Add support for the ``\`` operator (1857) * Swift (1767, 1842) * Tcl: Allow ``,`` and ` in strings (1834, 1742) - Fix assert statements in TNT lexer. - Token types across all lexers have been unified (using the most common token type name) (1816, 1819) - Improve Jasmin min score analysis (1619) - Add new alias for Go files (1827) - Fix multi-line console highlighting (1833) - Add a new trivial lexer which outputs everything as `Text.Generic.Output` (1835, 1836) - Use the ``.ini`` lexer for ``systemd`` files (1849) - Fix a ``FutureWarning`` related to ``words()`` (1854) - ``pwsh`` is now recognized as an alias for PowerShell (1876) ``` ### 2.9.0 ``` ------------- (released May 3rd, 2021) - Added lexers: * APDL, gcode (1714) * Kuin (1300) * NestedText (1578) * OMG IDL (1595) * TEAL (1671) * ThingsDB (1295) * WebAssembly (1416, 1564) - Updated lexers: * AMDGPU (1717, 1775) * APL (1747) * C/C++: Improve namespace handling (1722, 1561, 1719, 1746) * Chapel (1743) * Coq (1721) * Cython (853) * Groovy (1765) * Julia (1715) * Octave: Allow multiline and block-percent comments (1726) * PowerShell: Improve lexing of ``:`` (1682, 1758) * PromQL (1783) * Python: Improve float parsing (1768, 1740) * Rust (1061) * Scala: Rewrite to support Scala3 (1694, 1035, 1121) * Terraform: Support 0.14 syntax (1756) * Velocity: Detect multi-line patterns (1776) - Add Pango formatter (1727) - Autopygmentize uses ``file`` first instead of ``pygments -N`` (1786) - Fix links (1716) - Fix issue with LaTeX formatter and ``minted`` (1734, 1735, 1736, 1737) - Improve alias order (1780) - Improve line number colors (1779, 1778) - Fix CTag related issue (1724) - Recognize ``.leex`` as Elixir templates - Updated `filename` handling in HTML formatter if `linenos='table'` (1757) * Previously the filename would be emitted within the `<td>` holding the code, but outside the `<pre>`. This would invariably break the alignment with line numbers. * Now if `filename` is specified, a separate `<tr>` is emitted before the table content which contains a single `<th>` with `colspan=2` so it spans both the line number and code columns. The filename is still within `<span class="filename">...</span>` so any existing styles should still apply, although the CSS path may need to change. * For an example of the new output format see `table_cls_step_1_start_1_special_0_noanchor_filename.html` in the `tests/html_linenos_expected_output/` directory. * For more details and discussion see the issue https://github.com/pygments/pygments/issues/1757 - Added styles: * Gruvbox light+dark (1763) ``` ### 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.12.
Changelog
### 2.1.12 ``` Fixes - 322 Add Cirrus CI Dependencies and Misc - 311 Bump coverage from 5.3 to 5.3.1 - 312 Bump coverage from 5.3.1 to 5.4 - 314 Bump coverage from 5.4 to 5.5 - 320 Upgrade to GitHub-native Dependabot ``` ### 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