From cd48d51cce0fc659f86f13f76644798a5dec564e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 4 Mar 2026 12:36:33 +0100 Subject: [PATCH] Use python3 in shebang --- .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(-) diff --git a/.gitlab-scripts/doctest2python.py b/.gitlab-scripts/doctest2python.py index 270c5d5988..f35a89392a 100755 --- a/.gitlab-scripts/doctest2python.py +++ b/.gitlab-scripts/doctest2python.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import doctest import glob diff --git a/.gitlab-scripts/generate-ci.py b/.gitlab-scripts/generate-ci.py index 63e6bde8a8..1a599c28d2 100755 --- a/.gitlab-scripts/generate-ci.py +++ b/.gitlab-scripts/generate-ci.py @@ -1,4 +1,4 @@ -#!/bin/env python +#!/bin/env python3 import glob import os import sys diff --git a/.hooks/link_modules b/.hooks/link_modules index c7c469f1ae..4d68d697ea 100755 --- a/.hooks/link_modules +++ b/.hooks/link_modules @@ -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 --git a/.hooks/update_requirements b/.hooks/update_requirements index 615832c768..03c552e764 100755 --- a/.hooks/update_requirements +++ b/.hooks/update_requirements @@ -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 --git a/modules/country/scripts/import_postal_codes.py b/modules/country/scripts/import_postal_codes.py index 87529eefdd..edbb64aa48 100755 --- a/modules/country/scripts/import_postal_codes.py +++ b/modules/country/scripts/import_postal_codes.py @@ -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 --git a/modules/purchase_shipment_cost/tests/test_module.py b/modules/purchase_shipment_cost/tests/test_module.py index e10fc0c064..18bb515ae4 100644 --- a/modules/purchase_shipment_cost/tests/test_module.py +++ b/modules/purchase_shipment_cost/tests/test_module.py @@ -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.