Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react invenio forms #197

Merged
merged 4 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion invenio_search_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,6 @@ def my_record_search():

from .ext import InvenioSearchUI

__version__ = "2.8.3"
__version__ = "2.8.4"

__all__ = ("__version__", "InvenioSearchUI")
2 changes: 1 addition & 1 deletion invenio_search_ui/webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down