95dc7b3c48
- Update to 0.37.1 * We have solved a FutureWarning in our codebase. (#485)
Markéta Machová2025-11-04 10:50:15 +00:00
a38ff5d999
Accepting request 1306750 from devel:languages:python
Ana Guerrero2025-09-23 15:45:35 +00:00
94eacb1014
- Update to 0.37.0 * Added support for Elbrus E2K CPU architectures. (#484)
Nico Krapp2025-09-23 13:29:56 +00:00
f0d98764d0
Accepting request 1282332 from devel:languages:python
Ana Guerrero2025-06-03 15:57:26 +00:00
8f064c075e
- Update to 0.36.0 * We have fixed a bug that caused specfile to traceback when section names with conditional macro expansions containing spaces were present in the spec file. (#476)
Nico Krapp2025-06-03 13:15:04 +00:00
c80d1de681
- Update to 0.35.1 * We have fixed a bug that caused changes to get lost when a spec file passed as a path was replaced or deleted. (#470)
Nico Krapp2025-05-30 09:20:44 +00:00
6c1e6b3234
Accepting request 1277416 from devel:languages:python
Ana Guerrero2025-05-14 15:02:10 +00:00
ca4adf347d
- Update to 0.35.0 * Added support for creating Specfile instances from file objects and strings. (#458) * The context_management type stubs now use ParamSpec from typing_extensions to support Python < 3.10. (#466)
Markéta Machová2025-05-14 12:24:42 +00:00
899799ddd9
Accepting request 1265374 from devel:languages:python
Ana Guerrero2025-03-31 09:42:28 +00:00
79a15fa02c
- update to 0.34.2: * context_management: add a type stub override to fix typing. Type checkers like mypy and pyright can now correctly determine the types for .sources(), .sections(), and the other Specfile methods that return context managers.
Dirk Mueller2025-03-29 09:46:07 +00:00
109234cb17
Accepting request 1245856 from devel:languages:python
Ana Guerrero2025-02-14 18:23:01 +00:00
c09c35361e
- Update to 0.34.1 * Removed the usage of a walrus operator for Python 3.6 compatibility. - Use Python 3.11 on SLE-15 by default
Dirk Mueller2025-02-14 10:42:42 +00:00
0f1c60b51a
Accepting request 1242154 from devel:languages:python
Ana Guerrero2025-02-03 20:44:00 +00:00
df964e5f7d
- Update to 0.34.0: - Added support for detached (open)SUSE style changelogs - Update to 0.33.0: - There is a new convenience method Sections.get_or_create() that allows you to manipulate a section without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441) For example, this will work properly even on spec files without %changelog: with spec.sections() as sections: changelog = sections.get_or_create("changelog") changelog[:] = ["%autochangelog"]
Matej Cepl2025-02-01 22:19:13 +00:00
713c7a2170
Accepting request 1224079 from devel:languages:python
Ana Guerrero2024-11-14 15:09:39 +00:00
a4d6511fd3
- Update to 0.32.6: * New minor release for testing in CBS Koji * fix: assert existence of stderr
Matej Cepl2024-11-14 07:14:13 +00:00
94e9b9342e
- Update to 0.32.5 * We have fixed our parser to take in account the deprecations introduced in Python 3.8
Dirk Mueller2024-10-29 17:05:56 +00:00
16bfad48fd
Accepting request 1208564 from devel:languages:python
Ana Guerrero2024-10-17 16:40:33 +00:00
3771047eb0
- Update to 0.32.4: * NEVR and NEVRA classes are now hashable
Matej Cepl2024-10-17 08:30:43 +00:00
7ea9480f00
Accepting request 1206169 from devel:languages:python
Ana Guerrero2024-10-08 15:24:07 +00:00
8c3edb87d6
- update to 0.32.3: * specfile can now handle multi-line tag values (enclosed in a macro body, e.g. %shrink).
Dirk Mueller2024-10-07 20:39:42 +00:00
b8a7ddef48
Accepting request 1202277 from devel:languages:python
Ana Guerrero2024-09-22 09:06:18 +00:00
c6b2bbfd80
- Update to 0.32.2: * Explicitly invalidate the global parse hash when a SpecParser instance is created to prevent this issue.
Matej Cepl2024-09-20 22:34:57 +00:00
6a7bea962d
Accepting request 1188958 from home:smolsheep:upgrades
Matej Cepl2024-07-22 18:47:37 +00:00
bc3bf5c7f4
Accepting request 1186413 from devel:languages:python
Ana Guerrero2024-07-09 18:06:02 +00:00
9f3adafee1
Accepting request 1185798 from home:smolsheep:upgrades
Dirk Mueller2024-07-09 13:28:14 +00:00
ff4281a4fb
Accepting request 1179657 from devel:languages:python
Ana Guerrero2024-06-10 15:38:04 +00:00
afb27d434d
- update to 0.29.0: * Improved compatibility with RPM 4.20 (alpha version is currently in Fedora Rawhide). * Fixed several minor issues such as processing seemingly commented-out macro definitions (e.g. #%global prerel rc1) and treating SourceLicense tag as a source. * Made EVR, NEVR and NEVRA objects comparable. * Handling of trailing newlines in the macro defintions has been improved. * We have fixed an issue in %prep section processing. For instance, if the %patches macro appeared there, it would have been converted to %patch es, causing failure when executing %prep later. * A trailing newline is no longer added to spec files without one upon saving.
Dirk Mueller2024-06-10 08:54:47 +00:00
66c198493a
Accepting request 1141448 from devel:languages:python
Ana Guerrero2024-01-25 17:41:37 +00:00
8555eeb4bc
- update to 0.27.0: * Improved handling of commented-out macro definitions and fixed related logic in Specfile.update_value().
Dirk Mueller2024-01-25 08:27:50 +00:00
e0f10195f5
- update to 0.26.0: * When accessing tags or macro definitions by name, specfile now takes validity into account when looking for the best match. For example if there are two instances of Version tag, one in the true and one in the false branch of a condition, Specfile.version will always access the one that is in the true branch. (#328) * Third pre-release for testing Packit support. - There is a new method, Specfile.update_version(), that allows updating spec file version even if it is a pre-release. (#317) - Sources now have a valid property that indicates whether a source is valid in the current context, meaning it is not - reduce buildrequires to git-core - Update to version 0.18.0: - Update to version 0.17.0: heuristics as rpmdev-packager, meaning that the * Added Specfile.has_autorelease property to detect if a spec - Update to version 0.15.0: necessary, greatly improving performance in certain scenarios. * Fixed a bug that broke parsing in case spec file contained * Specfile no longer depends on rpm-py-installer, it now depends * Fixed infinite loop that occured when section options were * Fixed a bug in section parsing that caused sections to be - Update to version 0.13.0: the standard copy() and deepcopy() functions from copy * Section.name attribute has been renamed to a more fitting * setup.cfg now uses license_files instead of deprecated * Tags enclosed in conditional macro expansions are not ignored - Update to version 0.11.0 now be nested and combined together (with one exception -
Dirk Mueller2023-12-29 10:18:36 +00:00
1b3943e5e0
Accepting request 1128302 from devel:languages:python
Ana Guerrero2023-11-23 20:42:07 +00:00
4e944a5d82
Accepting request 1128265 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-11-23 10:27:52 +00:00
d2b444616d
Accepting request 1124208 from devel:languages:python
Ana Guerrero2023-11-08 21:18:47 +00:00
40097385cc
- Update to 0.24.0: - Improved type annotations for UserList subclasses. (#299) - Macro definitions gained a new commented_out property indicating that a macro definition is commented out. Another new property, comment_out_style, determines if it is achieved by using a %dnl (discard next line) directive (e.g. %dnl %global prerelease beta2) or by replacing the starting % with # (e.g. #global prerelease beta2). (#298) - Fix a bad Requires: %{python_module typing_extensions}
Matej Cepl2023-11-08 10:17:40 +00:00
985efeef10
Accepting request 1121152 from devel:languages:python
Ana Guerrero2023-10-30 21:11:09 +00:00
6508ce7495
Accepting request 1121136 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-10-30 10:57:41 +00:00
3937e5c03e
Accepting request 1118218 from devel:languages:python
Ana Guerrero2023-10-17 18:24:52 +00:00
e9b93566ea
Accepting request 1118208 from home:david.anes:branches:devel:languages:python
Markéta Machová2023-10-17 08:05:14 +00:00
acf7f2a242
Accepting request 1108838 from devel:languages:python
Ana Guerrero2023-09-04 20:53:34 +00:00
406e1981a2
Accepting request 1108767 from home:mschreiner:branches:devel:languages:python
Dirk Mueller2023-09-04 10:43:57 +00:00
600320db59
Accepting request 1099363 from devel:languages:python
Ana Guerrero2023-07-19 17:10:44 +00:00
96e67b60a5
- Update to 0.20.0: * Fixed infinite loop when removing macros with % in the name. (#244) * Added a possibility to undefine system macros by setting a macro value to None in the macros argument of the Specfile constructor. (#244) * Fixed a bug in processing options of %prep macros. For instance, when a quoted string appeared inside an expression expansion, it could lead to improper parsing, rendering the spec file invalid after accessing the options. (#253) * Parsing has been optimized so that even spec files with hundreds of thousands of lines can be processed in reasonable time. (#240) - Drop setuptools_scm_git_archive BuildRequires. - Don't need to skip Python 3.8.
Steve Kowalik2023-07-19 04:54:16 +00:00