Commit graph

78 commits

Author SHA1 Message Date
Ondrej Mosnáček
6399b356b8
Add TMT test for upstream ticket 534
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2025-01-05 19:04:57 +01:00
Miro Hrončok
7ce90a3638 Fix the bootstrap build
- Related: rhbz#2323169

The problem this fixes is a bit complex.

It goes like this:

 1.  %pyproject_buildrequires runs for the first time.
     There is no pyproject.toml, only setup.py, so a dependency on setuptools is generated.
     A build dependency on wheel is not generated (as it is not needed on Fedora 42+).
 2.  %pyproject_buildrequires runs again.
     There is no pyproject.toml, only setup.py, so it is used.
     A build dependency on wheel is still not generated.
     A build dependency on ruamel-yaml-clib is generated when building without bootstrap,
     as it is a runtime dependency.
     Here it comes: setup.py code creates a pyproject.toml file (with a dependency on wheel) 😱
 3a. Without bootstrap, dnf installs ruamel-yaml-clib and %%pyproject_buildrequires runs once more.
     It uses pyproject.toml (which now exists).
     A build dependency on wheel is now generated and %pyproject_buildrequires runs once more,
     dnf install wheel.
 3b. With bootstrap, this step is skipped as there was no new dependency (on ruamel-yaml-clib) to trigger it.
 4.  The final (verification) %pyproject_buildrequires round uses pyproject.toml (which now exists).
     Without bootstrap, all is fine, no new dependency is generated.
     With bootstrap, the wheel dependency is generated for the first time,
     but at this point, it fails rpmbuild (because missing dependencies now fail the build).

We see errors like this as a result:

    error: Failed build dependencies:
        python3dist(wheel) is needed by python-ruamel-yaml-0.18.6-2.fc42~bootstrap.noarch

Considering the wheel dependency is entirely unneeded I proposed removal for upstream.

An alternative solution is to rm -f pyproject.toml
before calling %pyproject_buildrequires in %generate_buildrequires.
But if upstream switches to a proper pyproject.toml, we might not notice that.
2024-12-02 15:04:47 +01:00
Miro Hrončok
b8c60a3bec Fix build with Python 3.14
- Fixes: rhzb#2323169
2024-12-02 15:04:04 +01:00
Ondrej Mosnáček
982e0edfa1
Update to version 0.18.6 (fedora#2263147)
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2024-11-24 18:02:50 +01:00
Ondrej Mosnáček
9489df6d01 Convert to %autorelease and %autochangelog
[skip changelog]
2024-11-24 17:49:01 +01:00
Fedora Release Engineering
c1f422175e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 15:35:02 +00:00
Python Maint
e5698a903c Rebuilt for Python 3.13 2024-06-07 11:25:00 +02:00
Python Maint
4cb5de41ac Bootstrap for Python 3.13 2024-06-07 10:57:57 +02:00
Fedora Release Engineering
ebb5fee7bd Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 10:22:38 +00:00
Fedora Release Engineering
96ca2a1c55 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 06:47:58 +00:00
Parag Nemade
25d71c1f4c
Update to 0.18.5 2023-11-12 08:36:44 +05:30
Joel Capitao
ed9b546152 Update to 0.18.2 (close RHBZ#2245968) 2023-10-26 10:59:30 +02:00
Joel Capitao
bd56ac7807 Update to 0.18.1 (close RHBZ#2241174) 2023-10-24 15:28:04 +02:00
Fedora Release Engineering
dcd211e000 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 13:47:48 +00:00
Python Maint
afe54c853d Rebuilt for Python 3.12 2023-06-22 15:20:26 +02:00
Joel Capitao
1194199fba Update to 0.17.32 (close RHBZ#2210057) 2023-06-19 08:45:04 +02:00
Python Maint
5f080d1740 Rebuilt for Python 3.12 2023-06-14 11:04:00 +02:00
Python Maint
90a22aad3e Bootstrap for Python 3.12 2023-06-14 09:39:43 +02:00
Yaakov Selkowitz
1ac0c0a34d Avoid tox dependency
tox is unwanted in RHEL, but does not add any particular value here even
for the Fedora build.
2023-05-25 12:29:06 -04:00
Chandan Kumar
d30f7f9920 Import 0.17.26 srpm (close RHBZ#2196655)
Signed-off-by: Chandan Kumar <raukadah@gmail.com>
2023-05-19 23:15:17 +05:30
Benjamin A. Beasley
06cff57119 Update to 0.17.24 (close RHBZ#2193478) 2023-05-07 09:27:28 -04:00
Benjamin A. Beasley
44e88da7ac Fix an obsolete comment referring to bitbucket 2023-05-04 07:28:11 -04:00
Benjamin A. Beasley
cfeaa3d51f Add a bootstrap conditional to break the circular dependency with ruamel.yaml.clib 2023-05-04 07:25:23 -04:00
Benjamin A. Beasley
4e1e80ed1c Stop numbering the source archive 2023-05-04 07:25:04 -04:00
Benjamin A. Beasley
47b3524b86 Port to pyproject-rpm-macros (“new Python guidelines”) 2023-05-04 07:25:02 -04:00
Benjamin A. Beasley
3b1d149282 Drop unused manual runtime dependency on setuptools 2023-05-04 07:24:31 -04:00
Benjamin A. Beasley
872522d03c Fix upper-bounded Python interpreter version for ruamel.yaml.clib dependency 2023-05-04 07:24:31 -04:00
Benjamin A. Beasley
073aa3c448 Make the package noarch (python-ruamel-yaml-clib contains the compiled code) 2023-05-04 07:24:29 -04:00
Benjamin A. Beasley
b96d93d810 Update description from upstream 2023-05-04 07:24:08 -04:00
Benjamin A. Beasley
b0db89e0b6 Reduce macro indirection and drop ancient constructs and conditionals 2023-05-04 07:24:06 -04:00
Benjamin A. Beasley
f23e6627c9 Confirm License is SPDX MIT 2023-05-04 07:22:17 -04:00
Maxwell G
4291e62247
Update to 0.17.22. Fixes rhbz#2192464. 2023-05-03 23:12:30 +00:00
Fedora Release Engineering
7cf5c4f1a9 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 17:06:18 +00:00
Fedora Release Engineering
652d2c9be0 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 22:09:25 +00:00
Python Maint
d40bc1167d Rebuilt for Python 3.11 2022-06-13 17:15:50 +02:00
Jakub Čajka
d16edee2ef
Update to 0.17.21
Related: BZ#2042422
2022-05-12 13:52:24 +02:00
Fedora Release Engineering
74c70736bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 15:21:12 +00:00
Fedora Release Engineering
cf4f70e618 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 09:20:30 +00:00
Python Maint
9f5aa60741 Rebuilt for Python 3.10 2021-06-04 21:00:19 +02:00
Joel Capitao
7e24a8b7f0 Remove obsolete patch 2021-02-22 16:36:22 +01:00
Fedora Release Engineering
0130c0c3ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:15:10 +00:00
Fedora Release Engineering
6633bb1cde - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 03:44:30 +00:00
Miro Hrončok
ea6be8f179 Replace Python version glob with macro (needed for Python 3.10+)
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
2020-07-13 21:04:39 +02:00
Miro Hrončok
fd15c945e3 Rebuilt for Python 3.9 2020-05-26 03:38:20 +02:00
Jeff Law
6234cb3145 Fix date in changelog 2020-05-14 15:45:38 -06:00
Fedora Release Engineering
320f6c123e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:07:56 +00:00
Jason Montleon
a3d05194a3 Update to 0.16.6 to fix Python 3.9 build 2020-01-20 14:15:25 -05:00
Miro Hrončok
b3bf86a100 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:29:22 +02:00
Chandan Kumar (raukadah)
d919993ffb Added ruamel-yaml-clib as Requires
Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
2019-08-30 23:18:37 +05:30
chedi toueiti
470795cba9 update to 0.16.5 2019-08-30 15:26:25 +00:00