details:
https://code.tryton.org/communication/authentication_none/commit/283fde3028f6
branch: default
user: Cédric Krier <[email protected]>
date: Sat Oct 03 09:19:12 2026 +0200
description:
Do not rely on hatch-tryton to set dependencies
hatch-tryton adds a dependency to trytond with the same series as the
module
version.
diffstat:
pyproject.toml | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diffs (42 lines):
diff -r b7c7888e359c -r 283fde3028f6 pyproject.toml
--- a/pyproject.toml Thu Sep 17 11:23:37 2026 +0200
+++ b/pyproject.toml Sat Oct 03 09:19:12 2026 +0200
@@ -1,15 +1,15 @@
[build-system]
-requires = ['hatchling >= 1', 'hatch-tryton']
+requires = ['hatchling >= 1']
build-backend = 'hatchling.build'
[project]
name = 'trytond_authentication_none'
-dynamic = ['version', 'dependencies', 'authors', 'readme']
requires-python = '>=3.5'
maintainers = [
{name = "Tryton", email = "[email protected]"},
]
description = "Tryton module to authenticate using username only"
+version="0.0.1"
license = 'GPL-3.0-or-later'
license-files = ['LICENSE', 'icons/LICENSE', 'COPYRIGHT']
keywords = ["tryton", "authentication", "none"]
@@ -20,6 +20,9 @@
"Topic :: Office/Business",
"Topic :: Software Development :: Libraries :: Python Modules",
]
+dependencies = [
+ 'trytond >= 5.0',
+ ]
[project.entry-points.'trytond.modules']
authentication_none = 'trytond.modules.authentication_none'
@@ -46,10 +49,3 @@
[tool.hatch.build.targets.wheel.sources]
"" = "trytond/modules/authentication_none"
-
-[tool.hatch.metadata.hooks.tryton]
-dependencies = [
- 'trytond >= 5.0',
- ]
-copyright = 'COPYRIGHT'
-readme = 'README.rst'