details:   https://code.tryton.org/tryton/commit/c10c80fb7a2b
branch:    7.6
user:      Cédric Krier <[email protected]>
date:      Wed Mar 04 12:36:33 2026 +0100
description:
        Use python3 in shebang
        (grafted from cc8ffd818eb743822ca9014abe4f6cc2f1af5596)
diffstat:

 .gitlab-scripts/doctest2python.py                   |  2 +-
 .gitlab-scripts/generate-ci.py                      |  2 +-
 .hooks/link_modules                                 |  2 +-
 .hooks/update_requirements                          |  2 +-
 modules/country/scripts/import_postal_codes.py      |  2 +-
 modules/purchase_shipment_cost/tests/test_module.py |  1 -
 6 files changed, 5 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 9d9af4f25a27 -r c10c80fb7a2b .gitlab-scripts/doctest2python.py
--- a/.gitlab-scripts/doctest2python.py Thu Mar 05 17:26:35 2026 +0100
+++ b/.gitlab-scripts/doctest2python.py Wed Mar 04 12:36:33 2026 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import doctest
 import glob
diff -r 9d9af4f25a27 -r c10c80fb7a2b .gitlab-scripts/generate-ci.py
--- a/.gitlab-scripts/generate-ci.py    Thu Mar 05 17:26:35 2026 +0100
+++ b/.gitlab-scripts/generate-ci.py    Wed Mar 04 12:36:33 2026 +0100
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/bin/env python3
 import glob
 import os
 import sys
diff -r 9d9af4f25a27 -r c10c80fb7a2b .hooks/link_modules
--- a/.hooks/link_modules       Thu Mar 05 17:26:35 2026 +0100
+++ b/.hooks/link_modules       Wed Mar 04 12:36:33 2026 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
diff -r 9d9af4f25a27 -r c10c80fb7a2b .hooks/update_requirements
--- a/.hooks/update_requirements        Thu Mar 05 17:26:35 2026 +0100
+++ b/.hooks/update_requirements        Wed Mar 04 12:36:33 2026 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
diff -r 9d9af4f25a27 -r c10c80fb7a2b 
modules/country/scripts/import_postal_codes.py
--- a/modules/country/scripts/import_postal_codes.py    Thu Mar 05 17:26:35 
2026 +0100
+++ b/modules/country/scripts/import_postal_codes.py    Wed Mar 04 12:36:33 
2026 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # PYTHON_ARGCOMPLETE_OK
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
diff -r 9d9af4f25a27 -r c10c80fb7a2b 
modules/purchase_shipment_cost/tests/test_module.py
--- a/modules/purchase_shipment_cost/tests/test_module.py       Thu Mar 05 
17:26:35 2026 +0100
+++ b/modules/purchase_shipment_cost/tests/test_module.py       Wed Mar 04 
12:36:33 2026 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 

Reply via email to