Skip to content
Snippets Groups Projects
Commit ce1ef68c25bf authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:bookmark: 21.15.0

Bump version: 21.14.3 → 21.15.0
parent 4056d86df1a4
No related branches found
No related tags found
No related merge requests found
[tool.bumpversion]
current_version = "21.14.3"
current_version = "21.15.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
commit = true
......
......@@ -4,6 +4,22 @@
.. towncrier release notes start
21.15.0 (2024-10-24)
--------------------
Features
~~~~~~~~
- Add support for odoo 18 projects
- run_tests: allow setting an empty COVERAGE_SOURCE
Bugfixes
~~~~~~~~
- run_tests: fix exiting with return code
21.14.3 (2024-10-15)
--------------------
......
......@@ -13,8 +13,8 @@
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.14.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.14.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.15.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.15.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``.
......@@ -18,7 +18,7 @@
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.14.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.15.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``.
......
......@@ -27,7 +27,7 @@
.. code-block:: sh
bump-my-version bump patch
current_version=$(python3 -c "import toml;t = toml.load('.bumpversion.toml');print(t['tool']['bumpversion']['current_version'])")
current_version=$(python3 -c "import tomllib;t = tomllib.load(open('.bumpversion.toml', 'rb'));print(t['tool']['bumpversion']['current_version'])")
towncrier build --version=$current_version --yes
hg remove newsfragments
hg amend
......
......@@ -7,7 +7,7 @@
# - openerp to be installed
#
# Version 21.14.3
# Version 21.15.0
here=$(dirname $0)
source $here/odoo_scripts_common
......
......@@ -12,7 +12,7 @@
#
# - access to pg database
#
# Version 21.14.3
# Version 21.15.0
here=$(dirname $0)
source $here/odoo_scripts_common
......
Add support for odoo 18 projects
\ No newline at end of file
run_tests: allow setting an empty COVERAGE_SOURCE
\ No newline at end of file
run_tests: fix exiting with return code
\ No newline at end of file
......@@ -14,7 +14,7 @@
# This is maintained by bump-my-version.
# The value is used when odoo scripts is not installed, or in editable installation.
# In normal install, use the version of the package.
__version__ = "21.14.3"
__version__ = "21.15.0"
try:
# When using an editable installation, the number would be off
distrib = distribution("odoo-scripts")
......
......@@ -12,7 +12,7 @@
# If set to empty, no source is given to coverage. (changed in 21.15.0, previous versions considered empty as unset)
# If not set, compute the value from the tested modules
#
# Version 21.14.3
# Version 21.15.0
here=$(dirname $0)
source $here/odoo_scripts_common
......
......@@ -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.14.3
# Version 21.15.0
here=$(dirname $0)
source $here/odoo_scripts_common
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment