Commit Graph

196 Commits

Author SHA1 Message Date
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
Mikolaj Izdebski
f7a9cbe29f Onboard package into gating 2022-08-31 07:07:31 +02:00
Fedora Release Engineering
36529bc549 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 19:51:18 +00:00
Charalampos Stratakis
d714fa326e Fix FTBFS with setuptools >= 62.1
Resolves: rhbz#2097102
2022-06-22 20:01:46 +02:00
Python Maint
343c16cba5 Rebuilt for Python 3.11 2022-06-13 16:01:26 +02:00
Fedora Release Engineering
68133020f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 13:17:38 +00:00
Charalampos Stratakis
eb5a8db088 Update to 4.7.1
Fixes CVE-2021-43818

Resolves: rhbz#2031686, rhbz#2032572
2022-01-06 15:10:44 +01:00
Miro Hrončok
27eebecb4d Backport a fix for Python 3.11 2021-11-26 17:18:46 +01:00
Miro Hrončok
b51ac78331 Actually run the tests during build
Fixes https://bugzilla.redhat.com/2026941
2021-11-26 17:18:46 +01:00
Fedora Release Engineering
983dd0d448 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 07:20:50 +00:00
Mikolaj Izdebski
1a5f8b2a9f Bump release 2021-06-04 15:05:12 +02:00
Charalampos Stratakis
27ac46f9e9 Update the license information 2021-06-03 20:21:20 +02:00
Python Maint
627098066f Rebuilt for Python 3.10 2021-06-02 15:11:30 +02:00
Charalampos Stratakis
e9743571ee Update to 4.6.3
Fixes CVE-2021-28957
2021-05-20 17:01:27 +02:00
Fedora Release Engineering
eddc9feea5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 11:33:58 +00:00
Miro Hrončok
2c9f85992c Update to 4.6.2
The source URL was changed to use PyPI sdist,
because lxml.de does not yet have this version.
2020-12-02 00:24:10 +01:00
Fedora Release Engineering
fbb0adcd12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 01:59:46 +00:00
Igor Raits
e646c1352a Update to 4.5.1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-06-01 20:14:04 +02:00
Miro Hrončok
7af357f1ba Rebuilt for Python 3.9 2020-05-22 22:10:02 +02:00