python-msilib 0.2.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of python-msilib might be problematic. Click here for more details.

Files changed (21) hide show
  1. {python_msilib-0.2.0/src/python_msilib.egg-info → python_msilib-0.4.0}/PKG-INFO +2 -1
  2. {python_msilib-0.2.0 → python_msilib-0.4.0}/pyproject.toml +28 -12
  3. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/__init__.py +259 -144
  4. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/_msi.c +25 -51
  5. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/include/_msi.h +26 -24
  6. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/include/pythoncapi_compat.h +40 -1
  7. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/schema.py +5 -0
  8. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/sequence.py +5 -0
  9. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/msilib/text.py +5 -1
  10. {python_msilib-0.2.0 → python_msilib-0.4.0/src/python_msilib.egg-info}/PKG-INFO +2 -1
  11. {python_msilib-0.2.0 → python_msilib-0.4.0}/tests/test_msilib.py +17 -17
  12. {python_msilib-0.2.0 → python_msilib-0.4.0}/LICENSE +0 -0
  13. {python_msilib-0.2.0 → python_msilib-0.4.0}/MANIFEST.in +0 -0
  14. {python_msilib-0.2.0 → python_msilib-0.4.0}/Makefile +0 -0
  15. {python_msilib-0.2.0 → python_msilib-0.4.0}/README.md +0 -0
  16. {python_msilib-0.2.0 → python_msilib-0.4.0}/setup.cfg +0 -0
  17. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/python_msilib.egg-info/SOURCES.txt +0 -0
  18. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/python_msilib.egg-info/dependency_links.txt +0 -0
  19. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/python_msilib.egg-info/not-zip-safe +0 -0
  20. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/python_msilib.egg-info/requires.txt +0 -0
  21. {python_msilib-0.2.0 → python_msilib-0.4.0}/src/python_msilib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-msilib
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: Read and write Microsoft Installer files
5
5
  Author-email: Marcelo Duarte <marcelotduarte@users.noreply.github.com>
6
6
  License-Expression: PSF-2.0
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3 :: Only
17
17
  Classifier: Programming Language :: Python :: 3.13
18
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
20
  Classifier: Topic :: Software Development :: Build Tools
20
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
22
  Classifier: Topic :: System :: Software Distribution
@@ -9,9 +9,6 @@ build-backend = "setuptools.build_meta"
9
9
  [project]
10
10
  name = "python-msilib"
11
11
  description = "Read and write Microsoft Installer files"
12
- authors = [
13
- {name = "Marcelo Duarte", email = "marcelotduarte@users.noreply.github.com"}
14
- ]
15
12
  classifiers = [
16
13
  "Development Status :: 5 - Production/Stable",
17
14
  "Intended Audience :: Developers",
@@ -23,6 +20,7 @@ classifiers = [
23
20
  "Programming Language :: Python :: 3 :: Only",
24
21
  "Programming Language :: Python :: 3.13",
25
22
  "Programming Language :: Python :: 3.14",
23
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
26
24
  "Topic :: Software Development :: Build Tools",
27
25
  "Topic :: Software Development :: Libraries :: Python Modules",
28
26
  "Topic :: System :: Software Distribution",
@@ -35,6 +33,10 @@ license-files = ["LICENSE"]
35
33
  readme = "README.md"
36
34
  requires-python = ">=3.13"
37
35
 
36
+ [[project.authors]]
37
+ name = "Marcelo Duarte"
38
+ email = "marcelotduarte@users.noreply.github.com"
39
+
38
40
  [project.optional-dependencies]
39
41
  dev = [
40
42
  "bump-my-version==1.2.3",
@@ -72,7 +74,7 @@ where = ["src"]
72
74
 
73
75
  [tool.bumpversion]
74
76
  commit = true
75
- current_version = "0.2.0"
77
+ current_version = "0.4.0"
76
78
  message = "Bump version: {current_version} → {new_version} [ci skip]"
77
79
  parse = """(?x)
78
80
  (?P<major>0|[1-9]\\d*)\\.
@@ -198,27 +200,41 @@ select = [
198
200
  "YTT", # flake8-2020
199
201
  ]
200
202
  ignore = [
201
- # ignored for now, but should be revised in future
202
- # last revised using ruff 0.12.0
203
- "D102", # Missing docstring in public method
204
- "D205", # 1 blank line required between summary line and description
205
- "D401", # First line of docstring should be in imperative mood
206
- "PERF203", # `try`-`except` within a loop incurs performance overhead
207
- # ignore the following
208
203
  "D105", # Missing docstring in magic method
209
204
  "D107", # Missing docstring in `__init__`
210
205
  "D203", # conflict with D211
211
206
  "D213", # conflict with D212
207
+ # should be revised in future - last revised using ruff 0.14.2
208
+ "D101", # Missing docstring in public class
209
+ "D102", # Missing docstring in public method
210
+ "D103", # Missing docstring in public function
211
+ "D205", # 1 blank line required between summary line and description
212
+ "PLR2004", # Magic value used in comparison, consider replacing
212
213
  "PLR0912", # too-many-branches
214
+ "PLR0913", # too-many-arguments
213
215
  "PLR0915", # too-many-statements
214
- "PYI021", # Docstrings should not be included in stubs
215
216
  # prone to false positives (https://github.com/astral-sh/ruff/issues/4045)
216
217
  "S603",
217
218
  ]
218
219
 
219
220
  [tool.ruff.lint.per-file-ignores]
221
+ "src/msilib/__init__.py" = [
222
+ "S101", # Use of `assert` detected
223
+ "S608",
224
+ "A002",
225
+ "ANN201",
226
+ "ERA001",
227
+ "PLW0603", # global
228
+ ]
229
+ "src/msilib/schema.py" = [
230
+ "E501", # Line too long
231
+ ]
232
+ "src/msilib/text.py" = [
233
+ "E501", # Line too long
234
+ ]
220
235
  "tests/*" = [
221
236
  "S101", # Use of `assert` detected
237
+ "ANN201",
222
238
  ]
223
239
 
224
240
  [tool.ruff.lint.flake8-builtins]