Skip to content

Commit 0ed7909

Browse files
authored
Merge branch 'main' into fix-939-return-cg-from-parse
2 parents b7cd1c7 + a8f37cc commit 0ed7909

File tree

253 files changed

+5395
-3708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+5395
-3708
lines changed

.github/workflows/docker-images.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
packages: read
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
with:
4242
fetch-depth: 1
4343
- name: Install Task
44-
uses: arduino/setup-task@v1
44+
uses: arduino/setup-task@v2
4545
with:
4646
repo-token: ${{ secrets.GITHUB_TOKEN }}
4747
- name: Install poetry
@@ -62,18 +62,18 @@ jobs:
6262
contents: read
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v4
6666
with:
6767
fetch-depth: 1
6868
- name: Install Task
69-
uses: arduino/setup-task@v1
69+
uses: arduino/setup-task@v2
7070
with:
7171
repo-token: ${{ secrets.GITHUB_TOKEN }}
7272
- name: Install poetry
7373
run: |
7474
pip install -r devtools/requirements-poetry.in
7575
- name: Login to GitHub Container Registry
76-
uses: docker/login-action@v2
76+
uses: docker/login-action@v3
7777
with:
7878
registry: ghcr.io
7979
username: ${{ github.actor }}

.github/workflows/validate.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- python-version: "3.8"
3939
os: ubuntu-latest
4040
extensive-tests: true
41+
PREPARATION: "sudo apt-get install -y libxml2-dev libxslt-dev"
4142
suffix: "-min"
4243
TOXENV_SUFFIX: "-min"
4344
- python-version: "3.9"
@@ -55,29 +56,29 @@ jobs:
5556
TOX_TEST_HARNESS: "firejail --net=none --"
5657
TOX_PYTEST_EXTRA_ARGS: "-m 'not webtest'"
5758
steps:
58-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v4
5960
- name: Cache XDG_CACHE_HOME
60-
uses: actions/cache@v3
61+
uses: actions/cache@v4
6162
with:
6263
path: ${{ env.XDG_CACHE_HOME }}
6364
key: ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml', '**/poetry.lock', '**/with-fuseki.sh', '**/*requirements*.txt', '**/*requirements*.in') }}
6465
restore-keys: |
6566
${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-
6667
${{ github.job }}-xdg-v1-${{ matrix.os }}-
6768
- name: Set up Python ${{ matrix.python-version }}
68-
uses: actions/setup-python@v4
69+
uses: actions/setup-python@v5
6970
with:
7071
python-version: ${{ matrix.python-version }}
7172
- name: Install poetry
7273
run: |
7374
pip install -r devtools/requirements-poetry.in
74-
- uses: actions/setup-java@v3
75+
- uses: actions/setup-java@v4
7576
if: ${{ matrix.extensive-tests }}
7677
with:
7778
distribution: "temurin"
7879
java-version: "17"
7980
- name: Install Task
80-
uses: arduino/setup-task@v1
81+
uses: arduino/setup-task@v2
8182
with:
8283
repo-token: ${{ secrets.GITHUB_TOKEN }}
8384
- name: Run preparation
@@ -101,12 +102,12 @@ jobs:
101102
TOX_PYTEST_EXTRA_ARGS: ${{ matrix.TOX_PYTEST_EXTRA_ARGS }}
102103
TOX_TEST_HARNESS: ${{ matrix.TOX_TEST_HARNESS }}
103104
TOX_EXTRA_COMMAND: ${{ matrix.TOX_EXTRA_COMMAND }}
104-
- uses: actions/upload-artifact@v3
105+
- uses: actions/upload-artifact@v4
105106
if: ${{ (success() || failure()) }}
106107
with:
107108
name: ${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-mypy-junit-xml
108109
path: test_reports/${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-mypy-junit.xml
109-
- uses: actions/upload-artifact@v3
110+
- uses: actions/upload-artifact@v4
110111
if: ${{ (success() || failure()) }}
111112
with:
112113
name: ${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-pytest-junit-xml
@@ -122,24 +123,24 @@ jobs:
122123
- task: "gha:lint"
123124
python-version: 3.8
124125
steps:
125-
- uses: actions/checkout@v3
126+
- uses: actions/checkout@v4
126127
- name: Cache XDG_CACHE_HOME
127-
uses: actions/cache@v3
128+
uses: actions/cache@v4
128129
with:
129130
path: ${{ env.XDG_CACHE_HOME }}
130131
key: ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml', '**/poetry.lock', '**/with-fuseki.sh', '**/*requirements*.txt', '**/*requirements*.in') }}
131132
restore-keys: |
132133
${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-
133134
${{ github.job }}-xdg-v1-${{ matrix.os }}-
134135
- name: Set up Python ${{env.DEFAULT_PYTHON}}
135-
uses: actions/setup-python@v4
136+
uses: actions/setup-python@v5
136137
with:
137138
python-version: ${{ matrix.python-version }}
138139
- name: Install poetry
139140
run: |
140141
pip install -r devtools/requirements-poetry.in
141142
- name: Install Task
142-
uses: arduino/setup-task@v1
143+
uses: arduino/setup-task@v2
143144
with:
144145
repo-token: ${{ secrets.GITHUB_TOKEN }}
145146
- name: Run task

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@ ci:
77
# https://pre-commit.com/#adding-pre-commit-plugins-to-your-project
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.0.286
10+
rev: v0.3.3
1111
hooks:
1212
- id: ruff
1313
args: ["--fix"]
14-
- repo: https://github.com/psf/black
14+
- repo: https://github.com/psf/black-pre-commit-mirror
1515
# WARNING: version should be the same as in `pyproject.toml`
16-
# Using git ref spec because of https://github.com/psf/black/issues/2493
17-
rev: 'refs/tags/23.7.0:refs/tags/23.7.0'
16+
rev: "24.3.0"
1817
hooks:
1918
- id: black
2019
pass_filenames: false
2120
require_serial: true
2221
args: ["."]
2322
- repo: https://github.com/python-poetry/poetry
24-
rev: 1.5.0
23+
rev: 1.8.0
2524
hooks:
2625
- id: poetry-check
2726
- id: poetry-lock

.readthedocs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ build:
2121
# the readthedocs environment.
2222
- pip install -r devtools/requirements-poetry.in
2323
post_install:
24-
- poetry config virtualenvs.create false
25-
- poetry install --only=main --only=docs --extras=html
26-
- poetry env info
24+
- poetry export --only=main --only=docs --extras=html -o requirements.txt
25+
- pip install --no-cache-dir -r requirements.txt
26+
- pip install .
27+
- python -c "from rdflib import Graph; print(Graph)"
2728

2829
sphinx:
2930
fail_on_warning: true

0 commit comments

Comments
 (0)