Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python314-Protego-0.7.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python314-Protego Distribution: openSUSE Tumbleweed
Version: 0.7.0 Vendor: openSUSE
Release: 1.1 Build date: Sun Oct 25 20:08:35 2026
Group: Unspecified Build host: reproducible
Size: 93963 Source RPM: python-Protego-0.7.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/scrapy/protego
Summary: Pure-Python robotstxt parser with support for modern conventions
Protego is a pure-Python `robots.txt` parser with support for modern conventions.

Provides

Requires

License

BSD-3-Clause

Changelog

* Sun Oct 25 2026 Dirk Müller <dmueller@suse.com>
  - update to 0.7.0:
    * Backward-incompatible: Protego.parse() now raises a more
      suitable TypeError instead of a ValueError when content is
      not a string.
    * Added official support for Python 3.15.
    * can_fetch() now allows /robots.txt whatever the rules say, as
      required by RFC 9309.
    * A group now applies to a user agent only if its product token
      appears in that user agent at a token boundary, so that User-
      agent: bot no longer applies to mybot. A product token within
      a whole User-Agent header value, e.g. Mozilla/5.0
      (compatible; mybot/1.0), still matches.
    * Percent-encoding is now normalized in the query string and
      the parameters of a URL, and not only in its path, so that a
      rule matches whichever spelling either of them uses, e.g.
      Disallow: /a?b=ツ now matches /a?b=%E3%83%84. The fragment is
      now left out of matching altogether.
    * Visit-time now also accepts a hyphen between the two times,
      e.g. 0400-0845, and times with a single-digit hour, e.g. 400.
    * Malformed Crawl-delay values, such as a negative or infinite
      number, and Request-rate values with zero requests or zero
      seconds, are now ignored, as other malformed values already
      were.
    * Improved the handling of invalid and misspelled lines.
      Sitemap and Host lines are now read anywhere in the file,
      including before any User-agent line, and no longer merge the
      groups they sit between. A User-agent line without a value
      still ends the preceding group. Lines written without a colon
      are now salvaged for every directive, Visit-time included,
      and with any whitespace as the separator. A line whose field
      is not a known directive is no longer read as one.
    * Fixed matching of URLs whose path contains =, which no rule
      could match because it was percent-encoded in the URL but not
      in the rule.
    * Fixed matching of URLs whose path starts with //, which got
      extra slashes before being matched.
    * Fixed Allow: …/index.html, which, besides allowing the parent
      directory as intended, also allowed URLs with a $ right after
      that directory.
    * Improved matching and parsing performance.
    * Documentation improvements, including a rewritten parser
      comparison table generated from benchmarks.
* Mon Jul 06 2026 Dirk Müller <dmueller@suse.com>
  - update to 0.6.2 (CVE-2026-55520, bsc#1270394):
    * Fixed a ReDoS (regular expression denial of service)
      vulnerability: URL patterns from robots.txt Allow and
      Disallow directives were compiled into regular expressions,
      where multiple * wildcards could cause exponential
      backtracking. A server could exploit this to cause denial of
      service by serving a crafted robots.txt file. Wildcard
      matching is now performed without regular expressions.
      Please, see the CVE-2026-55520 and GHSA-wjmf-p669-5m5p
      security advisories for more information.
    * Fixed parsing of Request-rate values where the seconds field
      has no time-unit suffix (e.g. 1/60 instead of 1/60s).
      Previously the last digit of the number was silently dropped.
* Tue Feb 17 2026 Marius Grossu <marius.grossu@suse.com>
  - Update to 0.6.0:
    * Added official support for Python 3.14.
    * Dropped support for Python 3.9 and PyPy 3.10.
    * CI fixes and improvements.
* Thu Jul 03 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
  - Update to 0.5.0
    * Restructured the code, splitting the single ``protego.py`` file
      into multiple modules. The public API remains the same but some
      internal names may now be available at different import paths.
    * Added type hints and ``py.typed``.
    * Added official support for PyPy 3.11.
    * Switched the build backend from ``setuptools`` to ``hatchling``.
    * Switched from ``setup.py`` to ``pyproject.toml``.
    * CI fixes and improvements.
  - Update BuildRequires from pyproject.toml
  - Update filenames of Python files matched in %files section
  - Use Python 3.11 on SLE-15 by default
* Mon Apr 14 2025 Steve Kowalik <steven.kowalik@suse.com>
  - Support both lowercased and unnormalized metadata directory names.
* Tue Mar 25 2025 Steve Kowalik <steven.kowalik@suse.com>
  - Lowercase metadata directory name.
* Fri Jan 24 2025 Yunus Acar <yunus.acar@suse.com>
  - Update to version 0.4.0:
    * Dropped Python 3.8 support, added official Python 3.13 support.
    * Added support for //-prefixed URLs.
    * Improved the rendering of the README.rst code snippets in GitHub.
* Sat Apr 27 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.3.1:
    * Added official support for Python 3.12.
    * ``=`` is no longer percent-encoded in patterns, fixing many
      scenarios where patterns included query strings.
* Sun Jan 07 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.3.0:
    * Dropped support for Python 2.7, 3.5, 3.6, and 3.7, and
      added support for 3.11 and for the upcoming 3.12.
    * six is no longer a dependency.
    * Added support for the ``Visit-Time`` directive.
    * Fixed leading asterisks in allow and disallow values not
      being properly interpreted.
    * Protego.parse() now raises value error when *content*
      is not a string.
  - drop python-Protego-no-six.patch (upstream)
* Mon Oct 17 2022 pgajdos@suse.com
  - added patches
    fix https://github.com/scrapy/protego/issues/31
    + python-Protego-no-six.patch

Files

/usr/lib/python3.14/site-packages/protego
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/INSTALLER
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/METADATA
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/RECORD
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/REQUESTED
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/WHEEL
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/licenses
/usr/lib/python3.14/site-packages/protego-0.7.0.dist-info/licenses/LICENSE
/usr/lib/python3.14/site-packages/protego/__init__.py
/usr/lib/python3.14/site-packages/protego/__pycache__
/usr/lib/python3.14/site-packages/protego/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_protego.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_protego.cpython-314.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_ruleset.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_ruleset.cpython-314.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_urlpattern.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_urlpattern.cpython-314.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_utils.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/protego/__pycache__/_utils.cpython-314.pyc
/usr/lib/python3.14/site-packages/protego/_protego.py
/usr/lib/python3.14/site-packages/protego/_ruleset.py
/usr/lib/python3.14/site-packages/protego/_urlpattern.py
/usr/lib/python3.14/site-packages/protego/_utils.py
/usr/lib/python3.14/site-packages/protego/py.typed
/usr/share/doc/packages/python314-Protego
/usr/share/doc/packages/python314-Protego/README.rst
/usr/share/licenses/python314-Protego
/usr/share/licenses/python314-Protego/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Oct 27 22:33:16 2026