Commit graph

214 commits

Author SHA1 Message Date
Lumir Balhar
adc8d24589 Update to 6.0.0 (rhbz#2374994) 2025-06-30 11:19:42 +02:00
Python Maint
544488770a Rebuilt for Python 3.14 2025-06-03 12:25:50 +02:00
Python Maint
6df45dce8b Bootstrap for Python 3.14 2025-06-02 21:23:03 +02:00
Lumir Balhar
b9a077ae03 Update to 5.4.0 (rhbz#2361809) 2025-04-23 13:59:36 +02:00
Robert-André Mauchin
b928096276 Update to 5.3.2
Close: rhbz#2357632
2025-04-06 18:29:44 +02:00
Lumir Balhar
c1103ff3c3 Update to 5.3.1 (rhbz#2344609) 2025-02-11 12:10:25 +01:00
Fedora Release Engineering
f75dd54e14 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 15:53:28 +00:00
Miro Hrončok
b52ea727c7 Fix build with Python 3.14
- Fixes: rhbz#2335830
2025-01-06 16:21:46 +01:00
Lumir Balhar
afcfecf47d Update to 5.3.0 (rhbz#2303963) 2024-08-12 14:59:25 +02:00
Lumir Balhar
61d79bae8d Fix doctest failing with the latest libxslt (rhbz#2301176) 2024-07-31 11:18:55 +02:00
Fedora Release Engineering
27c594a8e2 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 12:55:35 +00:00
Python Maint
58ac417c3e Rebuilt for Python 3.13 2024-06-07 23:20:38 +02:00
Python Maint
39e20da595 Rebuilt for Python 3.13 2024-06-07 20:41:48 +02:00
Python Maint
9579799168 Bootstrap for Python 3.13 2024-06-07 09:50:04 +02:00
Lumir Balhar
dbf7e6096c Update to 5.2.1 (rhbz#2272165) 2024-04-04 15:26:12 +02:00
Miro Hrončok
85c8c3f227 Revert "Reduce the type safety as a workaround for build failures in Fedora 40+"
- The workaround has been moved to Cython

See https://src.fedoraproject.org/rpms/Cython/c/ba710e631b8ecf2af6eb636030db6d574d8575b4

This reverts commit 0f51029568.
2024-03-06 14:39:01 +01:00
Miro Hrončok
23cd3c2e48 Fix test_elementtree with Expat 2.6.0
- Fixes: rhbz#2264859
2024-03-04 09:25:24 +01:00
Miro Hrončok
0f51029568 Reduce the type safety as a workaround for build failures in Fedora 40+
- Fixes: rhbz#2261034
- Fixes: rhbz#2256232
2024-02-07 10:58:36 +01:00
Miro Hrončok
009f7659b7 Convert to %autorelease and %autochangelog
[skip changelog]
2024-01-29 19:14:58 +01:00
Tomas Orsava
e38670104e Fixing whitespace 2024-01-29 10:30:12 +01:00
Fedora Release Engineering
3a10d475bb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 03:09:29 +00:00
Lumir Balhar
db11b56656 Update to 5.1.0 (rhbz#2256232) 2024-01-08 15:29:00 +01:00
Lumir Balhar
63254d5e35 Update to 4.9.4 (rhbz#2255267) 2023-12-20 13:41:58 +01:00
David King
e20963f4cf Fix building against libxml2 2.12.0
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=2250838
2023-11-27 10:16:27 +01:00
Miro Hrončok
9fac0d5501 Python 3.13 compatibility
This only changes the tests.

Fixes https://bugzilla.redhat.com/2247011
2023-11-06 11:43:32 +01:00
Miro Hrončok
3b50336b27 Remove pregenerated Cython C sources in %build
In a future version of mock, %prep will only run once,
which breaks the prior state of this package.

Previously, this only worked because each %prep round restored
the pregenerated files for the setup.py logic to see.

However, when %prep only runs once, the second round of
%pyproject_buildrequires fails unless Cython is already installed,
which is not the default case,
as the dependency has not yet been generated.

See https://github.com/rpm-software-management/mock/pull/1250
2023-10-30 12:43:19 +01:00
Miro Hrončok
55f5648cc5 Fix build with Cython 3 2023-07-28 11:56:41 +02:00
Miro Hrončok
9a245c1e0c Pin Cython < 3 at least until we upgrade to lxml 5+ 2023-07-25 13:55:24 +02:00
Lumir Balhar
79d3d026da Update to 4.9.3 (rhbz#2219811) 2023-07-25 13:40:31 +02:00
Fedora Release Engineering
4452ba9aa0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 11:10:44 +00:00
Miro Hrončok
3c925c366d Only drop the license-problematic file from ISO-Schematron, not the entire module 2023-07-14 12:34:08 +02:00
Python Maint
0e1ee829e6 Rebuilt for Python 3.12 2023-06-16 08:19:17 +02:00
Miro Hrončok
1a4b58646c Don't run html5lib tests --without extras
For unknown reason, the tests fail with:

    ...
      File "/builddir/build/BUILD/lxml-4.9.2/src/lxml/html/tests/test_html5parser.py", line 304, in call_it
        from lxml.html.html5parser import parse
      File "/builddir/build/BUILD/lxml-4.9.2/src/lxml/html/html5parser.py", line 7, in <module>
        from html5lib import HTMLParser as _HTMLParser
    ModuleNotFoundError: No module named 'html5lib'

But only with Python 3.12, not with Python 3.11.
2023-06-14 19:47:00 +02:00
Miro Hrončok
a1fda59562 Avoid using the deprecated "imp" module (removed in Python 3.12) 2023-06-14 18:32:37 +02:00
Python Maint
4391bca196 Bootstrap for Python 3.12 2023-06-13 21:36:20 +02:00
Miro Hrončok
9d95f5a04e Remove the isoschematron submodule
See https://gitlab.com/fedora/legal/fedora-license-data/-/issues/154

Cherry-picked from 7f6d5f61df

Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
2023-06-08 08:48:36 +00:00
Miro Hrončok
af2ab59687 Rework the extras bcond to control the entire extras feature 2023-05-30 22:29:46 +02:00
Yaakov Selkowitz
e3db9bc24a Disable extras in RHEL builds
The `buildrequire_extras` dependencies are unwanted in RHEL.
2023-05-30 15:07:19 -04:00
Tomáš Hrnčiar
26d49d1f7e Skip failing test to avoid FTBFS 2023-05-29 16:06:27 +02:00
Fedora Release Engineering
1c38e85b1f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 14:31:02 +00:00
Lumir Balhar
7b1e5f9aab Update to 4.9.2 (rhbz#2153063) 2022-12-14 17:59:24 +01:00
Miro Hrončok
9c1438f59e Define a buildrequire_extras %bcond for bootstrapping 2022-09-21 14:33:34 +02:00
Charalampos Stratakis
8cd3405121 Update to 4.9.1
Fix for CVE-2022-2309

Resolves: rhbz#2107571, rhbz#2110131
2022-09-15 00:01:08 +02:00
Miro Hrončok
0a54307e77 Convert package to %pyproject RPM macros 2022-08-31 12:07:04 +02:00
Miro Hrončok
eb057e7afa Drop redundant source number 2022-08-31 11:44:07 +02:00
Miro Hrončok
e45c54553a Package the lxml[cssselect], lxml[html5] and lxml[htmlsoup] extras 2022-08-31 11:43:50 +02:00
Miro Hrončok
e79be2c17a Use SPDX license identifiers, update license
The schematron files are not Zlib licensed, but MIT (since 4.3.0):

5a444c238f
2022-08-31 11:36:03 +02:00
Miro Hrončok
e82cceb573 Drop unfinished sentence from the %description 2022-08-31 11:26:47 +02:00
Miro Hrončok
d8ab550c3c Drop deprecated %python_provide, it is not needed 2022-08-31 11:24:26 +02:00
Miro Hrončok
6659c59618 Expand %{modname} in spec for better readability 2022-08-31 11:23:41 +02:00