Apparetnly bug in conda skeleton pypi

0 views
Skip to first unread message

Chris Barker

unread,
Feb 19, 2015, 1:01:03 AM2/19/15
to conda
I'm trying to build a conda pacakge form a somethign pip installable, but am getting this error:

$ conda skeleton pypi Webhelpers2
Webhelpers2 not found, trying Webhelpers2
Downloading WebHelpers2 (use --no-download to skip this step)
Using cached download
Unpacking WebHelpers2...
done
working in /var/folders/7t/137hx7xn4s1fdqvjj1bhtdhskm0vyc/T/tmpbowCkDconda_skeleton_WebHelpers2-2.0.tar.gz
Fetching package metadata: .....

WARNING: conda-build appears to be out of date. You have version 1.9.1 but the
latest version is 1.10.2. Run

conda update -n root conda-build

to get the latest version.

Solving package specifications: .
Applying patch: '/var/folders/7t/137hx7xn4s1fdqvjj1bhtdhskm0vyc/T/tmpbowCkDconda_skeleton_WebHelpers2-2.0.tar.gz/pypi-distutils.patch'
patching file core.py
Hunk #1 succeeded at 169 with fuzz 2 (offset 2 lines).
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:


Include the output of the command 'conda info' in your report.


Traceback (most recent call last):
  File "/Users/chris.barker/anaconda/bin/conda-skeleton", line 5, in <module>
    sys.exit(main())
  File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_skeleton.py", line 131, in main
    args_func(args, p)
  File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_build.py", line 312, in args_func
    args.func(args, p)
  File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_skeleton.py", line 142, in execute
    pypi.main(args, parser)
  File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/pypi.py", line 372, in main
    get_package_metadata(args, package, d, data)
  File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/pypi.py", line 515, in get_package_metadata
    for dep in deptext.split('\n'):
AttributeError: 'list' object has no attribute 'split


**********
conda info here:

$ conda info
Current conda install:

             platform : osx-64
        conda version : 3.8.3
  conda-build version : 1.9.1
       python version : 2.7.9.final.0
     requests version : 2.5.1
     root environment : /Users/chris.barker/anaconda  (writable)
  default environment : /Users/chris.barker/anaconda/envs/py_gnome
     envs directories : /Users/chris.barker/anaconda/envs
        package cache : /Users/chris.barker/anaconda/pkgs
         channel URLs : http://conda.binstar.org/asmeurer/osx-64/
                        http://conda.binstar.org/NOAA-ORR-ERD/osx-64/
                        http://repo.continuum.io/pkgs/free/osx-64/
                        http://repo.continuum.io/pkgs/pro/osx-64/
          config file : /Users/chris.barker/.condarc
    is foreign system : False


No time to dig deeper now - but maybe a simple bug?

-Chris


--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris....@noaa.gov

Aaron Meurer

unread,
Feb 19, 2015, 2:51:19 PM2/19/15
to Chris Barker, conda
I pushed a fix.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "conda - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to conda+un...@continuum.io.
> To post to this group, send email to co...@continuum.io.
> Visit this group at http://groups.google.com/a/continuum.io/group/conda/.
Reply all
Reply to author
Forward
0 new messages