# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1720515721 -7200 # Tue Jul 09 11:02:01 2024 +0200 # Node ID 595d373c8d7eafcf66c49bb01cdb0bb7b45e4a93 # Parent 23dbab4fcfcebbf0978e7d6a23b01e8c36d342e5 21.9.0 diff --git a/.bumpversion.cfg b/.bumpversion.cfg --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 21.8.3 +current_version = 21.9.0 parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) serialize = {major}.{minor}.{patch} diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -2,8 +2,8 @@ History ======= -Unreleased ----------- +21.9.0 (2024-07-09) +------------------- docker_build: add --empty option to avoid compiling all the modules and packages in the image. When used locally, the local modules and packages will be mounted instead, so there is no need to compile/install them. diff --git a/README.rst b/README.rst --- a/README.rst +++ b/README.rst @@ -13,12 +13,12 @@ pip need to be more recent than version 10.0 to use it to install. -The recommend way to install this module is to use pipx (``apt install pipx``) and run ``pipx install odoo_scripts==21.8.3 --index-url https://pypi.xcg.io/simple``. -Some scripts are in other sections, because they need some specialized library, in that case you need to indicate the name of section as in ``pipx install "odoo_scripts[docker]==21.8.3" --index-url https://pypi.xcg.io/simple``. If psycopg2 does not build, you might want to tell pipx to install psycopg2-binary or add the necessary libraries to compile it. +The recommend way to install this module is to use pipx (``apt install pipx``) and run ``pipx install odoo_scripts==21.9.0 --index-url https://pypi.xcg.io/simple``. +Some scripts are in other sections, because they need some specialized library, in that case you need to indicate the name of section as in ``pipx install "odoo_scripts[docker]==21.9.0" --index-url https://pypi.xcg.io/simple``. If psycopg2 does not build, you might want to tell pipx to install psycopg2-binary or add the necessary libraries to compile it. To upgrade Odoo scripts, just use ``pipx upgrade odoo_scripts``. -A virtualenv or user installation can also be done by doing ``python3 -m pip install odoo_scripts==21.8.3 --extra-index-url https://pypi.xcg.io/simple``. +A virtualenv or user installation can also be done by doing ``python3 -m pip install odoo_scripts==21.9.0 --extra-index-url https://pypi.xcg.io/simple``. It can also be cloned before running ``pipx install .`` in the clone directory. With pip version 21.3+ and a recent setuptools, editable mode (using the cloned repository) can be used by adding ``--editable``/``-e``. diff --git a/create_documentation b/create_documentation --- a/create_documentation +++ b/create_documentation @@ -7,7 +7,7 @@ # - openerp to be installed # -# Version 21.8.3 +# Version 21.9.0 here=$(dirname $0) source $here/odoo_scripts_common diff --git a/do_tests.zsh b/do_tests.zsh --- a/do_tests.zsh +++ b/do_tests.zsh @@ -12,7 +12,7 @@ # # - access to pg database # -# Version 21.8.3 +# Version 21.9.0 here=$(dirname $0) source $here/odoo_scripts_common diff --git a/odoo_scripts/__init__.py b/odoo_scripts/__init__.py --- a/odoo_scripts/__init__.py +++ b/odoo_scripts/__init__.py @@ -12,7 +12,7 @@ ) # This is maintained by bump2version. -__version__ = "21.8.3" +__version__ = "21.9.0" try: # When using an editable install, the number would be off distrib = distribution("odoo-scripts") diff --git a/run_tests b/run_tests --- a/run_tests +++ b/run_tests @@ -6,7 +6,7 @@ # Either provide the name of the database (first argument) or it will default to <project>_test # The DB user can be overridden by setting ODOO_SCRIPTS_DB_USER. # The environment variable “odoo_scripts_run_tests_logfile†can be set to be used to include the output of the tests -# Version 21.8.3 +# Version 21.9.0 here=$(dirname $0) source $here/odoo_scripts_common diff --git a/start b/start --- a/start +++ b/start @@ -7,7 +7,7 @@ # ODOO_TYPE can be set instead of putting it in setup.cfg # odoo_scripts_start_logfile can be set to indicate where to store Odoo tests out. stdout and stderr are both redirected. # -# Version 21.8.3 +# Version 21.9.0 here=$(dirname $0) source $here/odoo_scripts_common