Commit 3dfdd74c authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Remove unused or developer only packages

removed aniso8601
removed aspy.yaml
removed cfgv
removed cyvlfeat
removed identify
removed importlib-resources
removed ipdb
removed kaldi
removed kaldi/conda
removed menp
removed menpo/fix-test-io
removed menpo
removed menpofit
removed mne
removed mr.developer
removed nodeenv
removed openfst
removed pre-commit
removed pyedflib
removed speex
removed speexdsp
parent 2a700d58
Pipeline #44575 canceled with stage
in 2 minutes and 32 seconds
{% set name = "aniso8601" %}
{% set version = "4.0.1" %}
{% set sha256 = "e7560de91bf00baa712b2550a2fdebf0188c5fce2fcd1162fbac75c19bb29c95" %}
package:
name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 1
script: python -m pip install --no-deps --ignore-installed .
requirements:
build:
- pip
- python
- setuptools
run:
- python
- python-dateutil
test:
imports:
- aniso8601
about:
home: https://bitbucket.org/nielsenb/aniso8601
license: BSD 3-Clause
summary: A library for parsing ISO 8601 strings.
extra:
recipe-maintainers:
- anjos
{% set name = "aspy.yaml" %}
{% set version = "1.1.1" %}
{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "0a77e23fafe7b242068ffc0252cee130d3e509040908fc678d9d1060e7494baa" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'
source:
fn: '{{ name }}-{{ version }}.{{ file_ext }}'
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
'{{ hash_type }}': '{{ hash_value }}'
build:
number: 1
entry_points:
- identify-cli=identify.cli:main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- pip
- python
- setuptools
run:
- python
- pyyaml
test:
imports:
- aspy
- aspy.yaml
about:
home: https://github.com/asottile/aspy.yaml
license: MIT
license_family: MIT
summary: A few extensions to pyyaml.
extra:
recipe-maintainers: sgaist
......@@ -24,43 +24,32 @@ requirements:
# Dependency list of bob packages. Everything is pinned to allow for better
# reproducibility.
- boost 1.67.0
- caffe 1.0 # [linux]
- click 7.1.1
- click-plugins 1.1.1
- cmake 3.14.0
- coverage 5.0
- cyvlfeat 0.5.1
- docopt 0.6.2
# to make sure we get ffmpeg from our own channel which has more codecs
- ffmpeg 4.0 hadceb68_1 # [linux]
- ffmpeg 4.0 h2047f9e_1 # [osx]
- ffmpeg 4.2
- freetype 2.9.1
- giflib 5.1.4
- h5py 2.8.0
- hdf5 1.10.2
- jinja2 2.11.1
- jpeg 9b
- kaldi 5.5.164 # [linux]
- libblitz 1.0.1
- libmatio 1.5.17
- libogg 1.3.2
- libpng 1.6.37
- libsvm 3.24
- libtiff 4.1.0
- matplotlib 3.1.3
- menpo 0.9.2
- menpofit 0.6.1
- mkl 2019.4
- mne 0.18.1
- mr.developer 2.0.0
- nose 1.3.7
- numpy 1.18.1
- opencv 3.4.2
- pillow 6.2.1
- pkg-config 0.29.2
- pyedflib 0.1.14
- cudatoolkit 10.0 # [linux]
- pandas 1.0.3
- pybind11 2.4.3
- pytorch 1.3.1
- pyyaml 5.3.1
- requests 2.23.0
......@@ -77,7 +66,7 @@ requirements:
- sqlalchemy 1.3.15
- tabulate 0.8.3
- tensorflow 1.15.0
- torchvision 0.4.2 # [linux]
- torchvision 0.4.2
- tqdm 4.43.0
- vlfeat 0.9.21
- zc.buildout 2.13.3
......@@ -87,8 +76,6 @@ requirements:
- termcolor 1.1.0
- psycopg2 2.8.4
# semi-supported dependencies (drop them if they conflict):
- dlib 19.7
- pybind11 2.4.3
run:
- python
run_constrained:
......@@ -102,8 +89,8 @@ test:
requires:
- numpy
- ffmpeg
- pytorch # [linux]
- torchvision # [linux]
- pytorch
- torchvision
commands:
# we expect these features from ffmpeg:
- ffmpeg -codecs | grep "DEVI.S zlib" # [unix]
......
{% set name = "cfgv" %}
{% set version = "1.4.0" %}
{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "39d9055c47e3932908fe25abd5807e21dc002630db01c7a5f05738d027e2b706" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'
source:
fn: '{{ name }}-{{ version }}.{{ file_ext }}'
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
'{{ hash_type }}': '{{ hash_value }}'
build:
number: 1
entry_points:
- identify-cli=identify.cli:main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- pip
- python
build:
- six
run:
- python
- six
test:
imports:
- cfgv
about:
home: https://github.com/asottile/cfgv
license: MIT
license_family: MIT
summary: Validate configuration and produce human readable error messages.
extra:
recipe-maintainers: sgaist
"%PYTHON%" setup.py install --single-version-externally-managed --record=%TEMP%record.txt
if errorlevel 1 exit 1
#!/bin/sh
if [ "$(uname)" == "Linux" ]; then
CFLAGS="${CFLAGS} -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib -lvl -Wl,-rpath=${CONDA_PREFIX}/lib "
else
CFLAGS="${CFLAGS} -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib -lvl "
fi
"$PYTHON" setup.py install --single-version-externally-managed --record=record.txt
if [ "$(uname -s)" == "Darwin" ]; then
# For some reason Cython refuses to generate @rpath/vlfeat.dylib - so
# we manually do it here
find $SP_DIR/cyvlfeat -name "*.so" -print0 | while read -d $'\0' file
do
install_name_tool -change @loader_path/libvl.dylib @rpath/libvl.dylib $file
done
fi
This diff is collapsed.
{% set name = "cyvlfeat" %}
{% set version = "0.5.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
git_rev: v{{ version }}
git_url: https://github.com/menpo/{{ name }}.git
build:
number: 2
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python
- setuptools {{ setuptools }}
- cython {{ cython }}
- numpy {{ numpy }}
- vlfeat {{ vlfeat }}
run:
- python
- {{ pin_compatible('numpy') }}
test:
requires:
- nose
- pytest
- coverage
imports:
- {{ name }}.sift.sift
- {{ name }}.sift.dsift
- {{ name }}.fisher.fisher
- {{ name }}.hog.hog
- {{ name }}.kmeans.kmeans
- {{ name }}.generic.generic
commands:
- nosetests {{ name }} -v --cover-package={{ name }}
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
about:
home: https://github.com/menpo/{{ name }}/
summary: A thin Cython wrapper around select areas of vlfeat
license: BSD
extra:
recipe-maintainers:
- anjos
{% set name = "identify" %}
{% set version = "1.1.8" %}
{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "08826e68e39e7de53cc2ddd8f6228a4e463b4bacb20565e5301c3ec690e68d27" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'
source:
fn: '{{ name }}-{{ version }}.{{ file_ext }}'
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
'{{ hash_type }}': '{{ hash_value }}'
build:
number: 1
entry_points:
- identify-cli=identify.cli:main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- pip
- python
run:
- python
test:
imports:
- identify
commands:
- identify-cli --help
about:
home: https://github.com/chriskuehl/identify
license: MIT
license_family: MIT
summary: File identification library for Python
extra:
recipe-maintainers: sgaist
{% set name = "importlib_resources" %}
{% set version = "1.0.2" %}
{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'
source:
fn: '{{ name }}-{{ version }}.{{ file_ext }}'
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
'{{ hash_type }}': '{{ hash_value }}'
build:
number: 1
entry_points:
- pre-commit = pre_commit.main:main
- pre-commit-validate-config = pre_commit.clientlib:validate_config_main
- pre-commit-validate-manifest = pre_commit.clientlib:validate_manifest_main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- pip
- python
run:
- python
test:
imports:
- importlib_resources
about:
home: https://gitlab.com/python-devs/importlib_resources
license: Apache Software
license_family: APACHE
summary: a backport of Python 3.7’s standard library importlib.resources module for Python 2.7, and 3.4 through 3.6
doc_url: http://importlib_resources.readthedocs.io/
extra:
recipe-maintainers: sgaist
{% set name = "ipdb" %}
{% set version = "0.13.3" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: d6f46d261c45a65e65a2f7ec69288a1c511e16206edb2875e7ec6b2f66997e78
build:
number: 1
entry_points:
- ipdb3 = ipdb.__main__:main
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- pip
- python
- setuptools
- ipython >=5.1.0
run:
- python
- ipython >=5.1.0
test:
imports:
- ipdb
commands:
- ipdb3 --help
about:
home: "https://github.com/gotcha/ipdb"
license: BSD
license_family: BSD
summary: "IPython-enabled pdb"
extra:
recipe-maintainers:
- anjos
- amohammadi
#! /usr/bin/env bash
pushd src
# ./configure --shared --mathlib=OPENBLAS --openblas-root=${PREFIX} --fst-root=${PREFIX} --fst-version=${openfst} --speex-root=${PREFIX} --use-cuda=no
./configure --shared --mathlib=MKL --mkl-root=${PREFIX} --mkl-libdir=${PREFIX}/lib --fst-root=${PREFIX} --fst-version=${openfst} --speex-root=${PREFIX} --use-cuda=no
make -j ${CPU_COUNT}
# Move binaries
find . -type f -perm /u=x,g=x,o=x -regex '.*bin/.*' -exec cp {} ${PREFIX}/bin \;
popd
This diff is collapsed.
{% set name = "kaldi" %}
{% set version = "5.5.164" %}
{% set git_rev = "ca32c4e2bd77544c4ad4aa0bba25f0b812ea1a61" %}
package:
name: {{ name }}
version: {{ version }}
source:
git_url: https://github.com/kaldi-asr/kaldi.git
git_rev: {{ git_rev }}
patches:
- conda-kaldi.patch
build:
number: 0
skip: True # [not linux]
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- openfst {{ openfst }}
- speex {{ speex }}
- mkl-devel {{ mkl }} # [blas_impl == 'mkl']
- openblas-devel {{ openblas }} # [blas_impl == 'openblas']
- nomkl # [blas_impl == 'openblas']
test:
commands:
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
about:
home: http://kaldi-asr.org/
license: Apache-2.0
license_file: COPYING
summary: 'Kaldi is a toolkit for speech recognition written in C++.'
description: |
Kaldi is intended for use by speech recognition researchers. It is a framework rather than a library.
doc_url: http://kaldi-asr.org/doc
dev_url: http://kaldi-asr.org/forums.html
extra:
recipe-maintainers:
- amohammadi
This diff is collapsed.
[run]
branch=True
source=menpo
omit =
*/visualize/*
*/_version.*
[report]
exclude_lines =
raise NotImplementedError
ignore_errors=True
diff --git a/menpo/io/test/test_io_export.py b/menpo/io/test/test_io_export.py
index 52413ca3..4059ae07 100644
--- a/menpo/io/test/test_io_export.py
+++ b/menpo/io/test/test_io_export.py
@@ -271,7 +271,7 @@ def test_export_video_avi_gray_first_mixed(exists, pipe):
warnings.simplefilter("always")
mio.export_video([test_img, colour_test_img], fake_path,
extension='avi')
- assert len(w) == 1
+ assert len(w) > 0
assert pipe.return_value.stdin.write.call_count == 2
assert 'gray8' in pipe.call_args[0][0]
@@ -301,7 +301,7 @@ def test_export_video_avi_shape_mismatch(exists, pipe):
warnings.simplefilter("always")
mio.export_video([test_img.resize([150, 100]), test_img], fake_path,
extension='avi')
- assert len(w) == 1
+ assert len(w) > 0
assert 'gray8' in pipe.call_args[0][0]
{% set name = "menpo" %}
{% set version = "0.9.2" %}
package:
name: {{ name }}
version: {{ version }}
source:
git_rev: v{{ version }}
git_url: https://github.com/menpo/menpo.git
patches:
- fix-test-io-export.patch
build:
number: 1
script: python setup.py install --single-version-externally-managed --record=record.txt
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python
- setuptools
- numpy {{ numpy }}
- cython {{ cython }}
- ffmpeg {{ ffmpeg }}
run:
- python
- {{ pin_compatible('pathlib', max_pin='x.x', min_pin='x.x') }} # [py2k]
- {{ pin_compatible('numpy') }}
# Scientific Python Stack
- scipy >=1.0
- pillow >=4.0
# Features
- cyvlfeat >=0.5,<0.6
# Visualization
- matplotlib >=3.0
test:
requires:
- nose
- coverage
- pytest >=5.0
- mock >=3.0
files:
- .coveragerc
imports:
- {{ name }}
commands:
- nosetests -v --exclude=".*test_labels.*" {{ name }}
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
about:
home: https://github.com/menpo/menpo/
summary: A statistical modelling toolkit, providing all the tools required to build, fit, visualize, and test deformable models.
license: BSD
extra:
recipe-maintainers:
- anjos
{% set name = "menpofit" %}
{% set version = "0.6.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
git_rev: v{{ version }}
git_url: https://github.com/menpo/{{ name }}.git
build:
number: 3
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- menpo >=0.9,<0.11
- scikit-learn >=0.16
- pandas >=0.24
test:
requires:
- nose
- pytest >=5.0
- mock >=3.0
imports:
- {{ name }}
commands:
- nosetests -v {{ name }}
about:
home: https://github.com/menpo/{{ name }}/
license: BSD
{% set version = "0.18.1" %}
package:
name: mne
version: {{ version }}
source:
git_url: https://github.com/mne-tools/mne-python.git
git_rev: v{{ version }}
build:
number: 1
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- numpy >=1.11.3
- scipy >=0.17.1
- matplotlib >=1.5
- scikit-learn >=0.18
- pandas >=0.18
test:
imports:
- mne
commands:
- mne
about:
home: https://github.com/mne-tools/mne-python/
summary: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python
license: BSD (3-clause)
extra:
recipe-maintainers:
- anjos
{% set version = "2.0.0" %}
package:
name: mr.developer
version: {{ version }}
source:
fn: mr.developer-{{ version }}.tar.gz
url: https://pypi.io/packages/source/m/mr.developer/mr.developer-{{ version }}.tar.gz
sha256: 76e5db1b7d8a4a324049d7529c02312dc2b6b267b5113ab326d112bdd71cf445
build:
number: 1
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
- zc.buildout >=1.2.0
run:
- python
- setuptools
- six
- zc.buildout >=1.2.0
test:
imports:
- mr
- mr.developer
about:
home: https://github.com/fschulze/mr.developer/
license: BSD
summary: 'A zc.buildout extension to ease the development of large projects with lots of packages'
{% set name = "nodeenv" %}
{% set version = "1.3.3" %}
{% set file_ext = "tar.gz" %}
{% set hash_type = "sha256" %}
{% set hash_value = "ad8259494cf1c9034539f6cced78a1da4840a4b157e23640bc4a0c0546b0cb7a" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'