python-msilib 0.6.0__tar.gz → 0.7.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.
Files changed (22) hide show
  1. {python_msilib-0.6.0 → python_msilib-0.7.0}/Makefile +3 -3
  2. {python_msilib-0.6.0/src/python_msilib.egg-info → python_msilib-0.7.0}/PKG-INFO +3 -2
  3. {python_msilib-0.6.0 → python_msilib-0.7.0}/pyproject.toml +14 -19
  4. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/__init__.py +271 -113
  5. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/_msi.c +1 -1
  6. python_msilib-0.7.0/src/msilib/_msi.pyi +98 -0
  7. python_msilib-0.7.0/src/msilib/py.typed +0 -0
  8. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/schema.py +108 -90
  9. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/sequence.py +16 -7
  10. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/text.py +10 -6
  11. {python_msilib-0.6.0 → python_msilib-0.7.0/src/python_msilib.egg-info}/PKG-INFO +3 -2
  12. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/python_msilib.egg-info/SOURCES.txt +2 -0
  13. {python_msilib-0.6.0 → python_msilib-0.7.0}/tests/test_msilib.py +23 -12
  14. {python_msilib-0.6.0 → python_msilib-0.7.0}/LICENSE +0 -0
  15. {python_msilib-0.6.0 → python_msilib-0.7.0}/MANIFEST.in +0 -0
  16. {python_msilib-0.6.0 → python_msilib-0.7.0}/README.md +0 -0
  17. {python_msilib-0.6.0 → python_msilib-0.7.0}/setup.cfg +0 -0
  18. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/include/_msi.h +0 -0
  19. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/msilib/include/pythoncapi_compat.h +0 -0
  20. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/python_msilib.egg-info/dependency_links.txt +0 -0
  21. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/python_msilib.egg-info/not-zip-safe +0 -0
  22. {python_msilib-0.6.0 → python_msilib-0.7.0}/src/python_msilib.egg-info/top_level.txt +0 -0
@@ -33,9 +33,9 @@ uninstall:
33
33
  @prek uninstall -q
34
34
  @rm -f .git/hooks/pre-commit
35
35
 
36
- .PHONY: upgrade
37
- upgrade: install
38
- prek auto-update --freeze
36
+ .PHONY: update
37
+ update: install
38
+ prek update --freeze
39
39
  $(MAKE) prek
40
40
 
41
41
  .PHONY: wheel
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-msilib
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: Read and write Microsoft Installer files
5
- Author-email: Marcelo Duarte <marcelotduarte@users.noreply.github.com>, " Martin v. Löwis" <loewis@users.noreply.github.com>
5
+ Author-email: Marcelo Duarte <marcelotduarte@users.noreply.github.com>, "Martin v. Löwis" <loewis@users.noreply.github.com>
6
6
  License-Expression: PSF-2.0
7
7
  Project-URL: Source, https://github.com/marcelotduarte/python-msilib
8
8
  Project-URL: Changelog, https://github.com/marcelotduarte/python-msilib/releases
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Programming Language :: Python :: 3 :: Only
19
19
  Classifier: Programming Language :: Python :: 3.13
20
20
  Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
21
22
  Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
22
23
  Classifier: Topic :: Software Development :: Build Tools
23
24
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -1,12 +1,12 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools~=82.0",
3
+ "setuptools~=83.0",
4
4
  ]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "python-msilib"
9
- version = "0.6.0"
9
+ version = "0.7.0"
10
10
  description = "Read and write Microsoft Installer files"
11
11
  classifiers = [
12
12
  "Development Status :: 5 - Production/Stable",
@@ -19,6 +19,7 @@ classifiers = [
19
19
  "Programming Language :: Python :: 3 :: Only",
20
20
  "Programming Language :: Python :: 3.13",
21
21
  "Programming Language :: Python :: 3.14",
22
+ "Programming Language :: Python :: 3.15",
22
23
  "Programming Language :: Python :: Free Threading :: 2 - Beta",
23
24
  "Topic :: Software Development :: Build Tools",
24
25
  "Topic :: Software Development :: Libraries :: Python Modules",
@@ -36,7 +37,7 @@ name = "Marcelo Duarte"
36
37
  email = "marcelotduarte@users.noreply.github.com"
37
38
 
38
39
  [[project.authors]]
39
- name = " Martin v. Löwis"
40
+ name = "Martin v. Löwis"
40
41
  email = "loewis@users.noreply.github.com"
41
42
 
42
43
  [project.urls]
@@ -46,12 +47,12 @@ Documentation = "https://docs.python.org/3.12/library/msilib.html"
46
47
 
47
48
  [dependency-groups]
48
49
  dev = [
49
- "cibuildwheel>=3.4.1",
50
- "prek>=0.3.8,<0.4.0",
50
+ "cibuildwheel>=4.2.0",
51
+ "prek>=0.4.12,<0.5.0",
51
52
  ]
52
53
  tests = [
53
54
  "coverage>=7.13.0",
54
- "pytest>=9.0.3",
55
+ "pytest>=9.0.3,<9.2.0",
55
56
  ]
56
57
 
57
58
  [tool.setuptools]
@@ -123,7 +124,10 @@ line-length = 79
123
124
  [tool.ruff.lint]
124
125
  select = [
125
126
  "A", # flake8-builtins
126
- "ANN2", # flake8-annotations - missing return type
127
+ "ANN001", # flake8-annotations - missing-type-function-argument
128
+ "ANN002", # flake8-annotations - missing-type-args
129
+ "ANN201", # flake8-annotations - missing-return-type-undocumented-public-function
130
+ "ANN202", # flake8-annotations - missing-return-type-private-function
127
131
  "ARG", # flake8-unused-arguments
128
132
  "B", # flake8-bugbear
129
133
  "BLE", # flake8-blind-except
@@ -169,28 +173,20 @@ ignore = [
169
173
  "D107", # Missing docstring in `__init__`
170
174
  "D203", # conflict with D211
171
175
  "D213", # conflict with D212
172
- # should be revised in future - last revised using ruff 0.14.2
176
+ "PLR0913", # too-many-arguments
177
+ "PLR0917", # too-many-positional-arguments
178
+ # should be revised in future - last revised using ruff 0.16.0
173
179
  "D101", # Missing docstring in public class
174
180
  "D102", # Missing docstring in public method
175
181
  "D103", # Missing docstring in public function
176
- "D205", # 1 blank line required between summary line and description
177
182
  "PLR2004", # Magic value used in comparison, consider replacing
178
- "PLR0912", # too-many-branches
179
- "PLR0913", # too-many-arguments
180
- "PLR0915", # too-many-statements
181
- # prone to false positives (https://github.com/astral-sh/ruff/issues/4045)
182
- "S603",
183
183
  ]
184
184
 
185
185
  [tool.ruff.lint.per-file-ignores]
186
186
  "src/msilib/__init__.py" = [
187
187
  "A002",
188
- "A005",
189
- "ANN201",
190
188
  "ERA001",
191
- "PLW0603", # global
192
189
  "S101", # Use of `assert` detected
193
- "S608",
194
190
  ]
195
191
  "src/msilib/schema.py" = [
196
192
  "E501", # Line too long
@@ -200,7 +196,6 @@ ignore = [
200
196
  ]
201
197
  "tests/*" = [
202
198
  "S101", # Use of `assert` detected
203
- "ANN201",
204
199
  ]
205
200
 
206
201
  [tool.ruff.lint.flake8-builtins]