Skip to content

deps(deps): update lxml requirement from >=4.9 to >=6.1.0 - #1

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/lxml-gte-6.1.0
Closed

deps(deps): update lxml requirement from >=4.9 to >=6.1.0#1
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/lxml-gte-6.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown

Updates the requirements on lxml to permit the latest version.

Changelog

Sourced from lxml's changelog.

6.1.0 (2026-04-17)

This release fixes a possible external entity injection (XXE) vulnerability in iterparse() and the ETCompatXMLParser.

Features added

  • GH#486: The HTML ARIA accessibility attributes were added to the set of safe attributes in lxml.html.defs. This allows lxml_html_clean to pass them through. Patch by oomsveta.

  • The default chunk size for reading from file-likes in iterparse() is now configurable with a new chunk_size argument.

Bugs fixed

  • LP#2146291: The resolve_entities option was still set to True for iterparse and ETCompatXMLParser, allowing for external entity injection (XXE) when using these parsers without setting this option explicitly. The default was now changed to 'internal' only (as for the normal XML and HTML parsers since lxml 5.0). Issue found by Sihao Qiu as CVE-2026-41066.

6.0.4 (2026-04-12)

Bugs fixed

  • LP#2148019: Spurious MemoryError during namespace cleanup.

6.0.3 (2026-04-09)

Bugs fixed

  • Several out of memory error cases now raise MemoryError that were not handled before.

  • Slicing with large step values (outside of +/- sys.maxsize) could trigger undefined C behaviour.

  • LP#2125399: Some failing tests were fixed or disabled in PyPy.

  • LP#2138421: Memory leak in error cases when setting the public_id or system_url of a document.

... (truncated)

Commits
  • 43722f4 Update changelog.
  • 8747040 Name version of option change in docstring.
  • 6c36e6c Fix pypistats URL in download statistics script.
  • c7d76d6 Change security policy to point to Github security advisories.
  • 378ccf8 Update project income report.
  • 315270b Docs: Reduce TOC depth of package pages and move module contents first.
  • 6dbba7f Docs: Show current year in copyright line.
  • e4385bf Update project income report.
  • 5bed1e1 Validate file hashes in release download script.
  • c13ee10 Prepare release of 6.1.0.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [lxml](https://github.com/lxml/lxml) to permit the latest version.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-4.9.0...lxml-6.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github May 4, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

IgorShutko added a commit that referenced this pull request May 17, 2026
Корень: универсальные RU/UA словари давали систематические
false positives на hardware-каталоге (Arduino, ЧПУ, авто-электроника).
Общий подход — безопасный матчинг, а не расширение словарей.

🔴 #1 consistency: placeholder не domain-aware
  - «заглушка» (socket blanking plug, торцевая заглушка для полива)
    УДАЛЕНА из списка — это реальный товар в hardware
  - «placeholder» убран
  - Разделено на STRONG (substring, безопасные: lorem ipsum, тест тест)
    и WEAK (todo/tbd/tba/n/a — только \bword\b + доминирование
    в коротком <60 симв тексте)
  - tba больше НЕ ловится внутри SKU 14AM00TBAS
  - 5 unit-тестов прошли

🔴 #2 audit.py: sitemap-страницы смешаны с категориями
  - INFO_KEYWORDS расширен (delivery_info, return_policy, contacts,
    brands, blog, faq, cart...)
  - is_home() ловит языковые главные (/ua/, /ru/)
  - is_info() режет языковой префикс перед матчингом
  - page_label(): в примерах печатается САМ title + длина,
    а не URL-слаг (было /ua/, /g102988977-...)

🟡 #3 text-quality: CAPS/letter_repeats шум на hardware
  - caps_lock: вайтлист brand+title токенов (INKBIRD, BIGTREETECH),
    скип SKU-подобных (цифра/дефис), расширен KNOWN_ABBR
  - letter_repeats: regex теперь только БУКВЫ, не \w —
    «30000 мАг» больше не false positive, «оооочень» ловится
  - 5 unit-тестов прошли

🟡 #4 apply_fixes: новый --fix decode-entities
  - html.unescape() по description/short/marketplace_description
  - превью before→after + счётчик + лог
  - на тесте: 44 товара, 1277 entities, &mdash;→—, &laquo;→«, &sup2;→²
  - описан в fix_recipes.md как Fix 11
  - отличие от inline-styles разъяснено (текст vs style-атрибуты)

🟡 #5 audit.py: HTML-фаза товаров возвращала 0 молча
  - sitemap fallback: если catalog-sitemap пуст → парсим
    sitemap-index, ищем под-карты catalog/product/tovar
  - catalog_phase_ok флаг в html_audit return
  - явный ⚠️ warning в REPORT.md если 0 товарных URL или
    0 успешно распарсено (вместо тихого частичного результата)

🟢 #6 audit.py: finding_meta +6 типов
  - description_empty, description_short, short_description_empty,
    marketplace_description_empty, no_marketplaces, no_images
  - больше нет «🟡 див. деталі» без рецепта

Smoke на protexttile: consistency 0 конфликтов (clean),
text-quality без caps/letter false positives, decode-entities
preview корректный. Все 14 .py syntax OK.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github May 19, 2026

Copy link
Copy Markdown
Author

Superseded by #6.

@dependabot dependabot Bot closed this May 19, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/lxml-gte-6.1.0 branch May 19, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants