Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Update all dependencies #403

Closed
wants to merge 1 commit into from
Closed

Update all dependencies #403

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
actions/checkout action major v3 -> v4 age adoption passing confidence
actions/download-artifact action major v3 -> v4 age adoption passing confidence
actions/setup-python action major v4 -> v5 age adoption passing confidence
actions/upload-artifact action major v3 -> v4 age adoption passing confidence
lxml (source, changelog) major ==4.9.1 -> ==5.2.2 age adoption passing confidence
pypa/cibuildwheel action minor v2.11.1 -> v2.19.2 age adoption passing confidence
pytest-cov (changelog) major >=4, <5 -> >=5, <6 age adoption passing confidence
pytest-cov (changelog) major ==4.0.0 -> ==5.0.0 age adoption passing confidence
pytest-xdist (changelog) major >=2.5.0, <2.6.0 -> >=3.6.1, <3.7.0 age adoption passing confidence
pytest-xdist (changelog) major ==2.5.0 -> ==3.6.1 age adoption passing confidence
softprops/action-gh-release action major v1 -> v2 age adoption passing confidence

Release Notes

actions/checkout (actions/checkout)

v4

Compare Source

actions/download-artifact (actions/download-artifact)

v4

Compare Source

actions/setup-python (actions/setup-python)

v5

Compare Source

actions/upload-artifact (actions/upload-artifact)

v4

Compare Source

lxml/lxml (lxml)

v5.2.2

Compare Source

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

Bugs fixed

  • GH#417: The test_feed_parser test could fail if lxml_html_clean was not installed.
    It is now skipped in that case.

  • LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
    "core2", without SSE 4.2.

  • If libxml2 uses iconv, the compile time version is available as etree.ICONV_COMPILED_VERSION.

v5.2.1

Compare Source

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

Bugs fixed

  • LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
    "core2", but with SSE 4.2 enabled.

  • LP#2059977: Element.iterfind("//absolute_path") failed with a SyntaxError
    where it should have issued a warning.

  • GH#416: The documentation build was using the non-standard which command.
    Patch by Michał Górny.

v5.2.0

Compare Source

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

Other changes

  • LP#1958539: The lxml.html.clean implementation suffered from several (only if used)
    security issues in the past and was now extracted into a separate library:

    https://github.com/fedora-python/lxml_html_clean

    Projects that use lxml without "lxml.html.clean" will not notice any difference,
    except that they won't have potentially vulnerable code installed.
    The module is available as an "extra" setuptools dependency "lxml[html_clean]",
    so that Projects that need "lxml.html.clean" will need to switch their requirements
    from "lxml" to "lxml[html_clean]", or install the new library themselves.

  • The minimum CPU architecture for the Linux x86 binary wheels was upgraded to
    "sandybridge" (launched 2011), and glibc 2.28 / gcc 12 (manylinux_2_28) wheels were added.

  • Built with Cython 3.0.10.

v5.1.1

Compare Source

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

Bugs fixed

  • LP#2048920: iterlinks() in lxml.html rejected bytes input in 5.1.0.

  • High source line numbers from the parser are no longer truncated
    (up to a C long) when using libxml2 2.11 or later.

Other changes

  • GH#407: A compatibility test was adapted to recent expat versions.
    Patch by Miro Hrončok.

  • Binary wheels use the library versions libxml2 2.12.6 and libxslt 1.1.39.

  • Windows binary wheels use the library versions libxml2 2.11.7 and libxslt 1.1.39.

  • Built with Cython 3.0.9.

v5.1.0

Compare Source

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

Features added

  • Parsing ASCII strings is slightly faster.

Bugs fixed

  • GH#349: The HTML Cleaner() interpreted an accidentally provided string parameter
    for the host_whitelist as list of characters and silently failed to reject any hosts.
    Passing a non-collection is now rejected.

Other changes

  • Support for Python 2.7 and Python versions < 3.6 was removed.

  • The wheel build was migrated to use cibuildwheel.
    Patch by Primož Godec.

v5.0.2

Compare Source

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

Other changes

  • GH#407: A compatibility test was adapted to recent expat versions.
    Patch by Miro Hrončok.

  • Binary wheels use the library versions libxml2 2.12.6 and libxslt 1.1.39.

  • Built with Cython 3.0.9.

v5.0.1

Compare Source

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

Bugs fixed

  • LP#2046208: Parsing non-BMP Python Unicode strings could fail on macOS.

  • LP#2044225: When incrementally parsing broken HTML, reporting start events on
    missing structural tags failed and could lead to subsequent exceptions.

  • LP#2045435: Some (not all) issues with stricter C compilers were resolved.

  • The binary wheels in the 5.0.0 release did not validate cleanly (but installed ok).

.. _latest_release:

v5.0.0

Compare Source

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

Features added

  • Character escaping in C14N2 serialisation now uses a single pass over the text
    instead of searching for each unescaped character separately.

  • Early support for Python 3.13a2 was added.

Bugs fixed

  • LP#1976304: The Element.addnext() method previously inserted the new element
    before existing tail text. The tail text of both sibling elements now stays on
    the respective elements.

  • LP#1980767, GH#379: TreeBuilder.close() could fail with a TypeError after
    parsing incorrect input. Original patch by Enrico Minack.

  • Element.itertext(with_tail=False) returned the tail text of comments and
    processing instructions, despite the explicit option.

  • GH#370: A crash with recent libxml2 2.11.x versions was resolved.
    Patch by Michael Schlenker.

  • A compile problem with recent libxml2 2.12.x versions was resolved.

  • The internal exception handling in C callbacks was improved for Cython 3.0.

  • The exception declarations of xmlInputReadCallback, xmlInputCloseCallback,
    xmlOutputWriteCallback and xmlOutputCloseCallback in tree.pxd were
    corrected to prevent running Python code or calling into the C-API with a live
    exception set.

  • GH#385: The long deprecated unittest.m̀akeSuite() function is no longer used.
    Patch by Miro Hrončok.

  • LP#1522052: A file-system specific test is now optional and should no longer fail
    on systems that don't support it.

  • GH#392: Some tests were adapted for libxml2 2.13.
    Patch by Nick Wellnhofer.

  • Contains all fixes from lxml 4.9.4.

Other changes

  • LP#1742885: lxml no longer expands external entities (XXE) by default to prevent
    the security risk of loading arbitrary files and URLs. If this feature is needed,
    it can be enabled in a backwards compatible way by using a parser with the option
    resolve_entities=True. The new default is resolve_entities='internal'.

  • With libxml2 2.10.4 and later (as provided by the lxml 5.0 binary wheels),
    parsing HTML tags with "prefixes" no longer builds a namespace dictionary
    in nsmap but considers the prefix:name string the actual tag name.
    With older libxml2 versions, since 2.9.11, the prefix was removed. Before
    that, the prefix was parsed as XML prefix.

    lxml 5.0 does not try to hide this difference but now changes the ElementPath
    implementation to let element.find("part1:part2") search for the tag
    part1:part2 in documents parsed as HTML, instead of looking only for part2.

  • LP#2024343: The validation of the schema file itself is now optional in the
    ISO-Schematron implementation. This was done because some lxml distributions
    discard the RNG validation schema file due to licensing issues. The validation
    can now always be disabled with Schematron(..., validate_schema=False).
    It is enabled by default if available and disabled otherwise. The module
    constant lxml.isoschematron.schematron_schema_valid_supported can be used
    to detect whether schema file validation is available.

  • Some redundant and long deprecated methods were removed:
    parser.setElementClassLookup(),
    xslt_transform.apply(),
    xpath.evaluate().

  • Some incorrect declarations were removed from python.pxd. In general, this file
    should not be used by external Cython code. Use the C-API declarations provided by
    Cython itself instead.

  • Binary wheels use the library versions libxml2 2.12.3 and libxslt 1.1.39.

  • Built with Cython 3.0.7, updated to follow recent changes in Cython 3.1-dev.

v4.9.4

Compare Source

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

Bugs fixed

  • LP#2046398: Inserting/replacing an ancestor into a node's children could loop indefinitely.

  • LP#1980767, GH#379: TreeBuilder.close() could fail with a TypeError after
    parsing incorrect input. Original patch by Enrico Minack.

  • LP#1522052: A file-system specific test is now optional and should no longer fail
    on systems that don't support it.

Other changes

  • Wheels include zlib 1.3, libxml2 2.10.3 and libxslt 1.1.39
    (zlib 1.2.12, libxml2 2.10.3 and libxslt 1.1.37 on Windows).

  • Built with Cython 0.29.37.

v4.9.3

Compare Source

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

Bugs fixed

  • lxml.objectify accepted non-decimal numbers like ²²² as integers.

  • A memory leak in lxml.html.clean was resolved by switching to Cython 0.29.34+.

  • GH#348: URL checking in the HTML cleaner was improved.
    Patch by Tim McCormack.

  • GH#371, GH#373: Some regex strings were changed to raw strings to fix Python warnings.
    Patches by Jakub Wilk and Anthony Sottile.

Other changes

  • Wheels include zlib 1.2.13, libxml2 2.10.3 and libxslt 1.1.38
    (zlib 1.2.12, libxml2 2.10.3 and libxslt 1.1.37 on Windows).

  • Built with Cython 0.29.36 to adapt to changes in Python 3.12.

v4.9.2

Compare Source

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

Bugs fixed

Other changes

  • LP#1981760: Element.attrib now registers as collections.abc.MutableMapping.

  • lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels).
    Patch by Quentin Leffray.

pypa/cibuildwheel (pypa/cibuildwheel)

v2.19.2: Version 2.19.2

Compare Source

v2.19.1: Version 2.19.1

Compare Source

  • 🐛 Don't require setup-python on GHA for Pyodide (#​1868)
  • 🐛 Specify full python path for uv (fixes issue in 0.2.10 & 0.2.11) (#​1881)
  • 🛠 Update for pip 24.1b2 on CPython 3.13. (#​1879)
  • 🛠 Fix a warning in our schema generation script. (#​1866)
  • 🛠 Cleaner output on pytest 8-8.2. (#​1865)

v2.19.0: Version 2.19.0

Compare Source

Release post: https://iscinumpy.dev/post/cibuildwheel-2-19-0/

  • 🌟 Add a Pyodide platform. Set with --platform pyodide or CIBW_PLATFORM: pyodide on Linux with a host Python 3.12 to build WebAssembly wheels. Not accepted on PyPI currently, but usable directly in a website using Pyodide, for live docs, etc. (#​1456, #​1859)
  • 🌟 Add build[uv] backend, which will take a pre-existing uv install (or install cibuildwheel[uv]) and use uv for all environment setup and installs on Python 3.8+. This is significantly faster in most cases. (#​1856)
  • ✨ Add free-threaded macOS builds and update CPython to 3.13.0b2. (#​1854)
  • 🐛 Issue copying a wheel to a non-existent output dir fixed. (#​1851, #​1862)
  • 🐛 Better determinism for the test environment seeding. (#​1835)
  • 🛠 VIRTUAL_ENV variable now set. (#​1842)
  • 🛠 Remove a pip<21.3 workaround. (#​1842)
  • 🛠 Error handling was refactored to use exceptions. (#​1719)
  • 🛠 Hardcoded paths in tests avoided. (#​1834)
  • 🛠 Single Python tests made more generic. (#​1835)
  • 🛠 Sped up our ci by splitting up emulation tests. (#​1839)

v2.18.1

Compare Source

  • 🌟 Add free-threaded Linux and Windows builds for 3.13. New identifiers cp313t-*, new option CIBW_FREE_THREADED_SUPPORT/tool.cibuildwheel.free-threaded-support required to opt-in. See the docs for more information. (#​1831)
  • ✨ The container-engine is now a build (non-global) option. (#​1792)
  • 🛠 The build backend for cibuildwheel is now hatchling. (#​1297)
  • 🛠 Significant improvements and modernization to our noxfile. (#​1823)
  • 🛠 Use pylint's new GitHub Actions reporter instead of a custom matcher. (#​1823)
  • 🛠 Unpin virtualenv updates for Python 3.7+ (#​1830)
  • 🐛 Fix running linux tests from Windows or macOS ARM. (#​1788)
  • 📚 Fix our documentation build. (#​1821)

v2.18.0

Compare Source

  • ✨ Adds CPython 3.13 support, under the prerelease flag CIBW_PRERELEASE_PYTHONS. This version of cibuildwheel uses 3.13.0b1. Free-threading mode is not available yet (#​1657), waiting on official binaries (planned for beta 2) and pip support.
    While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.13 will be available in cibuildwheel without the flag. (#​1815)
  • ✨ Musllinux now defaults to musllinux_1_2. You can set the older musllinux_1_1 via config if needed. (#​1817)
  • 🛠 No longer pre-seed setuptools/wheel in virtual environments (#​1819)
  • 🛠 Respect the constraints file when building with pip, matching build (#​1818)
  • 🛠 Use uv to compile our pinned dependencies, 10x faster and doesn't require special setup (#​1778)
  • 🐛 Fix an issue with the schema (#​1788)
  • 📚 Document the new delocate error checking macOS versions (#​1766)
  • 📚 Document Rust builds (#​1816)
  • 📚 Speed up our readthedocs builds with uv, 26 seconds -> 6 seconds to install dependencies (#​1816)

v2.17.0

Compare Source

  • 🌟 Adds the ability to inherit configuration in TOML overrides. This makes certain configurations much simpler. If you're overriding an option like before-build or environment, and you just want to add an extra command or environment variable, you can just append (or prepend) to the previous config. See the docs for more information. (#​1730)
  • 🌟 Adds official support for native arm64 macOS GitHub runners. To use them, just specify macos-14 as an os of your job in your workflow file. You can also keep macos-13 in your build matrix to build x86_64. Check out the new GitHub Actions example config.
  • ✨ You no longer need to specify --platform to run cibuildwheel locally! Instead it will detect your platform automatically. This was a safety feature, no longer necessary. (#​1727)
  • 🛠 Removed setuptools and wheel pinned versions. This only affects old-style projects without a pyproject.toml, projects with pyproject.toml are already getting fresh versions of their build-system.requires installed into an isolated environment. (#​1725)
  • 🛠 Improve how the GitHub Action passes arguments (#​1757)
  • 🛠 Remove a system-wide install of pipx in the GitHub Action (#​1745)
  • 🐛 No longer will cibuildwheel override the PIP_CONSTRAINT environment variable when using the build frontend. Instead it will be extended. (#​1675)
  • 🐛 Fix a bug where building and testing both x86_86 and arm64 wheels on the same runner caused the wrong architectures in the test environment (#​1750)
  • 🐛 Fix a bug that prevented testing a CPython 3.8 wheel targeting macOS 11+ on x86_64 (#​1768)
  • 📚 Moved the docs onto the official PyPA domain - they're now available at https://cibuildwheel.pypa.io . (#​1775)
  • 📚 Docs and examples improvements (#​1762, #​1734)

v2.16.5

Compare Source

  • 🐛 Fix an incompatibility with the GitHub Action and new GitHub Runner images for Windows that bundle Powershell 7.3+ (#​1741)
  • 🛠 Preliminary support for new macos-14 arm64 runners (#​1743)

v2.16.4

Compare Source

🛠 Update manylinux pins to upgrade from a problematic PyPy version. (#​1737)

v2.16.3

Compare Source

  • 🐛 Fix a bug when building from sdist, where relative paths to files in the package didn't work because the working directory was wrong (#​1687)
  • 🛠 Adds the ability to disable mounting the host filesystem in containers to /host, through the disable_host_mount suboption on CIBW_CONTAINER_ENGINE.
  • 📚 A lot of docs improvements! (#​1708, #​1705, #​1686, #​1679, #​1667, #​1665)

v2.16.2

Compare Source

  • 🛠 Updates CPython 3.12 version to 3.12.0, final release (#​1635)
  • ✨ Adds a debug option CIBW_DEBUG_KEEP_CONTAINER to stop cibuildwheel deleting build containers after the build finishes. (#​1620)
  • 📚 Adds support for [tool.cibuildwheel] checking by adding a schema compatible with the validate-pyproject tool (#​1622, #​1628, #​1629)
  • 🐛 Fix parsing of CIBW_CONTAINER_ENGINE and CIBW_BUILD_FRONTEND options to not break arguments on : characters (#​1621)
  • 🐛 Fix the evaluation order of CIBW_ENVIRONMENT and CIBW_ENVIRONMENT_PASS so that CIBW_ENVIRONMENT assignments can reference environment variables passed through from the host machine. (#​1617)
  • 🛠 Supports manylinux images' deferred installation of interpreters through the manylinux-interpreters tool (#​1630)

v2.16.1

Compare Source

  • 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc3 (#​1625)
  • 🛠 Only calls linux32 in containers when necessary (#​1599)

v2.16.0

Compare Source

  • ✨ Add the ability to pass additional flags to a build frontend through the CIBW_BUILD_FRONTEND option (#​1588).
  • ✨ The environment variable SOURCE_DATE_EPOCH is now automatically passed through to container Linux builds (useful for reproducible builds!) (#​1589)
  • 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc2 (#​1604)
  • 🐛 Fix requires_python auto-detection from setup.py when the call to setup() is within an if __name__ == "__main__" block (#​1613)
  • 🐛 Fix a bug that prevented building Linux wheels in Docker on a Windows host (#​1573)
  • 🐛 --only can now select prerelease-pythons (#​1564)
  • 📚 Docs & examples updates (#​1582, #​1593, #​1598, #​1615)

v2.15.0

Compare Source

  • 🌟 CPython 3.12 wheels are now built by default - without the CIBW_PRERELEASE_PYTHONS flag. It's time to build and upload these wheels to PyPI! This release includes CPython 3.12.0rc1, which is guaranteed to be ABI compatible with the final release. (#​1565)
  • ✨ Adds musllinux_1_2 support - this allows packagers to build for musl-based Linux distributions on a more recent Alpine image, and a newer musl libc. (#​1561)

v2.14.1

Compare Source

  • 🛠 Updates the prerelease CPython 3.12 version to 3.12.0b4 (#​1550)

v2.14.0

Compare Source

  • ✨ Adds support for building PyPy 3.10 wheels. (#​1525)
  • 🛠 Updates the prerelease CPython 3.12 version to 3.12.0b3.
  • ✨ Allow the use of the {wheel} placeholder in CIBW_TEST_COMMAND (#​1533)
  • 📚 Docs & examples updates (#​1532, #​1416)
  • ⚠️ Removed support for running cibuildwheel in Python 3.7. Python 3.7 is EOL. However, cibuildwheel continues to build Python 3.7 wheels for the moment. (#​1175)

v2.13.1

Compare Source

  • 🛠 Updates the prerelease CPython 3.12 version to 3.12.0b2. (#​1516)
  • 🛠 Adds a moving v<major>.<minor> tag for use in GitHub Actions workflow files. If you use this, you'll get the latest patch release within a minor version. Additionally, Dependabot won't send you PRs for patch releases. (#​1517)

v2.13.0

Compare Source

  • ✨ Adds CPython 3.12 support, under the prerelease flag CIBW_PRERELEASE_PYTHONS. This version of cibuildwheel uses 3.12.0b1.

    While CPython is in beta, the ABI can change, so your wheels might not be compatible with the final release. For this reason, we don't recommend distributing wheels until RC1, at which point 3.12 will be available in cibuildwheel without the flag. (#​1507)

  • ✨ Adds the ability to pass arguments to the container engine when the container is created, using the CIBW_CONTAINER_ENGINE option. (#​1499)

v2.12.3

Compare Source

  • 🐛 Fix an import error when running on Python 3.7. (#​1479)

v2.12.2

Compare Source

  • 🐛 Fix a bug that caused an extra empty config-setting to be passed to the backend when CIBW_BUILD_FRONTEND is set to build. (#​1474)
  • 🐛 Fix a crash that occurred when overwriting an existing wheel on Windows. (#​1464)
  • 🛠 Pinned version updates, including CPython 3.10.11, 3.11.3, pip 23.1 and wheel 0.40.0.

v2.12.1

Compare Source

  • 🐛 Fix a bug that prevented the use of CIBW_CONFIG_SETTINGS with the 'pip' build backend. (#​1430)

v2.12.0

Compare Source

  • ✨ Adds support for PyPy arm64 wheels. This means that you can build PyPy wheels for Apple Silicon machines. Cross-compilation is not supported for these wheels, so you'll have to build on an Apple Silicon machine. (#​1372)
  • 🛠 Pinned version updates, including PyPy to v7.3.11 and setuptools to 66.0.0.

v2.11.4

Compare Source

  • 🐛 Fix a bug that caused missing wheels on Windows when a test was skipped using CIBW_TEST_SKIP (#​1377)
  • 🛠 Updates CPython 3.11 to 3.11.1 (#​1371)
  • 🛠 Updates PyPy 3.7 to 3.7.10, except on macOS which remains on 7.3.9 due to a bug. (#​1371)
  • 📚 Added a reference to abi3audit to the docs (#​1347)

v2.11.3

Compare Source

  • ✨ Improves the 'build options' log output that's printed at the start of each run (#​1352)
  • ✨ Added a friendly error message to a common misconfiguration of the CIBW_TEST_COMMAND option - not specifying path using the {project} placeholder (#​1336)
  • 🛠 The GitHub Action now uses Powershell on Windows to avoid occasional incompabilities with bash (#​1346)

v2.11.2

Compare Source

  • 🛠 Updates CPython 3.11 to 3.11.0 - final release (#​1327)
  • 🛠 Simplify the default macOS repair command (#​1322)
  • 🛠 Fix the default MACOSX_DEPLOYMENT_TARGET on arm64 (#​1312)
  • 🛠 Hide irrelevant pip warnings on linux (#​1311)
  • 🐛 Fix a bug that caused the stdout and stderr of commands in containers to be in the wrong order Previously, stdout could appear after stderr. (#​1324)
  • 📚 Added a FAQ entry describing how to perform native builds of CPython 3.8 wheels on Apple Silicon. (#​1323)
  • 📚 Other docs improvements
pytest-dev/pytest-cov (pytest-cov)

v5.0.0

Compare Source

  • Removed support for xdist rsync (now deprecated).
    Contributed by Matthias Reichenbach in #&#8203;623 <https://github.com/pytest-dev/pytest-cov/pull/623>_.
  • Switched docs theme to Furo.
  • Various legacy Python cleanup and CI improvements.
    Contributed by Christian Clauss and Hugo van Kemenade in
    #&#8203;630 <https://github.com/pytest-dev/pytest-cov/pull/630>,
    #&#8203;631 <https://github.com/pytest-dev/pytest-cov/pull/631>
    ,
    #&#8203;632 <https://github.com/pytest-dev/pytest-cov/pull/632>_ and
    #&#8203;633 <https://github.com/pytest-dev/pytest-cov/pull/633>_.
  • Added a pyproject.toml example in the docs.
    Contributed by Dawn James in #&#8203;626 <https://github.com/pytest-dev/pytest-cov/pull/626>_.
  • Modernized project's pre-commit hooks to use ruff. Initial POC contributed by
    Christian Clauss in #&#8203;584 <https://github.com/pytest-dev/pytest-cov/pull/584>_.
pytest-dev/pytest-xdist (pytest-xdist)

v3.6.1

Compare Source

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

Bug Fixes

  • #&#8203;1071 <https://github.com/pytest-dev/pytest-xdist/issues/1071>_: Add backward compatibility for deadlock issue with the execnet new main_thread_only "execmodel" triggered when pytest-cov accesses rinfo.

v3.6.0

Compare Source

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

This release was YANKED due to a regression fixed in 3.6.1.

Features

  • #&#8203;1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>_:pytest-xdist workers now always execute the tests in the main thread.
    Previously some tests might end up executing in a separate thread other than main in the workers, due to some internal execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example #​620 #​620`__).

Bug Fixes

  • #&#8203;1024 <https://github.com/pytest-dev/pytest-xdist/issues/1024>_: Added proper handling of shouldstop (such as set by --max-fail) and shouldfail conditions in workers.
    Previously, a worker might have continued executing further tests before the controller could terminate the session.

  • #&#8203;1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>_: Fixed compatibility issue between looponfail and editable installs.

  • #&#8203;620 <https://github.com/pytest-dev/pytest-xdist/issues/620>_: Use the new main_thread_only execnet "execmodel" so that code which expects to only run in the main thread will now work as expected.

  • #&#8203;937 <https://github.com/pytest-dev/pytest-xdist/issues/937>_: Fixed a bug where plugin would raise an incompatibility error with --pdb despite using -n0.

Removals

  • #&#8203;1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>_: Dropped support for Python 3.7.

  • #&#8203;1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>_: pytest>=7.0.0 is now required.

    execnet>=2.1.0 is now required.

Trivial Changes

  • #&#8203;1020 <https://github.com/pytest-dev/pytest-xdist/issues/1020>_: pytest-xdist's setup.py file is removed.

    If you relied on this file, e.g. to install pytest using setup.py install,
    please see Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>_ for alternatives.

  • #&#8203;1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet.

  • #&#8203;996 <https://github.com/pytest-dev/pytest-xdist/issues/996>_: Adjusted license file format and content to ensure security scanners will identity the license.

v3.5.0

Compare Source

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

Features

  • #&#8203;632 <https://github.com/pytest-dev/pytest-xdist/issues/632>_: --dist=loadscope now sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle.

v3.4.0

Compare Source

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

Features

  • #&#8203;963 <https://github.com/pytest-dev/pytest-xdist/issues/963>_: Wait for workers to finish reporting when test run stops early.

    This makes sure that the results of in-progress tests are displayed.
    Previously these reports were being discarded, losing information about the
    test run.

  • #&#8203;965 <https://github.com/pytest-dev/pytest-xdist/issues/965>_: Added support for Python 3.12.

v3.3.1

Compare Source

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

Bug Fixes

  • #&#8203;907 <https://github.com/pytest-dev/pytest-xdist/issues/907>_: Avoid remote calls during startup as execnet by default does not ensure remote affinity with the
    main thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks,
    for example asyncio, anyio, PyQt/PySide, etc.

    A more safe correction will require thread affinity in execnet (pytest-dev/execnet#96 <https://github.com/pytest-dev/execnet/issues/96>__).

v3.3.0

Compare Source

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

Features

  • #&#8203;555 <https://github.com/pytest-dev/pytest-xdist/issues/555>_: Improved progress output when collecting nodes to be less verbose.

v3.2.1

Compare Source

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

Bug Fixes

  • #&#8203;884 <https://github.com/pytest-dev/pytest-xdist/issues/884>_: Fixed hang in worksteal scheduler.

v3.2.0

Compare Source

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

Improved Documentation

  • #&#8203;863 <https://github.com/pytest-dev/pytest-xdist/issues/863>_: Document limitations for debugging due to standard I/O of workers not being forwarded. Also, mention remote debugging as a possible workaround.

Features

  • #&#8203;855 <https://github.com/pytest-dev/pytest-xdist/issues/855>_: Users can now configure load scheduling precision using --maxschedchunk command
    line option.

  • #&#8203;858 <https://github.com/pytest-dev/pytest-xdist/issues/858>: New worksteal scheduler, based on the idea of work stealing <https://en.wikipedia.org/wiki/Work_stealing>. It's similar to load scheduler, but it should handle tests with significantly differing duration better, and, at the same time, it should provide similar or better reuse of fixtures.

Trivial Changes

  • #&#8203;870 <https://github.com/pytest-dev/pytest-xdist/issues/870>_: Make the tests pass even when $PYTEST_XDIST_AUTO_NUM_WORKERS is set.

v3.1.0

Compare Source

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

Features

  • #&#8203;789 <https://github.com/pytest-dev/pytest-xdist/issues/789>_: Users can now set a default distribution mode in their configuration file:

    .. code-block:: ini

    [pytest]
    addopts = --dist loadscope
    
  • #&#8203;842 <https://github.com/pytest-dev/pytest-xdist/issues/842>_: Python 3.11 is now officially supported.

Removals

  • #&#8203;842 <https://github.com/pytest-dev/pytest-xdist/issues/842>_: Python 3.6 is no longer supported.

v3.0.2

Compare Source

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

Bug Fixes

  • #&#8203;813 <https://github.com/pytest-dev/pytest-xdist/issues/813>_: Cancel shutdown when a crashed worker is restarted.

Deprecations

  • #&#8203;825 <https://github.com/pytest-dev/pytest-xdist/issues/825>_: The --rsyncdir command line argument and rsyncdirs config variable are deprecated.

    The rsync feature will be removed in pytest-xdist 4.0.

  • #&#8203;826 <https://github.com/pytest-dev/pytest-xdist/issues/826>_: The --looponfail command line argument and looponfailroots config variable are deprecated.

    The loop-on-fail feature will be removed in pytest-xdist 4.0.

Improved Documentation

  • #&#8203;791 <https://github.com/pytest-dev/pytest-xdist/issues/791>_: Document the pytest_xdist_auto_num_workers hook.

  • #&#8203;796 <https://github.com/pytest-dev/pytest-xdist/issues/796>_: Added known limitations section to documentation.

  • #&#8203;829 <https://github.com/pytest-dev/pytest-xdist/issues/829>_: Document the -n logical option.

Features

  • #&#8203;792 <https://github.com/pytest-dev/pytest-xdist/issues/792>_: The environment variable PYTEST_XDIST_AUTO_NUM_WORKERS can now be used to
    specify the default for -n auto and -n logical.

  • #&#8203;812 <https://github.com/pytest-dev/pytest-xdist/issues/812>_: Partially restore old initial batch distribution algorithm in LoadScheduling.

    pytest orders tests for optimal sequential execution - i. e. avoiding
    unnecessary setup and teardown of fixtures. So executing tests in consecutive
    chunks is important for optimal performance.

    In v1.14, initial test distribution in LoadScheduling was changed to
    round-robin, optimized for the corner case, when the number of tests is less
    than 2 * number of nodes. At the same time, it became worse for all other
    cases.

    For example: if some tests use some "heavy" fixture, and these tests fit into
    the initial batch, with round-robin distribution the fixture will be created
    min(n_tests, n_workers) times, no matter how many other tests there are.

    With the old algorithm (before v1.14), if there are enough tests not using
    the fixture, the fixture was created only once.

    So restore the old behavior for typical cases where the number of tests is
    much greater than the number of workers (or, strictly speaking, when there
    are at least 2 tests for every node).

Removals

  • #&#8203;468 <https://github.com/pytest-dev/pytest-xdist/issues/468>_: The --boxed command-line option has been removed. If you still need this functionality, install pytest-forked <https://pypi.org/project/pytest-forked>__ separately.

Trivial Changes

  • #&#8203;468 <https://github.com/pytest-dev/pytest-xdist/issues/468>_: The py dependency has been dropped.

  • #&#8203;822 <https://github.com/pytest-dev/pytest-xdist/issues/822>_: Replace internal usage of py.log with a custom solution (but with the same interface).

  • #&#8203;823 <https://github.com/pytest-dev/pytest-xdist/issues/823>_: Remove usage of py._pydir as an rsync candidate.

  • #&#8203;824 <https://github.com/pytest-dev/pytest-xdist/issues/824>_: Replace internal usages of py.path.local by pathlib.Path.

softprops/action-gh-release (softprops/action-gh-release)

[v2](https://togithub.com/softprops/action-gh-r


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 04a8922 to ea7a1f9 Compare September 29, 2023 17:02
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from ba27289 to 891a71f Compare October 6, 2023 13:07
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from f389144 to 27f1099 Compare November 15, 2023 18:13
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from db750dc to 9419828 Compare November 23, 2023 11:16
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 857bcfb to c79309d Compare December 6, 2023 14:23
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 699a68f to dbbac14 Compare December 19, 2023 18:52
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from af39c6f to 213e5d5 Compare January 8, 2024 09:19
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 6cd1a54 to 5605a24 Compare January 31, 2024 00:25
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 9465136 to a29a05e Compare March 11, 2024 21:30
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from a703607 to 88d175f Compare March 29, 2024 07:06
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from d0b8cdd to c7b6107 Compare April 2, 2024 19:43
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 8d534f7 to 6c634d7 Compare April 20, 2024 08:11
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from a5bb0fb to 83384b8 Compare May 13, 2024 06:55
@renovate renovate bot force-pushed the renovate/all branch from 83384b8 to c4101b0 Compare May 20, 2024 12:48
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 71b7c2e to 9191cd2 Compare June 13, 2024 08:30
@renovate renovate bot force-pushed the renovate/all branch from 9191cd2 to a5a211d Compare July 2, 2024 14:26
@skef skef closed this Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant