26 Commits

Author SHA256 Message Date
a7bcb830cd Accepting request 1325511 from devel:languages:python
- Disable failing test everywhere.

OBS-URL: https://build.opensuse.org/request/show/1325511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=12
2026-01-06 16:45:40 +00:00
df62b7b2b4 - Disable failing test everywhere.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=26
2026-01-06 01:54:21 +00:00
84d0328b73 Accepting request 1272264 from devel:languages:python
- Add python-ftfy.rpmlintrc properly.
- Remove upstreamed update-wcwidth.patch
- update to 6.3.1
  * Fixed license metadata field in pyproject.toml.
  * Removed extraneous files from the hatchling sdist output.
- Version 6.3.0 (October 8, 2024)
  * Switched packaging from poetry to uv.
  * Uses modern Python packaging exclusively (no setup.py).
  * Added support for mojibake in Windows-1257 (Baltic).
  * Detects mojibake for "Ü" in an uppercase word, such as "ZURÜCK".
  * Expanded a heuristic that notices improbable punctuation.
  * Fixed a false positive involving two concatenated strings, one of
    which began with the § sign.
  * Rewrote chardata.py to be more human-readable and debuggable,
    instead of being full of keysmash-like character sets.
- Version 6.2.3 (August 5, 2024)
  * Updated PyPI metadata.
- Version 6.2.2 (August 5, 2024)
  * Updated Read the Docs config so that docs might build again.
- Version 6.2.1 (August 5, 2024)
  * Updated setup.py and tox.ini to indicate support for Python 3.8 
    through 3.13.
  * Replaced the text file used in CLI tests with a better one that
    tests the same issue.
  * Lints and auto-formatting using ruff.
  * Packaging and test fixes by Michał Górny.
- Version 6.2.0 (March 15, 2024)
  * Fixed a case where an en-dash and a space near other mojibake 
    would be interpreted (probably incorrectly) as MacRoman mojibake.
  * Added [project.urls] metadata to pyproject.toml.
  * README contains license clarifications for entitled jerks.
- Version 6.1.3 (November 21, 2023)
  * Updated wcwidth.
  * Switched to the Apache 2.0 license.
  * Dropped support for Python 3.7.
- Version 6.1.2 (February 17, 2022)
  * Added type information for guess_bytes.
- Version 6.1.1 (February 9, 2022)
  * Updated the heuristic to fix the letter ß in UTF-8/MacRoman mojibake,
    which had regressed since version 5.6.
  * Packaging fixes to pyproject.toml.
- Version 6.1 (February 9, 2022)
  * Updated the heuristic to fix the letter Ñ with more confidence.
  * Fixed type annotations and added py.typed.
  * ftfy is packaged using Poetry now, and wheels are created and uploaded
    to PyPI.

OBS-URL: https://build.opensuse.org/request/show/1272264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=11
2025-04-24 15:25:47 +00:00
a4d536548c - Remove upstreamed update-wcwidth.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=24
2025-04-23 20:30:01 +00:00
3ddabd747d - Add python-ftfy.rpmlintrc properly.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=23
2025-04-23 20:26:46 +00:00
d77091cb09 Accepting request 1272228 from home:fstegmeier:branches:devel:languages:python
- update to 6.3.1
  * Fixed license metadata field in pyproject.toml.
  * Removed extraneous files from the hatchling sdist output.
- Version 6.3.0 (October 8, 2024)
  * Switched packaging from poetry to uv.
  * Uses modern Python packaging exclusively (no setup.py).
  * Added support for mojibake in Windows-1257 (Baltic).
  * Detects mojibake for "Ü" in an uppercase word, such as "ZURÜCK".
  * Expanded a heuristic that notices improbable punctuation.
  * Fixed a false positive involving two concatenated strings, one of
    which began with the § sign.
  * Rewrote chardata.py to be more human-readable and debuggable,
    instead of being full of keysmash-like character sets.
- Version 6.2.3 (August 5, 2024)
  * Updated PyPI metadata.
- Version 6.2.2 (August 5, 2024)
  * Updated Read the Docs config so that docs might build again.
- Version 6.2.1 (August 5, 2024)
  * Updated setup.py and tox.ini to indicate support for Python 3.8 
    through 3.13.
  * Replaced the text file used in CLI tests with a better one that
    tests the same issue.
  * Lints and auto-formatting using ruff.
  * Packaging and test fixes by Michał Górny.
- Version 6.2.0 (March 15, 2024)
  * Fixed a case where an en-dash and a space near other mojibake 
    would be interpreted (probably incorrectly) as MacRoman mojibake.
  * Added [project.urls] metadata to pyproject.toml.
  * README contains license clarifications for entitled jerks.
- Version 6.1.3 (November 21, 2023)

OBS-URL: https://build.opensuse.org/request/show/1272228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=22
2025-04-23 17:50:39 +00:00
a253a29bdf Accepting request 1220001 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1220001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=10
2024-11-01 20:06:55 +00:00
0da8ca4c8e Accepting request 1219738 from home:yeey:OpenWebUI
- Disable the failing test for 15.6

OBS-URL: https://build.opensuse.org/request/show/1219738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=20
2024-11-01 05:36:03 +00:00
7c4899a64b Accepting request 1139687 from devel:languages:python
- Add update-wcwidth.patch to make it work with newer wcwidth,
  gh#rspeer/python-ftfy@5d975c6bb183

OBS-URL: https://build.opensuse.org/request/show/1139687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=9
2024-01-18 20:53:50 +00:00
27621c3be6 - Add update-wcwidth.patch to make it work with newer wcwidth,
gh#rspeer/python-ftfy@5d975c6bb183

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=18
2024-01-18 11:17:29 +00:00
dd052a1cc3 Accepting request 946691 from devel:languages:python
- update to 6.0.3:
  *  Allow the keyword argument `fix_entities` as a deprecated alias for
    `unescape_html`, raising a warning.
  *  `ftfy.formatting` functions now disregard ANSI terminal escapes when
    calculating text width.

OBS-URL: https://build.opensuse.org/request/show/946691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=8
2022-01-16 23:22:46 +00:00
f854ebed53 - update to 6.0.3:
*  Allow the keyword argument `fix_entities` as a deprecated alias for
    `unescape_html`, raising a warning.
  *  `ftfy.formatting` functions now disregard ANSI terminal escapes when
    calculating text width.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=17
2022-01-15 17:48:49 +00:00
17e12f43af Accepting request 886559 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/886559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=7
2021-04-19 19:05:57 +00:00
e7ab233ae0 Accepting request 886362 from home:bnavigator:branches:devel:languages:python
- Update to 6.0.1
  * The remove_terminal_escapes step was accidentally not being
    used. This version restores it.
  * Specified in setup.py that ftfy 6 requires Python 3.6 or later.
  * Use a lighter link color when the docs are viewed in dark mode.
- Version 6.0
  * New function: ftfy.fix_and_explain() can describe all the
    transformations that happen when fixing a string. This is
    similar to what ftfy.fixes.fix_encoding_and_explain() did in
    previous versions, but it can fix more than the encoding.
  * fix_and_explain() and fix_encoding_and_explain() are now in
    the top-level ftfy module.
  * Changed the heuristic entirely. ftfy no longer needs to
    categorize every Unicode character, but only characters that
    are expected to appear in mojibake.
  * Because of the new heuristic, ftfy will no longer have to
    release a new version for every new version of Unicode. It
    should also run faster and use less RAM when imported.
  * The heuristic ftfy.badness.is_bad(text) can be used to
    determine whether there appears to be mojibake in a string.
    Some users were already using the old function
    sequence_weirdness() for that, but this one is actually
    designed for that purpose.
  * Instead of a pile of named keyword arguments, ftfy functions
    now take in a TextFixerConfig object. The keyword arguments
    still work, and become settings that override the defaults in
    TextFixerConfig.
  * Added support for UTF-8 mixups with Windows-1253 and
    Windows-1254.
  * Overhauled the documentation: https://ftfy.readthedocs.org

OBS-URL: https://build.opensuse.org/request/show/886362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=15
2021-04-19 06:29:13 +00:00
fe6dd0ce37 Accepting request 809375 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=6
2020-05-28 07:17:03 +00:00
Tomáš Chvátal
bfe7db5d55 Accepting request 809259 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=13
2020-05-27 10:08:34 +00:00
aaf3aa6c7b Accepting request 783195 from devel:languages:python
py38 fix

OBS-URL: https://build.opensuse.org/request/show/783195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=5
2020-03-10 09:12:12 +00:00
Tomáš Chvátal
f60ebd0b32 - Update to 5.7:
* Fixes build on python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=11
2020-03-10 08:49:15 +00:00
57effd2b4e Accepting request 722792 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/722792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=4
2019-08-13 11:24:47 +00:00
Tomáš Chvátal
56884c59a4 Accepting request 722677 from home:mcalabkova:branches:devel:languages:python
- Update to version 5.6
  * The unescape_html function now supports all the HTML5 entities 
    that appear in html.entities.html5, including those with long 
    names such as ˝.
  * Unescaping of numeric HTML entities now uses the standard library's 
    html.unescape, making edge cases consistent.
  * On top of Python's support for HTML5 entities, ftfy will also 
    convert HTML escapes of common Latin capital letters that are 
    (nonstandardly) written in all caps, such as Ñ for Ñ.

OBS-URL: https://build.opensuse.org/request/show/722677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=9
2019-08-12 14:16:06 +00:00
c32d15e5e2 Accepting request 642835 from devel:languages:python
- Update to version 5.5.1:
  * Fixes build on python3.7
  * Use Unicode 11

OBS-URL: https://build.opensuse.org/request/show/642835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=3
2018-10-25 06:13:49 +00:00
Tomáš Chvátal
241e7e9021 - Update to version 5.5.1:
* Fixes build on python3.7
  * Use Unicode 11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=7
2018-10-18 09:58:47 +00:00
b93bec3e98 Accepting request 626368 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/626368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=2
2018-07-31 14:00:32 +00:00
Tomáš Chvátal
91f3b43503 Accepting request 626059 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary. Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/626059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=5
2018-07-30 07:33:53 +00:00
80f6d7cbfa Accepting request 613294 from devel:languages:python
Try to convert buggy unicode text to a less broken variant.

OBS-URL: https://build.opensuse.org/request/show/613294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=1
2018-06-08 21:12:48 +00:00
Todd R
3c60cfeeee Accepting request 613293 from devel:languages:python:misc
Try to convert buggy unicode text to a less broken variant.

OBS-URL: https://build.opensuse.org/request/show/613293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=1
2018-05-31 15:18:39 +00:00