Make the 8.0 package build reproducible
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user