Make the 8.0 package build reproducible

This commit is contained in:
José Arturo García
2026-08-10 22:07:30 -04:00
parent 1583dd3387
commit 609b312611
3 changed files with 15 additions and 3 deletions
+2
View File
@@ -1,6 +1,8 @@
Version 8.0.1 - 2026-08-09
--------------------------
* Initial release.
* Include project metadata and review documentation in the wheel so the
installed package and its test suite are reproducible.
* Document tax requirements and official source provenance.
* Correct asset, real-estate transfer, legal-tip, vehicle and bovine tax data.
* Remove unsupported or unsafe ITBIS templates and their dependent records.
+5 -1
View File
@@ -36,16 +36,20 @@ funding = "https://www.tryton.org/donate"
[tool.hatch.build]
include = [
'README.rst',
'CHANGELOG',
'pyproject.toml',
'**/tryton.cfg',
'**/*.py',
'**/*.xml',
'doc/**/*.rst',
'doc/**/*.py',
'view/**/*.xml',
'**/*.fodt',
'icons/**/*.svg',
'tests/**/*.rst',
'tests/**/*.json',
]
exclude = ['doc']
[tool.hatch.build.targets.wheel.sources]
"" = "trytond/modules/account_do"
+8 -2
View File
@@ -597,8 +597,14 @@ class AccountDoUnitTestCase(unittest.TestCase):
self.assertIn(
('repository = "https://code.unpaismejor.org.do/'
'tryton-do/account_do"'), pyproject)
self.assertIn("exclude = ['doc']", pyproject)
for package_file in ['**/*.xml', 'tests/**/*.rst']:
for package_file in [
"'README.rst'",
"'CHANGELOG'",
"'pyproject.toml'",
"'**/*.xml'",
"'doc/**/*.rst'",
"'tests/**/*.rst'",
]:
self.assertIn(package_file, pyproject)
for filename in [
'__init__.py',