beat.backend.python merge requestshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests2023-05-01T11:19:30Zhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/90Fix extra links to follow latest format2023-05-01T11:19:30ZSamuel GAISTFix extra links to follow latest formatThe way it is done currently has been deprecated for a long time and support will be removed in version 8 of sphinx.
This merge request also removes the handling of extra-intersphinx as it is an unused feature.
The handling of the file...The way it is done currently has been deprecated for a long time and support will be removed in version 8 of sphinx.
This merge request also removes the handling of extra-intersphinx as it is an unused feature.
The handling of the file is done in such a way that it allows to included external dependencies when used only for documentation purpose however this is a limited list as shown in the implementation.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/89Pre commit update and cleanup2023-02-01T09:01:15ZSamuel GAISTPre commit update and cleanupThis merge request does an update of the pre-commit tools versions and applies the fixes for the newly found issues.This merge request does an update of the pre-commit tools versions and applies the fixes for the newly found issues.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/88Update pre commit2022-03-31T08:13:14ZSamuel GAISTUpdate pre commitThis should fix the current nightly build issue.This should fix the current nightly build issue.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/87Update database environment version2022-02-25T13:11:29ZSamuel GAISTUpdate database environment versionThey are still using 1.4.0 while version 1.4.1 has been released.They are still using 1.4.0 while version 1.4.1 has been released.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/86Use project based include rather than hardcoded path for CI2021-10-11T09:18:26ZSamuel GAISTUse project based include rather than hardcoded path for CISamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/85Update install commands to follow bob's guidelines2021-10-07T07:02:38ZSamuel GAISTUpdate install commands to follow bob's guidelinesThis makes the file more in line with the rest of the BEAT packages as well.This makes the file more in line with the rest of the BEAT packages as well.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/84Remove bob/beat-devel from test requirements2021-09-17T12:31:45ZSamuel GAISTRemove bob/beat-devel from test requirementsFollow BOB's removal of its -devel.Follow BOB's removal of its -devel.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/83Ignore version.txt for end of file fixing2021-04-15T13:36:45ZSamuel GAISTIgnore version.txt for end of file fixingThis file is modified automatically and thus will fail each time after a new release.This file is modified automatically and thus will fail each time after a new release.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/82Add pyproject.toml2021-04-09T10:13:33ZSamuel GAISTAdd pyproject.tomlThis follows bob packages new standardThis follows bob packages new standardhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/81Workaround multiprocess changes in macOS Python 3.82021-03-17T16:55:36ZSamuel GAISTWorkaround multiprocess changes in macOS Python 3.8The default implementation for the multiprocess
changed from fork to spawn on macOS with Python
3.8. This merge request forces the use of fork
for the tests on macOS. The runner will anyway
use Linux so taking more time to solve this
par...The default implementation for the multiprocess
changed from fork to spawn on macOS with Python
3.8. This merge request forces the use of fork
for the tests on macOS. The runner will anyway
use Linux so taking more time to solve this
particular issue would not make much sense.André AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/80Updates to Sphinx 3.2.x2020-11-10T07:51:44ZAndré AnjosUpdates to Sphinx 3.2.xI had to update `doc/conf.py` since an old flag we were using `autodoc_default_flags` is not supported anymore. The new one is `autodoc_default_options` (https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc...I had to update `doc/conf.py` since an old flag we were using `autodoc_default_flags` is not supported anymore. The new one is `autodoc_default_options` (https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_default_options). After activating it, we observed a few more issues related to double-documentation of attributes in some classes.
@amohammadi: there are some take-aways for Bob projects here as well.Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/79[conda] Standardize conda recipe2020-11-09T13:26:32ZAmir MOHAMMADI[conda] Standardize conda recipeAccording to https://www.idiap.ch/software/bob/docs/bob/bob.devtools/master/templates.html#conda-recipe
which was updated in https://gitlab.idiap.ch/bob/bob.devtools/-/merge_requests/185According to https://www.idiap.ch/software/bob/docs/bob/bob.devtools/master/templates.html#conda-recipe
which was updated in https://gitlab.idiap.ch/bob/bob.devtools/-/merge_requests/185Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/78Make all test databases root folder point to a valid location2020-11-09T09:21:39ZSamuel GAISTMake all test databases root folder point to a valid locationThis will allow the docker tests to more easily setup and
cleanup its content.
While the folder is not used as these databases are generative
only, docker will create it anyway as mounting a non-exisiting
folder will trigger its creatio...This will allow the docker tests to more easily setup and
cleanup its content.
While the folder is not used as these databases are generative
only, docker will create it anyway as mounting a non-exisiting
folder will trigger its creation with the daemon ownership
applied.André AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/76WIP: [dataformat] Initial implementation of interactive DataFormat2020-11-05T13:06:57ZAmir MOHAMMADIWIP: [dataformat] Initial implementation of interactive DataFormatRelated to #35Related to #35https://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/75Handle error the same way for all algorithm types on execution2020-07-08T15:29:37ZSamuel GAISTHandle error the same way for all algorithm types on executionCurrently sequential and autonomous algorithms are not treating
errors happening in the process method the same way. This result
in missing information coming back up through beat/beat.core>
This patch fixes this and also ensure that th...Currently sequential and autonomous algorithms are not treating
errors happening in the process method the same way. This result
in missing information coming back up through beat/beat.core>
This patch fixes this and also ensure that the outputs are
properly closed.
Fixes beat/beat.core#98Soft loopshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/77Pre commit cleanup2020-07-01T15:59:38ZSamuel GAISTPre commit cleanupThis merge request updates the pre-commit setup to match the one from beat/beat.editor> in terms of list of hooks to apply and provide the configuration of the new hooks as well.
Then all files have been passed through the full setup of...This merge request updates the pre-commit setup to match the one from beat/beat.editor> in terms of list of hooks to apply and provide the configuration of the new hooks as well.
Then all files have been passed through the full setup of hooks.
Commits have been split to have a grouped approach of the files having been cleaned.Soft loopshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/74Add helper property to get the environment configured for the database2020-06-25T14:10:07ZSamuel GAISTAdd helper property to get the environment configured for the databaseThis merge request add a helper property to retrieve the environment requested for the database
Part of beat/beat.core#64This merge request add a helper property to retrieve the environment requested for the database
Part of beat/beat.core#64Soft loopsFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/73Fixes a few warnings and depracations2020-06-18T14:43:55ZAmir MOHAMMADIFixes a few warnings and depracationsFixes the following warnings and depracations
```
beat.backend.python/beat/backend/python/data.py:414: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/amir/idiap/git/beat/livedet2020-iris-beat-demo/prefix/cache/23/86/05/ce9...Fixes the following warnings and depracations
```
beat.backend.python/beat/backend/python/data.py:414: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/amir/idiap/git/beat/livedet2020-iris-beat-demo/prefix/cache/23/86/05/ce9947508c178d11aaabb2affee908e38dd13d072d0a6e2c736b925254.0.34.data.checksum' mode='rt' encoding='UTF-8'>
expected_chksum = open(f_chck, "rt").read().strip()
beat.backend.python/beat/backend/python/baseformat.py:361: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
to_read = numpy.asscalar(dtype.itemsize*count)
beat.backend.python/beat/backend/python/baseformat.py:362: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
a = numpy.fromstring(fd.read(to_read), dtype=data_format, count=count)
```Samuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/72Update test execution environment to Python for tests2020-06-09T08:09:09ZSamuel GAISTUpdate test execution environment to Python for testsThis patch moves all the execution environment definition to the new one provided by beat/beat.env.builder>This patch moves all the execution environment definition to the new one provided by beat/beat.env.builder>Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/71Implement multiprocessing support for CachedDataSource2020-05-18T08:22:51ZSamuel GAISTImplement multiprocessing support for CachedDataSourceThis merge request implements support for pickling of DataLoader instances
and CachedDataSources.
This allows DataLoaders to be used in multiprocessing scenarios when the DataLoader instance is transferred using a queue.
Fixes #32This merge request implements support for pickling of DataLoader instances
and CachedDataSources.
This allows DataLoaders to be used in multiprocessing scenarios when the DataLoader instance is transferred using a queue.
Fixes #32Soft loopsAndré AnjosAndré Anjos