details:   https://code.tryton.org/tryton/commit/ce81f12c9444
branch:    6.0
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/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_purchase_shipment_cost.py |  1 -
 5 files changed, 4 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 8fba2b6a9464 -r ce81f12c9444 .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 8fba2b6a9464 -r ce81f12c9444 .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 8fba2b6a9464 -r ce81f12c9444 .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 8fba2b6a9464 -r ce81f12c9444 
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
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 from __future__ import print_function
diff -r 8fba2b6a9464 -r ce81f12c9444 
modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py
--- a/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py       
Thu Mar 05 17:26:35 2026 +0100
+++ b/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.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.
 import unittest

Reply via email to