bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2022-12-16T17:33:32Zhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/89Switch to new CI/CD configuration2022-12-16T17:33:32ZYannick DAYERSwitch to new CI/CD configurationWe need to adapt this package to the new CI/CD and package format using citools:
- [x] Modify `pyproject.toml`:
- [x] Add information from `setup.py`,
- [x] Add version from `version.txt`,
- [x] Add requirements from `requir...We need to adapt this package to the new CI/CD and package format using citools:
- [x] Modify `pyproject.toml`:
- [x] Add information from `setup.py`,
- [x] Add version from `version.txt`,
- [x] Add requirements from `requirements.txt` and `conda/meta.yaml`,
- [x] Empty `setup.py`:
- Leave the call to `setup()` for compatibility,
- [x] Remove `version.txt`,
- [x] Remove `requirements.txt`,
- [x] Modify `conda/meta.yaml`,
- [x] Import data from `pyproject.toml` (`name`, `version`, ...),
- [x] Add the `source.path` field with value `..`,
- [x] Add the `build.noarch` field with value `python`,
- [x] Edit the `build.script` to only contain `"{{ PYTHON }} -m pip install {{ SRC_DIR }} -vv"`,
- [x] Remove test and documentation commands and comments,
- [x] Modify `.gitlab-ci.yml` to point to citools' `python.yml`,
- Use the fields format instead of the URL,
- [x] Move files to follow the `src` layout:
- [x] the whole `bob` folder to `src/bob/`,
- [x] all the tests in `tests/`,
- [x] the test data files in `tests/data`,
- [x] Edit the tests to load the data correctly, either with `os.path.join(os.path.basename(__file__), "data/xxx.txt")` or `pkg_resources.resource_filename(__name__, "data/xxx.txt")`,
- [x] Activate the `packages` option in `settings -> general -> visibility` in the Gitlab project,
- [x] Edit the latest doc badges to point to the `sphinx` directory in `doc/[...]/master`:
- [x] in README.md,
- [x] in the GitLab project settings,
- [x] Edit the coverage badges to point to the doc's coverage directory:
- [x] in README.md,
- [x] in the GitLab project settings,
- [ ] Ensure the CI pipeline passes.
You can look at [bob.learn.em](https://gitlab.idiap.ch/bob/bob.learn.em) for an example of a ported package.Roadmap to the major version of Bob 12https://gitlab.idiap.ch/bob/bob.bio.base/-/issues/188Switch to new CI/CD configuration2022-11-10T10:11:48ZYannick DAYERSwitch to new CI/CD configurationWe need to adapt this package to the new CI/CD and package format using citools:
- [x] Modify `pyproject.toml`:
- [x] Add information from `setup.py`,
- [x] Add version from `version.txt`,
- [x] Add requirements from `requir...We need to adapt this package to the new CI/CD and package format using citools:
- [x] Modify `pyproject.toml`:
- [x] Add information from `setup.py`,
- [x] Add version from `version.txt`,
- [x] Add requirements from `requirements.txt` and `conda/meta.yaml`,
- [x] Empty `setup.py`:
- Leave the call to `setup()` for compatibility,
- [x] Remove `version.txt`,
- [ ] Put the `requirements.txt` content inside `extra-intersphinx.txt`
- [x] Remove `requirements.txt`,
- [x] Modify `conda/meta.yaml`,
- [x] Import data from `pyproject.toml` (`name`, `version`, ...),
- [x] Add the `source.path` field with value `..`,
- [x] Add the `build.noarch` field with value `python`,
- [x] Edit the `build.script` to only contain `"{{ PYTHON }} -m pip install {{ SRC_DIR }} -vv"`,
- [x] Remove test and documentation commands and comments,
- [x] Modify `.gitlab-ci.yml` to point to citools' `python.yml`,
- Use the fields format instead of the URL,
- [x] Move files to follow the `src` layout:
- [x] the whole `bob` folder to `src/bob/`,
- [x] all the tests in `tests/`,
- [x] the test data files in `tests/data`,
- [x] Edit the tests to load the data correctly, either with `os.path.join(os.path.basename(__file__), "data/xxx.txt")` or `pkg_resources.resource_filename(__name__, "data/xxx.txt")`,
- [x] Activate the `packages` option in `settings -> general -> visibility` in the Gitlab project,
- [x] Edit the latest doc badges to point to the `sphinx` directory in `doc/[...]/master`:
- [x] in README.md,
- [x] in the GitLab project settings,
- [x] Edit the coverage badges to point to the doc's coverage directory:
- [x] in README.md,
- [x] in the GitLab project settings,
- [ ] Ensure the CI pipeline passes.
You can look at [bob.learn.em](https://gitlab.idiap.ch/bob/bob.learn.em) for an example of a ported package.Roadmap to the major version of Bob 12André MAYORAZAndré MAYORAZhttps://gitlab.idiap.ch/bob/bob.learn.em/-/issues/46Using ci-tools instead of bob devtools for the CI - process investigation2022-10-17T09:03:48ZFlavio TARSETTIUsing ci-tools instead of bob devtools for the CI - process investigationThis issue is to investigate the overall process of migrating a bob core package to `citools` instead of `bob.devtools`
The changes conducted to close this issue will help us understand what needs to be done for the other packages.This issue is to investigate the overall process of migrating a bob core package to `citools` instead of `bob.devtools`
The changes conducted to close this issue will help us understand what needs to be done for the other packages.Roadmap to the major version of Bob 12André MAYORAZAndré MAYORAZhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/108Update sphinx version to match the one available on conda-forge2022-09-02T10:43:52ZFlavio TARSETTIUpdate sphinx version to match the one available on conda-forgeThe sphinx version needs to be updated to match the version on conda-forge.
Request from @smichelThe sphinx version needs to be updated to match the version on conda-forge.
Request from @smichelRoadmap to the major version of Bob 12Flavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/bob/bob/-/issues/273Issues to take care of before release2022-06-10T11:33:30ZAmir MOHAMMADIIssues to take care of before release- [ ] at the end of many pages e.g. https://www.idiap.ch/software/bob/docs/bob/docs/master/bob/bob.bio.spear/README.html there is a contact section with "For questions or reporting issues to this software package, contact our development...- [ ] at the end of many pages e.g. https://www.idiap.ch/software/bob/docs/bob/docs/master/bob/bob.bio.spear/README.html there is a contact section with "For questions or reporting issues to this software package, contact our development mailing list." pointing to https://groups.google.com/g/bob-devel -- isn't it a bit misleading since we are asking people to ask questions on stackoverflow https://stackoverflow.com/questions/tagged/python-bob ?
- [ ] bob.extension is still called a C++ extension package and the documentation needs to be revisited. Most of the useful docs for development should move to bob/bob.devtools
- [x] The tutorial in bob/docs is gone and we need a new one. The other pages need to be revised.
- [ ] bob/bob.bio.base documentation on creating csv datasets is not complete
- [ ] bob/bob.bio.base documentation on legacy should be removed
- [ ] bob/bob.bio.spear documentation and leaderboard needs updating
- [ ] bob/bob.bio.face leaderboard needs updating
- [ ] bob/bob.pad.face needs new baselines. the package is empty as of now.
- [ ] bob/bob.pad.face needs new documentation after baselines have changed.
- [x] bob/bob.bio.vein still uses nosetests instead of pytest
- [ ] bob/bob.devtools we need to command to install all packages inside `bob-devel`. That is creating a conda env with all bob dependencies and without bob packages.
- [x] Check the entry points of all packages (check which ones).The Great Deprecationhttps://gitlab.idiap.ch/bob/bob.learn.em/-/issues/45ISV dask implementation is not efficient and workers run out of memory2022-05-09T13:00:47ZAmir MOHAMMADIISV dask implementation is not efficient and workers run out of memoryThe Great DeprecationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.spear/-/issues/40Re-implement i-vector and plda2022-04-27T20:16:19ZAmir MOHAMMADIRe-implement i-vector and pldadepends on https://gitlab.idiap.ch/bob/bob.learn.em/-/issues/44depends on https://gitlab.idiap.ch/bob/bob.learn.em/-/issues/44The Great DeprecationYannick DAYERYannick DAYERhttps://gitlab.idiap.ch/bob/bob.learn.em/-/issues/44Re-implement i-vector and plda2022-04-27T20:16:20ZAmir MOHAMMADIRe-implement i-vector and pldaThe Great DeprecationTiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/45Quality measure Python implementation2022-06-03T15:09:41ZAmir MOHAMMADIQuality measure Python implementationAlso code needs to be re-written to run fast.Also code needs to be re-written to run fast.The Great Deprecationhttps://gitlab.idiap.ch/bob/bob.bio.base/-/issues/181re-enable cllr tests2022-05-12T13:36:23ZAmir MOHAMMADIre-enable cllr testsafter https://gitlab.idiap.ch/bob/bob.measure/-/issues/67 is resolved
by reverting https://gitlab.idiap.ch/bob/bob.bio.base/-/commit/7bee57cbfd1e98b2bc4f6e0044eeb178fdf766b4after https://gitlab.idiap.ch/bob/bob.measure/-/issues/67 is resolved
by reverting https://gitlab.idiap.ch/bob/bob.bio.base/-/commit/7bee57cbfd1e98b2bc4f6e0044eeb178fdf766b4The Great Deprecationhttps://gitlab.idiap.ch/bob/bob.measure/-/issues/67rocch and calibration implementations are missing2022-05-12T13:36:56ZAmir MOHAMMADIrocch and calibration implementations are missingsince we removed bob.math in https://gitlab.idiap.ch/bob/bob.measure/-/merge_requests/106since we removed bob.math in https://gitlab.idiap.ch/bob/bob.measure/-/merge_requests/106The Great Deprecationhttps://gitlab.idiap.ch/bob/bob.io.base/-/issues/23Drop ALL C++ code from this code.2022-04-25T15:23:49ZTiago de Freitas PereiraDrop ALL C++ code from this code.This package (**in practical terms, which means the features we use the most**) has three base functionalities.
1. With the support of `bob.io.image` it reads and writes images (bob.io.base.load and bob.io.base.save)
2. Reads and writes...This package (**in practical terms, which means the features we use the most**) has three base functionalities.
1. With the support of `bob.io.image` it reads and writes images (bob.io.base.load and bob.io.base.save)
2. Reads and writes HDF5 files with matrices with the command `bob.io.base.load` and `bob.io.base.save`.
3. Support to read and write complex HD5 files
I'll rewire the bob.io.base API to
1. use imageio for reading and writing image formats (solving 1);
2. use h5py for reading and writing hdf5 files (solving 2);
3. rewrite pieces of code that use the complex HD5 files using h5py (solving issue 3).
Sounds reasonable enough?
ping @amohammadi @ydayer @flavio.tarsetti @mguenther @lcolboisThe Great Deprecationhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/78Remove C++ code from our side2022-04-27T20:12:46ZTiago de Freitas PereiraRemove C++ code from our sideAs part of the milestone "The Great Deprecation ": https://gitlab.idiap.ch/groups/bob/-/milestones/4#tab-issues, we intend to remove from the bob "umbrella" some C++ dependencies we maintain.
With this we expect an easier maintenance an...As part of the milestone "The Great Deprecation ": https://gitlab.idiap.ch/groups/bob/-/milestones/4#tab-issues, we intend to remove from the bob "umbrella" some C++ dependencies we maintain.
With this we expect an easier maintenance and release cycle
We need to remove from this package traces of
- [x] bob.ip.gabor
- [x] bob.ip.base
- [x] bob.blitz
- [x] bob.core
ping @mguenther, @amohammadi, @flavio.tarsetti, @ydayer, @andre.anjosThe Great Deprecationhttps://gitlab.idiap.ch/bob/bob.pad.base/-/issues/41Drop gridtk dependency2022-03-24T14:45:45ZAmir MOHAMMADIDrop gridtk dependencyThe Great DeprecationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.db.base/-/issues/28Deprecate this package2022-04-27T20:13:01ZAmir MOHAMMADIDeprecate this packageThere is only `bob.db.atnt` left, after that, we can deprecate this package.There is only `bob.db.atnt` left, after that, we can deprecate this package.The Great Deprecationhttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/42Job Failed #2477962022-02-22T17:55:06ZAmir MOHAMMADIJob Failed #247796Job [#247796](https://gitlab.idiap.ch/bob/nightlies/-/jobs/247796) failed for 36b8adb9f36c2610132f0f90600063379d15a620:
```
Warning, treated as error:
/scratch/builds/bob/nightlies/miniconda/conda-bld/bob.pad.face_1634852412497/_test_env...Job [#247796](https://gitlab.idiap.ch/bob/nightlies/-/jobs/247796) failed for 36b8adb9f36c2610132f0f90600063379d15a620:
```
Warning, treated as error:
/scratch/builds/bob/nightlies/miniconda/conda-bld/bob.pad.face_1634852412497/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/bob/pad/face/config/replay_mobile.py:docstring of bob.pad.face.config.replay_mobile:13:circular inclusion in "include" directive: ../../../../src/bob/bob.pad.face/doc/links.rst < ../../../../src/bob/bob.pad.face/doc/links.rst < ../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/bob/pad/face/config/replay_attack.py:docstring of bob.pad.face.config.replay_attack
```Conda-forge migrationhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/65Citation [WLW04] is not referenced.2021-10-29T19:43:58ZAmir MOHAMMADICitation [WLW04] is not referenced.```
Warning, treated as error:
/scratch/builds/bob/nightlies/src/bob/bob.bio.face/doc/references.rst:15:Citation [WLW04] is not referenced.
```
from https://gitlab.idiap.ch/bob/nightlies/-/jobs/247694```
Warning, treated as error:
/scratch/builds/bob/nightlies/src/bob/bob.bio.face/doc/references.rst:15:Citation [WLW04] is not referenced.
```
from https://gitlab.idiap.ch/bob/nightlies/-/jobs/247694Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.pipelines/-/issues/36Job Failed #2473682021-10-18T15:42:20ZAmir MOHAMMADIJob Failed #247368Job [#247368](https://gitlab.idiap.ch/bob/bob.pipelines/-/jobs/247368) failed for 3dab034b96d96a9f95435639b9c892171fb50ac4:
```
+ sphinx-build -aEW /scratch/builds/bob/bob.pipelines/conda/../doc /scratch/builds/bob/bob.pipelines/conda/....Job [#247368](https://gitlab.idiap.ch/bob/bob.pipelines/-/jobs/247368) failed for 3dab034b96d96a9f95435639b9c892171fb50ac4:
```
+ sphinx-build -aEW /scratch/builds/bob/bob.pipelines/conda/../doc /scratch/builds/bob/bob.pipelines/conda/../sphinx
Running Sphinx v4.2.0
Adding intersphinx source for `python': https://docs.python.org/3.8/
Adding intersphinx source for `numpy': https://numpy.org/doc/1.21/
Adding intersphinx source for `setuptools': https://setuptools.readthedocs.io/en/latest/
Adding intersphinx source for `scikit-learn': https://scikit-learn.org/stable/
Adding intersphinx source for `dask': https://docs.dask.org/en/latest/
Adding intersphinx source for `dask-jobqueue': https://jobqueue.dask.org/en/latest/
Adding intersphinx source for `distributed': https://distributed.dask.org/en/latest/
Adding intersphinx source for `xarray': https://xarray.pydata.org/en/stable/
Found documentation for bob.extension on http://www.idiap.ch/software/bob/docs/bob/bob.extension/master/; adding intersphinx source
Found documentation for bob.io.base on http://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/; adding intersphinx source
Found documentation for bob.db.base on http://www.idiap.ch/software/bob/docs/bob/bob.db.base/master/; adding intersphinx source
[autosummary] generating autosummary for: checkpoint.rst, dask.rst, index.rst, py_api.rst, sample.rst, xarray.rst
loading intersphinx inventory from https://docs.python.org/3.8/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/1.21/objects.inv...
loading intersphinx inventory from https://setuptools.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://scikit-learn.org/stable/objects.inv...
loading intersphinx inventory from https://docs.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://jobqueue.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://distributed.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://xarray.pydata.org/en/stable/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.extension/master/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.db.base/master/objects.inv...
intersphinx inventory has moved: https://setuptools.readthedocs.io/en/latest/objects.inv -> https://setuptools.pypa.io/en/latest/objects.inv
building [mo]: all of 0 po files
building [html]: all source files
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 16%] checkpoint
reading sources... [ 33%] dask
reading sources... [ 50%] index
reading sources... [ 66%] py_api
reading sources... [ 83%] sample
reading sources... [100%] xarray
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 16%] checkpoint
writing output... [ 33%] dask
writing output... [ 50%] index
writing output... [ 66%] py_api
writing output... [ 83%] sample
writing output... [100%] xarray
Warning, treated as error:
/scratch/builds/bob/bob.pipelines/doc/dask.rst:101:unknown document: dask:setup/adaptive
```Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.video/-/issues/21ERROR: bob.bio.video.test.test_databases.test_new_youtube2021-10-29T15:34:57ZAmir MOHAMMADIERROR: bob.bio.video.test.test_databases.test_new_youtubeSee: https://gitlab.idiap.ch/bob/nightlies/-/jobs/247320
```
======================================================================
ERROR: bob.bio.video.test.test_databases.test_new_youtube
-----------------------------------------------...See: https://gitlab.idiap.ch/bob/nightlies/-/jobs/247320
```
======================================================================
ERROR: bob.bio.video.test.test_databases.test_new_youtube
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/test/test_databases.py", line 14, in test_new_youtube
references = database.references()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 269, in references
sampleset = self._make_sample_set(reference_id, suject_id, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 185, in _make_sample_set
path = os.path.join(self.original_directory, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
-------------------- >> begin captured logging << --------------------
bob.bio.video.database.youtube: WARNING: Invalid or non existant `original_directory`: f{original_directory}.Please, do `bob config set bob.bio.face.lfw.directory PATH` to set the LFW data directory.
bob.extension.download: INFO: Downloading ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz
bob.extension.download: WARNING: Could not download from the https://www.idiap.ch/software/bob/databases/latest/youtube_protocols-6962cd2e.tar.gz url
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1425, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 116, in download_file_from_possible_urls
download_file(url, out_file)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 93, in download_file
with urlopen(url) as response:
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)>
bob.extension.download: INFO: Untar/gzip in ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz
```Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/64Tests are failing after bob.ip.base modifications2021-10-29T19:43:58ZAmir MOHAMMADITests are failing after bob.ip.base modificationshttps://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/247103
```
=================================== FAILURES ===================================
___________________________________ test_SQI ___________________________________
def test_SQ...https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/247103
```
=================================== FAILURES ===================================
___________________________________ test_SQI ___________________________________
def test_SQI():
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_picklability.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError
___________________________________ test_sqi ___________________________________
def test_sqi():
# read input
image, annotation = _image(), _annotation()
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_preprocessors.py:310:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError
```Conda-forge migrationTiago de Freitas PereiraTiago de Freitas Pereira