Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7b55340
🔥Remove old code
lord-haffi Jul 11, 2025
ef345ec
fix dependencies
lord-haffi Jul 11, 2025
bf18026
Correct version pattern
lord-haffi Jul 11, 2025
e84b009
Make JSON Schema generation compatible with CLI
lord-haffi Jul 11, 2025
c414e38
Fix documentation creation
lord-haffi Jul 11, 2025
5bfb037
Fix .gitignore
lord-haffi Jul 11, 2025
c7aeeec
Fix rate limit problem
lord-haffi Jul 11, 2025
655c6ff
Include current workdir schemas to matrix
lord-haffi Jul 11, 2025
2fe5e5a
🔥
lord-haffi Jul 11, 2025
3a6cded
Fix links
lord-haffi Jul 11, 2025
400ce79
Adapt version tag check
lord-haffi Jul 11, 2025
d798d65
Bump BO4E-CLI
lord-haffi Jul 11, 2025
94468ce
🩹Fix linter
lord-haffi Jul 11, 2025
9062dd0
🩹Fix type checker
lord-haffi Jul 11, 2025
a3abfcb
Fetch whole repo in test and coverage workflow
lord-haffi Jul 12, 2025
64671ac
Add bo4e-cli to json_schemas_generate dependencies
lord-haffi Jul 12, 2025
b5435b7
Upgrade all dependencies
lord-haffi Jul 12, 2025
41878dd
Fix schema generation for newer pydantic version
lord-haffi Jul 12, 2025
b1d1b64
🔥Remove sphinx build flag
lord-haffi Jul 12, 2025
4dcdf7b
Bump BO4E-CLI
lord-haffi Jul 12, 2025
b11383d
Fix link in doku
lord-haffi Jul 13, 2025
a054c23
Remove .version file from push to BO4E-Schemas
lord-haffi Jul 13, 2025
2aeb22f
Improve Changelog
lord-haffi Jul 13, 2025
6338ff9
Change order to make sure that directory exists
lord-haffi Jul 13, 2025
8eea9ba
Merge branch 'main' into adapt_to_cli
lord-haffi Jul 24, 2025
e8a8565
🩹Fix from merge commit
lord-haffi Jul 24, 2025
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
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docs_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
# Note: The sphinx action below can only install a single requirements file.
- name: Build JSON Schemas
run: tox -e generate_json_schemas
env:
TARGET_VERSION: ${{ env.REF_NAME }}
- name: Build BO4E package
# Note: This step necessary to correctly set the version in the JSON-Schema-links
run: |
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ jobs:
TARGET_VERSION: ${{ github.ref_name }}
- name: Check version tag
run: |
python -m docs.compatibility.versioning --gh-version ${{ github.ref_name }} \
--gh-token ${{ secrets.GITHUB_TOKEN }}
# Get last version tag
LAST_VERSION=$(bo4e repo versions -qcn 1 -r ${{ github.ref_name }})
bo4e pull -t $LAST_VERSION -o tmp/last_schemas
bo4e diff schemas tmp/last_schemas json_schemas -o tmp/diff.json
bo4e diff version-bump tmp/diff.json -aq
json_schemas:
name: Generate JSON-Schemas
runs-on: ubuntu-latest
Expand All @@ -70,7 +73,10 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Build JSON Schemas
run: tox -e generate_json_schemas
run: |
tox -e generate_json_schemas
# Remove .version file as we don't want to commit it to BO4E-Schemas
rm json_schemas/.version
env:
TARGET_VERSION: ${{ github.ref_name }}
- name: Push schemas to BO4E-Schemas repo
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ src/_bo4e_python_version.py

# the autogenerated JSON schemas will be build and pushed to BO4E-Schemas
# on release
json_schemas/**/*.json
json_schemas/

tmp/
9 changes: 4 additions & 5 deletions dev_requirements/requirements-coverage.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# SHA1:6dafbcf610e9f81897b65ee9142715ab2e793f9e
#
# This file is autogenerated by pip-compile-multi
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile-multi
# pip-compile '.\dev_requirements\requirements-coverage.in'
#
coverage==7.9.2
# via -r requirements-coverage.in
# via -r .\dev_requirements\requirements-coverage.in
21 changes: 11 additions & 10 deletions dev_requirements/requirements-formatting.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# SHA1:2c7ffcd29222de3114c7f7994911f1b69d06b6b3
#
# This file is autogenerated by pip-compile-multi
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile-multi
# pip-compile '.\dev_requirements\requirements-formatting.in'
#
black==25.1.0
# via -r dev_requirements/requirements-formatting.in
click==8.1.8
# via -r .\dev_requirements\requirements-formatting.in
click==8.2.1
# via black
colorama==0.4.6
# via click
isort==6.0.1
# via -r dev_requirements/requirements-formatting.in
mypy-extensions==1.0.0
# via -r .\dev_requirements\requirements-formatting.in
mypy-extensions==1.1.0
# via black
packaging==24.0
packaging==25.0
# via black
pathspec==0.12.1
# via black
platformdirs==4.2.0
platformdirs==4.3.8
# via black
1 change: 1 addition & 0 deletions dev_requirements/requirements-json_schemas.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
click
bo4e-cli
143 changes: 137 additions & 6 deletions dev_requirements/requirements-json_schemas.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,140 @@
# SHA1:b93ec56608fb302fea7a8019d7c0e8e7239fc033
#
# This file is autogenerated by pip-compile-multi
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile-multi
# pip-compile '.\dev_requirements\requirements-json_schemas.in'
#
click==8.1.8
# via -r dev_requirements/requirements-json_schemas.in
annotated-types==0.7.0
# via pydantic
anyio==4.9.0
# via httpx
argcomplete==3.6.2
# via datamodel-code-generator
autoflake==2.3.1
# via bo4e-cli
black==25.1.0
# via datamodel-code-generator
bo4e-cli==0.0.3
# via -r .\dev_requirements\requirements-json_schemas.in
certifi==2025.7.9
# via
# httpcore
# httpx
# requests
cffi==1.17.1
# via
# cryptography
# pynacl
charset-normalizer==3.4.2
# via requests
click==8.2.1
# via
# -r .\dev_requirements\requirements-json_schemas.in
# black
# typer
colorama==0.4.6
# via click
cryptography==45.0.5
# via pyjwt
datamodel-code-generator==0.31.2
# via bo4e-cli
deprecated==1.2.18
# via pygithub
genson==1.3.0
# via datamodel-code-generator
greenlet==3.2.3
# via sqlalchemy
h11==0.16.0
# via httpcore
httpcore==1.0.9
# via httpx
httpx==0.28.1
# via bo4e-cli
idna==3.10
# via
# anyio
# httpx
# requests
inflect==7.5.0
# via datamodel-code-generator
isort==6.0.1
# via datamodel-code-generator
jinja2==3.1.6
# via datamodel-code-generator
markdown-it-py==3.0.0
# via rich
markupsafe==3.0.2
# via jinja2
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.7.0
# via
# bo4e-cli
# inflect
mypy-extensions==1.1.0
# via black
networkx==3.5
# via bo4e-cli
packaging==25.0
# via
# black
# datamodel-code-generator
pathspec==0.12.1
# via black
platformdirs==4.3.8
# via black
pycparser==2.22
# via cffi
pydantic==2.11.7
# via
# bo4e-cli
# datamodel-code-generator
# sqlmodel
pydantic-core==2.33.2
# via pydantic
pyflakes==3.4.0
# via autoflake
pygithub==2.6.1
# via bo4e-cli
pygments==2.19.2
# via rich
pyjwt[crypto]==2.10.1
# via pygithub
pynacl==1.5.0
# via pygithub
pyyaml==6.0.2
# via datamodel-code-generator
requests==2.32.4
# via pygithub
rich==14.0.0
# via typer
shellingham==1.5.4
# via typer
sniffio==1.3.1
# via anyio
sqlalchemy==2.0.41
# via sqlmodel
sqlmodel==0.0.24
# via bo4e-cli
typeguard==4.4.4
# via inflect
typer==0.16.0
# via bo4e-cli
typing-extensions==4.14.1
# via
# anyio
# pydantic
# pydantic-core
# pygithub
# sqlalchemy
# typeguard
# typer
# typing-inspection
typing-inspection==0.4.1
# via pydantic
urllib3==2.5.0
# via
# pygithub
# requests
wrapt==1.17.2
# via deprecated
19 changes: 10 additions & 9 deletions dev_requirements/requirements-linting.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# SHA1:0e15f8789b9d62fe90d1f1b0b6a7e32f13b99b19
#
# This file is autogenerated by pip-compile-multi
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile-multi
# pip-compile '.\dev_requirements\requirements-linting.in'
#
astroid==3.3.9
astroid==3.3.10
# via pylint
dill==0.3.8
colorama==0.4.6
# via pylint
dill==0.4.0
# via pylint
isort==6.0.1
# via pylint
mccabe==0.7.0
# via pylint
platformdirs==4.2.0
platformdirs==4.3.8
# via pylint
pylint==3.3.7
# via -r requirements-linting.in
tomlkit==0.12.4
# via -r .\dev_requirements\requirements-linting.in
tomlkit==0.13.3
# via pylint
48 changes: 17 additions & 31 deletions dev_requirements/requirements-packaging.txt
Original file line number Diff line number Diff line change
@@ -1,63 +1,53 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile dev_requirements/requirements-packaging.in
# pip-compile '.\dev_requirements\requirements-packaging.in'
#
backports-tarfile==1.2.0
# via jaraco-context
build==1.2.2.post1
# via -r requirements-packaging.in
certifi==2024.12.14
# via -r .\dev_requirements\requirements-packaging.in
certifi==2025.7.9
# via requests
cffi==1.17.1
# via cryptography
charset-normalizer==3.4.1
charset-normalizer==3.4.2
# via requests
cryptography==45.0.4
# via secretstorage
colorama==0.4.6
# via build
docutils==0.21.2
# via readme-renderer
id==1.5.0
# via twine
idna==3.10
# via requests
importlib-metadata==8.6.1
# via keyring
jaraco-classes==3.4.0
# via keyring
jaraco-context==6.0.1
# via keyring
jaraco-functools==4.1.0
jaraco-functools==4.2.1
# via keyring
jeepney==0.9.0
# via
# keyring
# secretstorage
keyring==25.6.0
# via twine
markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.6.0
more-itertools==10.7.0
# via
# jaraco-classes
# jaraco-functools
nh3==0.2.20
nh3==0.2.21
# via readme-renderer
packaging==24.2
packaging==25.0
# via
# build
# twine
pycparser==2.22
# via cffi
pygments==2.19.1
pygments==2.19.2
# via
# readme-renderer
# rich
pyproject-hooks==1.2.0
# via build
pywin32-ctypes==0.2.3
# via keyring
readme-renderer==44.0
# via twine
requests==2.32.4
Expand All @@ -69,15 +59,11 @@ requests-toolbelt==1.0.0
# via twine
rfc3986==2.0.0
# via twine
rich==13.9.4
rich==14.0.0
# via twine
secretstorage==3.3.3
# via keyring
twine==6.1.0
# via -r requirements-packaging.in
urllib3==2.3.0
# via -r .\dev_requirements\requirements-packaging.in
urllib3==2.5.0
# via
# requests
# twine
zipp==3.21.0
# via importlib-metadata
Loading
Loading