Skip to content

fix(deps): update dependency lxml to v6.2.1 (main) - #23213

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-lxml-6.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-lxml-6.x

Conversation

@renovate

@renovate renovate Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
lxml (source, changelog) ==6.2.0 → ==6.2.1 age confidence

Release Notes

lxml/lxml (lxml)

v6.2.1

Compare Source

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

This release fixes regressions in lxml 6.2.0 and covers more edge cases for its security fixes.
Upgrading is recommended.

Bugs fixed

  • GH#620: Pull parsers with a parser target failed on comments and processing instructions
    when collecting comment or pi events since lxml 6.2.0.
    Patch by Pierre-Yves Le Borgne.

  • LP#2178248: The parser target's .start() callback method stopped receiving a namespace
    mapping dict in lxml 6.2.0 if no .end_ns() method was also provided.

  • GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not work with libxml2 < 2.13, which parses entities
    in a separate parser context. iterparse() and XMLPullParser could still crash with it
    on entities that fail to parse, but also on comments and PIs in entities and on entities
    that are referenced more than once.
    Patch by Pierre-Yves Le Borgne.

  • GHSA-59qx-3jjv-x996, GH#619: The fix in lxml 6.2.0 did not cover parsers with resolve_entities=False.
    libxml2 also parses the internal entities that it does not substitute, and iterparse() and
    XMLPullParser could still crash on such entities that fail to parse.
    Patch by Pierre-Yves Le Borgne.

  • GHSA-59qx-3jjv-x996, GH#619: An XMLPullParser that was fed again after a parse error reported
    left-over events of the failed document, which could refer to elements that were already freed.
    Patch by Pierre-Yves Le Borgne.

  • LP#2178276: The sdist was missing from the Github release upload.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies PR: Third-party library dependencies. label Nov 29, 2026
@renovate
renovate Bot enabled auto-merge (rebase) November 29, 2026 18:24
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
15694 1 15693 1051
View the top 1 failed test(s) by shortest run time
weblate.trans.tests.test_selenium.SeleniumTests::test_add_component
Stack Traces | 126s run time
self = <weblate.trans.tests.test_selenium.SeleniumTests testMethod=test_add_component>

    @modify_settings(INSTALLED_APPS={"append": "weblate.billing"})
    def test_add_component(self) -> None:
        """Test user adding project and component."""
        self.use_github_fixtures()
        self.clear_weblateorg_fixture_path()
        user = self.do_login()
        with patch("django.utils.timezone.now", return_value=SCREENSHOT_DATE):
            billing = create_test_billing(user, invoice=False)
            billing.invoice_set.create(
                amount=19,
                start=SCREENSHOT_DATE.date() - timedelta(days=1),
                end=SCREENSHOT_DATE.date() + timedelta(days=1),
            )
    
            # Open billing page
            self.click(htmlid="user-dropdown")
            with self.wait_for_page_load():
                self.click(htmlid="billing-button")
            self.screenshot("user-billing.png")
    
            # Click on add project
            with self.wait_for_page_load():
                self.click(
                    self.driver.find_element(By.CLASS_NAME, "billing-add-project")
                )
    
            # Add project
            self.driver.find_element(By.ID, "id_name").send_keys("WeblateOrg")
            self.driver.find_element(By.ID, "id_web").send_keys("https://weblate.org/")
            self.driver.find_element(By.ID, "id_instructions").send_keys(
                "https://weblate.org/contribute/"
            )
            self.screenshot("user-add-project.png")
            with self.wait_for_page_load():
                self.driver.find_element(By.ID, "id_name").submit()
    
            project = Project.objects.get(name="WeblateOrg")
            self.assertEqual(project.access_control, Project.ACCESS_PRIVATE)
            project.public_sharing = True
            self.enterContext(acting_user_context(user))
            project.save(update_fields=["public_sharing"])
            with self.wait_for_page_load():
                self.driver.refresh()
    
            self.assertTrue(
                self.driver.find_element(By.LINK_TEXT, "Community").is_displayed()
            )
            self.screenshot("user-add-project-done.png")
            self.assertIn("WeblateOrg", self.driver.title)
    
            # Click on add component
            with self.wait_for_page_load():
                self.click(self.driver.find_element(By.ID, "list-add-button"))
    
            # Add component
            self.driver.find_element(By.ID, "id_name").send_keys("Language names")
            self.driver.find_element(By.ID, "id_repo").send_keys(
                "https://github.com/WeblateOrg/demo.git"
            )
            self.driver.find_element(By.ID, "id_branch").send_keys("main")
            self.screenshot("user-add-component-init.png")
            with self.wait_for_page_load(timeout=1200):
                self.driver.find_element(By.ID, "id_name").submit()
    
            self.screenshot("user-add-component-discovery.png")
>           discovery_choice = WebDriverWait(self.driver, 30).until(
                element_to_be_clickable(
                    (
                        By.XPATH,
                        (
                            '//label[.//code[text()="weblate/langdata/locale/*/LC_MESSAGES/django.po"]]'
                            '/preceding-sibling::input[@name="discovery"]'
                        ),
                    )
                )
            )

.../trans/tests/test_selenium.py:7559: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="464ddb10de946bccaeef74a9fa9ef07f")>
method = <function element_to_be_clickable.<locals>._predicate at 0x1348ca770>
message = ''

    def until(self, method: Callable[[D], Literal[False] | T], message: str = "") -> T:
        """Wait until the method returns a value that is not False.
    
        Calls the method provided with the driver as an argument until the
        return value does not evaluate to ``False``.
    
        Args:
            method: A callable object that takes a WebDriver instance as an
                argument.
            message: Optional message for TimeoutException.
    
        Returns:
            The result of the last call to `method`.
    
        Raises:
            TimeoutException: If 'method' does not return a truthy value within
                the WebDriverWait object's timeout.
    
        Example:
            >>> from selenium.webdriver.common.by import By
            >>> from selenium.webdriver.support.wait import WebDriverWait
            >>> from selenium.webdriver.support import expected_conditions as EC
            >>>
            >>> # Wait until an element is visible on the page
            >>> wait = WebDriverWait(driver, 10)
            >>> element = wait.until(EC.visibility_of_element_located((By.ID, "exampleId")))
            >>> print(element.text)
        """
        screen = None
        stacktrace = None
    
        end_time = time.monotonic() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, "screen", None)
                stacktrace = getattr(exc, "stacktrace", None)
            if time.monotonic() > end_time:
                break
            time.sleep(self._poll)
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: 
E       Stacktrace:
E       0   chromedriver                        0x0000000104530544 chromedriver + 3081540
E       1   chromedriver                        0x000000010488bb10 __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 145276
E       2   chromedriver                        0x00000001048c2220 __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 368268
E       3   chromedriver                        0x0000000104870f3c __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 35752
E       4   chromedriver                        0x00000001048f45f4 __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 574048
E       5   chromedriver                        0x0000000104870f3c __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 35752
E       6   chromedriver                        0x00000001048ba258 __crubit_thunk_78baa7245bd2714c__uRNvNtCsamDzngsToYq_u16web_upackage_urust6parser23parse_umagic_uand_uversion + 335556
E       7   chromedriver                        0x00000001044ff508 chromedriver + 2880776
E       8   chromedriver                        0x00000001045027c8 chromedriver + 2893768
E       9   chromedriver                        0x00000001044e8cc4 chromedriver + 2788548
E       10  chromedriver                        0x0000000104503090 chromedriver + 2896016
E       11  chromedriver                        0x00000001044dc868 chromedriver + 2738280
E       12  chromedriver                        0x000000010451ecb4 chromedriver + 3009716
E       13  chromedriver                        0x000000010451ee14 chromedriver + 3010068
E       14  chromedriver                        0x00000001045301f4 chromedriver + 3080692
E       15  libsystem_pthread.dylib             0x0000000185bc0c54 _pthread_start + 132
E       16  libsystem_pthread.dylib             0x0000000185bbbc18 thread_start + 4

.venv/lib/python3.14.../webdriver/support/wait.py:121: TimeoutException

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies PR: Third-party library dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants