Commit Graph

98 Commits

Author SHA1 Message Date
Gwyn Ciesla
e7f07a233d 2022.7 2022-12-19 09:40:49 -06:00
Miro Hrončok
8a85c2c1fa Run tests during build
- use %pytest, which is shorter and sets more things
 - don't run an empty %check when --without tests
2022-11-10 21:18:07 +01:00
Miro Hrončok
60ff26a353 Remove redundant source and patch numbers 2022-11-10 21:18:07 +01:00
Miro Hrončok
1d7fe14813 Remove a call to pathfix.py which did nothing 2022-11-10 21:14:17 +01:00
Miro Hrončok
41f70d10b7 Remove unneeded and deprecated %python_provide 2022-11-10 21:11:50 +01:00
Miro Hrončok
55f28ed96d Remove unused python2 bcond 2022-11-10 21:11:04 +01:00
Lumir Balhar
54f46fa695 Change location of pathfix.py
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
2022-11-01 16:12:32 +00:00
Gwyn Ciesla
808bb4ac8a 2022.6 2022-11-01 09:27:05 -05:00
Gwyn Ciesla
3f45cdb555 2022.5 2022-10-18 10:37:50 -05:00
Gwyn Ciesla
93db00ee60 2022.4 2022-10-04 10:54:25 -05:00
Gwyn Ciesla
dd0a7df730 2022.2 2022-08-12 08:48:06 -05:00
Fedora Release Engineering
4787c1f9eb Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:48:08 +00:00
Python Maint
caa15400c9 Rebuilt for Python 3.11 2022-06-13 17:15:06 +02:00
Gwyn Ciesla
5ac601d436 2022.1 2022-03-21 13:21:25 -05:00
Fedora Release Engineering
b779ebdfbb - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:49:55 +00:00
Gwyn Ciesla
4593ecb57e 2021.3 2021-10-04 12:25:33 -05:00
Fedora Release Engineering
0c1a754602 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:32:47 +00:00
Python Maint
f4bb213893 Rebuilt for Python 3.10 2021-06-02 17:02:50 +02:00
Miro Hrončok
208f8b1565 Always close the zone.tab file
Otherwise we get this in setuptools build with pytest 6.2+:

    >               warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    E               pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
    E
    E               Traceback (most recent call last):
    E                 File "/usr/lib/python3.9/site-packages/pytz/__init__.py", line 522, in <module>
    E                   common_timezones = [l.split()[2]
    E               ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/share/zoneinfo/zone.tab' mode='r' encoding='UTF-8'>
    /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning
2021-03-16 17:51:52 +01:00
Gwyn Ciesla
e10c22a812 2021.1 2021-02-01 12:02:31 -06:00
Fedora Release Engineering
9c957b6172 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:28:43 +00:00
Gwyn Ciesla
a5e9c1f54b 2020.5 2020-12-28 13:29:30 -06:00
Miro Hrončok
c25108188e Disable Python 2 in Fedora 34+ 2020-12-21 16:15:20 +01:00
Miro Hrončok
c3571d40fd Disable Python 2 in ELN 2020-11-25 10:39:22 +01:00
Gwyn Ciesla
5590e818a6 2020.4 2020-11-02 11:45:50 -06:00
Fedora Release Engineering
5aadaf7c66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:55:25 +00:00
Miro Hrončok
78e5076dd5 Rebuilt for Python 3.9 2020-05-22 15:51:30 +02:00
Gwyn Ciesla
bbc3dccb2f 2020.1 2020-04-28 08:38:55 -05:00
Fedora Release Engineering
5332de9ebe - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:34:31 +00:00
Miro Hrončok
1513d3a1db Make it build
- explicitly BR setuptools and make sure egg-info is a directory
- there is no more python2-pytest
- remove old provides
2020-01-05 14:44:41 +01:00
Lumir Balhar
8e645873fd Prepare bcond for Python 2 removal 2019-11-06 13:18:04 +01:00
Gwyn Ciesla
225e9ffad1 2019.3 2019-10-07 08:41:19 -05:00
Miro Hrončok
6dd72d41d5 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:37:32 +02:00
Miro Hrončok
66e6e39b4c Rebuilt for Python 3.8 2019-08-15 15:42:15 +02:00
Gwyn Ciesla
a0b60b1815 2019.2 2019-07-31 12:49:58 -05:00
Gwyn Ciesla
5f89271285 2019.1, patch for Python 3.8. 2019-07-26 08:47:04 -05:00
Miro Hrončok
002329f46c Update to 2018.9, remove leapseconds from pytz.all_timezones (#1642003) 2019-03-12 19:22:44 +01:00
Fedora Release Engineering
9206b33339 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:23:57 +00:00
Miro Hrončok
568be6b6e6 Update to 2018.5 (#1508227) 2018-08-23 12:07:03 +02:00
Fedora Release Engineering
b75f883827 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:54:47 +00:00
Miro Hrončok
ea00abba83 Rebuilt for Python 3.7 2018-06-14 13:11:56 +02:00
Miro Hrončok
2689a3115b Fix ambiguous shebangs 2018-05-23 15:19:30 +02:00
Miro Hrončok
c4971c79f6 Don't use %{?_isa} when providing pytz 2018-05-14 11:10:10 +02:00
Matěj Cepl
9ad2da32cd Switch __python for __python2 macro. 2018-03-17 22:29:16 +01:00
Matěj Cepl
3edecc0289 remove test_tzinfo.PicklingTest.testRoundtrip which fails with our
system-wide timezone database (#1497572)
2018-03-17 22:14:43 +01:00
Fedora Release Engineering
ffe82e494e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 12:02:41 +00:00
Troy Dawson
4f14c8b06c Cleanup spec file conditionals 2017-09-27 12:43:53 -07:00
Zbigniew Jędrzejewski-Szmek
9140438e71 Python 2 binary package renamed to python2-pytz 2017-08-19 09:43:35 -04:00
Fedora Release Engineering
2852ca81b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:29:53 +00:00
Petr Šabata
5aa97d2366 Update to 2017.2 2017-07-17 21:37:30 +02:00