diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 874f4d8f..77fc8b42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,12 +8,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d392ebc1..00000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -dist: xenial -language: python -python: - - "3.7" - - "3.8" - - "3.9" - - "3.10" -# command to install dependencies -install: - - pip install -r requirements.txt - - pip install -U pytest-cov matplotlib pandas numpy jsondiff - - python setup.py install -# command to run tests -script: - - pytest --cov=fairgraph \ No newline at end of file diff --git a/README.md b/README.md index 1d3c4d62..2d4242de 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Authors: Andrew P. Davison, Onur Ates, Nico Feld, Yann Zerlaut, Glynis Mattheisen, Peyman Najafi -Copyright CNRS 2019-2023 +Copyright CNRS 2019-2024 **fairgraph** is a Python library for working with metadata in the EBRAINS Knowledge Graph, with a particular focus on data reuse, @@ -156,4 +156,5 @@ please open a ticket in the [issue tracker](https://github.com/HumanBrainProject
-This open source software code was developed in part or in whole in the Human Brain Project, funded from the European Union's Horizon 2020 Framework Programme for Research and Innovation under Specific Grant Agreements No. 720270, No. 785907 and No. 945539 (Human Brain Project SGA1, SGA2 and SGA3). +This open source software code was developed in part or in whole in the Human Brain Project, funded from the European Union's Horizon 2020 Framework Programme for Research and Innovation under Specific Grant Agreements No. 720270, No. 785907 and No. 945539 (Human Brain Project SGA1, SGA2 and SGA3) and in the EBRAINS research infrastructure, +funded from the European Union's Horizon Europe funding programme under grant agreement No. 101147319 (EBRAINS-2.0). diff --git a/doc/conf.py b/doc/conf.py index 3af8ddea..b935b3e6 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = "0.12" # The full version, including alpha/beta/rc tags -release = "0.12.0" +release = "0.12.1" # -- General configuration --------------------------------------------------- diff --git a/doc/release_notes.rst b/doc/release_notes.rst index afa43396..bfe852ac 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -2,6 +2,24 @@ Release notes ============= + +Version 0.12.1 +============== + +This version includes various small changes and bug fixes. + +- Reverse properties/fields, introduced in version 0.11, are now contained in the attribute :attr:`reverse_properties`, + which makes it easier to operate only on intrinsic, "forward" properties or only on reverse properties. +- The :attr:`type_` attribute is now a string (as in openMINDS Python), rather than a single-element list containing that string (as in the KG). +- The :class:`KGClient` now allows interactive authentication via a web-browser ("device flow"), + if the client cannot find an authorization token. + To disable this (for example for non-interactive use), create the client with ``allow_interactive=False``. +- Added methods :meth:`space_info()` and :meth:`clean_space()` to :class:`KGClient`, to make it easier to clean up private and collab KG spaces used for testing and development. +- Added method :meth:`move_all_to_space()` method to :class:`KGClient`, primarily intended for use by KG curators. +- Added the option to ignore duplicates in :meth:`node.exists()` calls (by default, if multiple nodes match the existence query an Exception will be raised) +- Updated the :mod:`openminds` module to include the latest changes in the openMINDS schemas. +- Partially fixed a `bug