Commit Graph

66 Commits

Author SHA1 Message Date
Fedora Release Engineering
d9c748e13f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 10:23:28 +00:00
Python Maint
5b3c9ae837 Rebuilt for Python 3.12 2023-06-14 20:42:00 +02:00
Fedora Release Engineering
d87c2ada1f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 13:50:10 +00:00
Fedora Release Engineering
f95a698147 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 19:10:20 +00:00
Python Maint
a9486d32f7 Rebuilt for Python 3.11 2022-06-13 20:59:29 +02:00
Miro Hrončok
b4e68a3d3c Add subpackages with Python extras: lxml genshi chardet all 2022-01-31 17:03:15 +01:00
Miro Hrončok
d19cca56dd Convert to pyproject-rpm-macros 2022-01-31 17:01:03 +01:00
Miro Hrončok
b42ee23f79 Use curly brackets around "value"-like macros 2022-01-31 16:54:01 +01:00
Miro Hrončok
32b27391b3 Align everything 2022-01-31 16:53:43 +01:00
Miro Hrončok
52d4532f9a Expand %{srcname} for readability 2022-01-31 16:52:16 +01:00
Miro Hrončok
65c6149f88 Remove redundant things 2022-01-31 16:50:57 +01:00
Miro Hrončok
8443890e11 Use standard library unittest.mock instead of 3rd party mock 2022-01-31 16:49:03 +01:00
Fedora Release Engineering
23457b85f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 12:40:42 +00:00
Fedora Release Engineering
d39ec7f682 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 06:46:05 +00:00
Python Maint
a0487bdf59 Rebuilt for Python 3.10 2021-06-03 13:13:03 +02:00
Fedora Release Engineering
92e7903528 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 11:04:33 +00:00
Miro Hrončok
98d1d09957 Fix compatibility with pytest 6 2020-08-10 10:53:24 +02:00
Fedora Release Engineering
5b044c92c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 01:28:20 +00:00
Charalampos Stratakis
6e51503f96 Update to 1.1 (#1849837)
Use pytest 5
2020-07-01 13:11:54 +02:00
Miro Hrončok
dcc846ee9e Use pytest 4 2020-05-30 11:03:49 +02:00
Miro Hrončok
bc2d4314d8 Rebuilt for Python 3.9 2020-05-23 09:04:34 +02:00
Fedora Release Engineering
b28d4188f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 12:38:30 +00:00
Miro Hrončok
4f49aca776 Drop python2-html5lib 2019-09-16 12:05:41 +02:00
Miro Hrončok
63d8f6fb84 Reduce Python 2 build dependencies 2019-08-26 13:22:13 +02:00
Miro Hrončok
7eca60e7a9 Rebuilt for Python 3.8 2019-08-16 15:14:02 +02:00
Miro Hrončok
d0f5779852 Fix FTBFS with Pytest 4, deselect test_encoding
________________________________ test_encoding _________________________________

    def test_encoding():
        for filename in get_data_files("encoding"):
            tests = _TestData(filename, b"data", encoding=None)
            for test in tests:
>               runParserEncodingTest(test[b'data'], test[b'encoding'])

html5lib/tests/test_encoding.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

data = b'<!DOCTYPE HTML>\n<script>document.write(\'<meta charset="ISO-8859-\' + \'2">\')</script>'
encoding = 'iso-8859-2'

    def runParserEncodingTest(data, encoding):
        p = HTMLParser()
        assert p.documentEncoding is None
        p.parse(data, useChardet=False)
        encoding = encoding.lower().decode("ascii")

>       assert encoding == p.documentEncoding, errorMessage(data, encoding, p.documentEncoding)
E       AssertionError: Input:
E         b'<!DOCTYPE HTML>\n<script>document.write(\'<meta charset="ISO-8859-\' + \'2">\')</script>'
E         Expected:
E         'iso-8859-2'
E         Recieved
E         'windows-1252'
E
E       assert 'iso-8859-2' == 'windows-1252'
E         - iso-8859-2
E         + windows-1252

html5lib/tests/test_encoding.py:84: AssertionError
2019-07-30 01:26:45 +02:00
Fedora Release Engineering
67d7f86944 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 13:54:09 +00:00
Fedora Release Engineering
9171f31ea9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 07:11:50 +00:00
Miro Hrončok
05a4c7d078 Fix dire deprecation warnings (#1627071) 2018-09-24 15:13:19 +02:00
Miro Hrončok
4bf006ca4b Use pytest-expect on python3 (#1593231) 2018-08-21 16:56:38 +02:00
Miro Hrončok
3dc5755f57 Update to 1.0.1 (#1584176), run some tests (#1593231) 2018-08-21 00:30:16 +02:00
Igor Gnatenko
e4e13ab47e
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:35 +02:00
Fedora Release Engineering
3e8868619a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:32:18 +00:00
Miro Hrončok
ba72516387 Rebuilt for Python 3.7 2018-06-16 10:10:43 +02:00
Iryna Shcherbina
327fc13734 Update Python 2 dependency declarations to new packaging standards 2018-02-12 03:10:54 +01:00
Fedora Release Engineering
a6b47afeca - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 08:17:08 +00:00
Troy Dawson
3281e2d935 Cleanup spec file conditionals 2017-09-29 08:30:29 -07:00
Kevin Fenzi
1f453246c9 Add Requires on python-webencodings. Fixes bug #1474883 2017-07-27 11:54:05 -07:00
Fedora Release Engineering
d238010378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 10:34:04 +00:00
Kevin Fenzi
d4e91d45c3 Update to 0.999999999. Fixes bug #1431378 and #1305828
Security fix for CVE-2016-9909, CVE-2016-9910. Fixes bug #1402706 and #1402707
2017-07-21 13:55:13 -07:00
Fedora Release Engineering
989dad4b90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 09:15:09 +00:00
Toshio Kuratomi
86bdc60a99 Correct usage of python_provide macro 2016-12-30 23:07:18 -08:00
Orion Poplawski
5580b93d3d Ship python2-html5lib
Modernize spec
Use %license
2016-12-30 16:56:20 -07:00
Charalampos Stratakis
bf3e7d8ed5 Rebuild for Python 3.6
Added patch for fixing invalid escape sequences with Python 3.6
2016-12-12 19:17:03 +01:00
Fedora Release Engineering
5140d18684 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 10:00:15 +00:00
Fedora Release Engineering
bb05b33f2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 19:52:15 +00:00
Robert Kuska
9aa598d3e5 Rebuilt for Python3.5 rebuild 2015-11-03 20:15:12 +01:00
Dennis Gilmore
d2040145ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 19:36:06 +00:00
Rex Dieter
189d28f856 no python3 in epel (yet) 2014-06-18 08:42:54 -05:00
Dennis Gilmore
454acd3ffb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 15:48:44 -05:00