Skip to content
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
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: Python ${{ matrix.python-version }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -54,10 +54,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
pipx install poetry

- name: Install dev dependencies
run: |
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
backend:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']

runs-on: ubuntu-latest
name: Python ${{ matrix.python-version }}
Expand All @@ -28,8 +28,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
pipx install poetry
- name: Install dependencies
run: |
poetry install -vvv
Expand Down Expand Up @@ -70,17 +69,21 @@ jobs:

services:
mysql:
image: mariadb:10.5
image: mariadb:11.8
env:
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: >-
--health-cmd="healthcheck.sh --connect --innodb_initialized"
--health-interval=10s
--health-timeout=5s
--health-retries=3

strategy:
matrix:
node-version: [18.x, 20.x]
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']

runs-on: ubuntu-latest
name: Node ${{ matrix.node-version }} Python ${{ matrix.python-version }}
Expand All @@ -91,10 +94,9 @@ jobs:
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
pipx install poetry
- name: Install dependencies
run: |
poetry install -vvv
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In the context of GrimoireLab, Sorting Hat is usually run after data is retrieve

## Requirements

* Python >= 3.9
* Python >= 3.10
* Poetry >= 1.1.0
* MySQL >= 8.1 or MariaDB >= 10.4
* Django = 4.2
Expand Down
4 changes: 0 additions & 4 deletions config/settings/config_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
],
}

GRAPHQL_JWT = {
'JWT_ALLOW_ANY_HANDLER': 'sortinghat.core.middleware.allow_any'
}

SORTINGHAT_API_PAGE_SIZE = 10

MULTI_TENANT = False
Expand Down
4 changes: 0 additions & 4 deletions config/settings/devel.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@
],
}

GRAPHQL_JWT = {
'JWT_ALLOW_ANY_HANDLER': 'sortinghat.core.middleware.allow_any'
}

SORTINGHAT_AUTHENTICATION_REQUIRED = False

RQ_QUEUES = {
Expand Down
Loading