From 5b02767c2fcb8e35c86213a5c529f54be8f3ec3b Mon Sep 17 00:00:00 2001 From: Nicola Tarocco Date: Sun, 3 Mar 2024 11:36:48 +0100 Subject: [PATCH 1/4] bump react-invenio-forms --- invenio_search_ui/webpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio_search_ui/webpack.py b/invenio_search_ui/webpack.py index b4d4be3b..beec78b1 100644 --- a/invenio_search_ui/webpack.py +++ b/invenio_search_ui/webpack.py @@ -41,7 +41,7 @@ "redux": "^4.0.0", "redux-thunk": "^2.3.0", "react-searchkit": "^2.0.0", - "react-invenio-forms": "^1.0.0", + "react-invenio-forms": "^3.0.0", "semantic-ui-css": "^2.4.0", "semantic-ui-react": "^2.1.0", "i18next": "^20.3.0", From d87d6475ab4d53c9abe9bb7bece2c0f1695cec76 Mon Sep 17 00:00:00 2001 From: Nicola Tarocco Date: Mon, 4 Mar 2024 10:39:59 +0100 Subject: [PATCH 2/4] setup: pin Invenio packages upper versions --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index b11c6f6e..20f8b810 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,13 +28,13 @@ python_requires = >=3.7 zip_safe = False install_requires = Babel>=2.8 - invenio-assets>=2.0.0 - invenio-base>=1.2.11 + invenio-assets>=2.0.0,<3.0.0 + invenio-base>=1.2.11,<2.0.0 invenio-i18n>=2.0.0,<3.0.0 [options.extras_require] tests = - pytest-black>=0.3.0,<0.3.10 + pytest-black>=0.3.0 invenio-db>=1.0.8 invenio-records>=1.0.0 pytest-invenio>=1.4.11 From 6b96fbc140b3562de6d431cf4f623d7832e11cdd Mon Sep 17 00:00:00 2001 From: Nicola Tarocco Date: Mon, 4 Mar 2024 10:42:21 +0100 Subject: [PATCH 3/4] ci: upgrade test matrix --- .github/workflows/tests.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22f7a045..0e4466d1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,36 +29,24 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [3.7, 3.8, 3.9] - requirements-level: [pypi] + python-version: ['3.9', '3.10', '3.11', '3.12'] env: EXTRAS: tests steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Generate dependencies - run: | - pip install wheel requirements-builder - requirements-builder -e "$EXTRAS" ${{ matrix.requirements-file }} --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt - - - name: Cache pip - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }} + cache: 'pip' + cache-dependency-path: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}-${{ matrix.python-version }} - name: Install dependencies run: | - pip install -r .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt pip install -e .[$EXTRAS] pip freeze - name: Run tests - run: | - ./run-tests.sh + run: ./run-tests.sh From 44772a9bdb072d754072f595032d39d833a0e5cd Mon Sep 17 00:00:00 2001 From: Nicola Tarocco Date: Sun, 3 Mar 2024 11:37:44 +0100 Subject: [PATCH 4/4] release: v2.8.4 --- CHANGES.rst | 4 ++++ invenio_search_ui/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 5601358c..e59d66b5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,10 @@ Changes ======= +Version 2.8.4 (released 2024-03-04) + +- bump react-invenio-forms + Version 2.8.3 (released 2024-01-11) - search: add new config parameter for the default search view diff --git a/invenio_search_ui/__init__.py b/invenio_search_ui/__init__.py index daffcda9..973e0622 100644 --- a/invenio_search_ui/__init__.py +++ b/invenio_search_ui/__init__.py @@ -327,6 +327,6 @@ def my_record_search(): from .ext import InvenioSearchUI -__version__ = "2.8.3" +__version__ = "2.8.4" __all__ = ("__version__", "InvenioSearchUI")