Make the 8.0 package build reproducible
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
Version 8.0.1 - 2026-08-09
|
Version 8.0.1 - 2026-08-09
|
||||||
--------------------------
|
--------------------------
|
||||||
* Initial release.
|
* 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.
|
* Document tax requirements and official source provenance.
|
||||||
* Correct asset, real-estate transfer, legal-tip, vehicle and bovine tax data.
|
* Correct asset, real-estate transfer, legal-tip, vehicle and bovine tax data.
|
||||||
* Remove unsupported or unsafe ITBIS templates and their dependent records.
|
* 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]
|
[tool.hatch.build]
|
||||||
include = [
|
include = [
|
||||||
|
'README.rst',
|
||||||
|
'CHANGELOG',
|
||||||
|
'pyproject.toml',
|
||||||
'**/tryton.cfg',
|
'**/tryton.cfg',
|
||||||
'**/*.py',
|
'**/*.py',
|
||||||
'**/*.xml',
|
'**/*.xml',
|
||||||
|
'doc/**/*.rst',
|
||||||
|
'doc/**/*.py',
|
||||||
'view/**/*.xml',
|
'view/**/*.xml',
|
||||||
'**/*.fodt',
|
'**/*.fodt',
|
||||||
'icons/**/*.svg',
|
'icons/**/*.svg',
|
||||||
'tests/**/*.rst',
|
'tests/**/*.rst',
|
||||||
'tests/**/*.json',
|
'tests/**/*.json',
|
||||||
]
|
]
|
||||||
exclude = ['doc']
|
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel.sources]
|
[tool.hatch.build.targets.wheel.sources]
|
||||||
"" = "trytond/modules/account_do"
|
"" = "trytond/modules/account_do"
|
||||||
|
|||||||
@@ -597,8 +597,14 @@ class AccountDoUnitTestCase(unittest.TestCase):
|
|||||||
self.assertIn(
|
self.assertIn(
|
||||||
('repository = "https://code.unpaismejor.org.do/'
|
('repository = "https://code.unpaismejor.org.do/'
|
||||||
'tryton-do/account_do"'), pyproject)
|
'tryton-do/account_do"'), pyproject)
|
||||||
self.assertIn("exclude = ['doc']", pyproject)
|
for package_file in [
|
||||||
for package_file in ['**/*.xml', 'tests/**/*.rst']:
|
"'README.rst'",
|
||||||
|
"'CHANGELOG'",
|
||||||
|
"'pyproject.toml'",
|
||||||
|
"'**/*.xml'",
|
||||||
|
"'doc/**/*.rst'",
|
||||||
|
"'tests/**/*.rst'",
|
||||||
|
]:
|
||||||
self.assertIn(package_file, pyproject)
|
self.assertIn(package_file, pyproject)
|
||||||
for filename in [
|
for filename in [
|
||||||
'__init__.py',
|
'__init__.py',
|
||||||
|
|||||||
Reference in New Issue
Block a user