Skip to content

Commit

Permalink
plastid - fix using incompatible numpy (#15861)
Browse files Browse the repository at this point in the history
* plastid - fix using incompatible numpy

* plastid - added skip-lint deprecated_numpy_spec

* plastid: set max_pin for pysam

* Update meta.yaml
  • Loading branch information
lparsons authored and dpryan79 committed Jun 16, 2019
1 parent 4ad5aea commit e77e99a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions recipes/plastid/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ source:
patches:
- 0001-Simplify-get_short_name-regex.patch # Patch submitted upstream https://github.com/joshuagryphon/plastid/pull/30
build:
number: 4
number: 5

extra:
skip-lints:
- deprecated_numpy_spec # Later numpy causes issue: https://github.com/joshuagryphon/plastid/issues/18, remove skip-lint when fix released

requirements:
build:
Expand All @@ -31,8 +35,8 @@ requirements:
- zlib
run:
- python
- {{ pin_compatible('numpy') }}
- {{ pin_compatible('pysam') }}
- {{ pin_compatible('numpy', max_pin='x.x') }} # Later numpy causes issue: https://github.com/joshuagryphon/plastid/issues/18, remove max_pin when fix released
- {{ pin_compatible('pysam', max_pin='x.x.x') }}
- termcolor
- scipy >=0.15.1
- pandas >=0.17.0
Expand All @@ -59,6 +63,8 @@ test:
- reformat_transcripts -h
- findjuncs -h
- slidejuncs -h
# Later numpy causes issue: https://github.com/joshuagryphon/plastid/issues/18, remove this test when fix released
- python -c "exec(\"import numpy\ncounts = numpy.array([1,2,3])\ncounts.reshape((len(counts)/3,3))\")"

about:
home: http://plastid.readthedocs.io/en/latest/
Expand Down

0 comments on commit e77e99a

Please sign in to comment.