We recently added a build requirement for the Python "six" library.
This isn't installed on appveyor by default, so it breaks.  No problem,
right--just add a command to install it.  So I added (see
https://ci.appveyor.com/project/blp/ovs-reviews/build/1.0.2):

    python -m pip install six

to appveyor.yml.  It failed with:

    python : You are using pip version 7.1.2, however version 8.0.0 is 
available.
    At line:15 char:1
    + python -m pip install six
    + ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (You are using p...0 is available.:String) 
[], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    You should consider upgrading via the 'python -m pip install --upgrade pip' 
command.



    Command executed with exception: You should consider upgrading via the 
'python -m pip install --upgrade pip' command.

OK, so I also added the recommended upgrade command.  But now there's
just a huge WTF error message (see
https://ci.appveyor.com/project/blp/ovs-reviews/build/1.0.4):

    python : C:\Python27\lib\site-packages\pip\pep425tags.py:89: 
RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be 
incorrect
    At line:16 char:1
    + python -m pip install six
    + ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (C:\Python27\lib...ay be incorrect:String) 
[], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    warn=(impl == 'cp')):
    C:\Python27\lib\site-packages\pip\pep425tags.py:93: RuntimeWarning: Config 
variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
    warn=(impl == 'cp')):
    C:\Python27\lib\site-packages\pip\pep425tags.py:99: RuntimeWarning: Config 
variable 'Py_UNICODE_SIZE' is unset, Python ABI tag may be incorrect
    sys.version_info < (3, 3))) \



    Command executed with exception: warn=(impl == 'cp')):
    C:\Python27\lib\site-packages\pip\pep425tags.py:93: RuntimeWarning: Config 
variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
    warn=(impl == 'cp')):
    C:\Python27\lib\site-packages\pip\pep425tags.py:99: RuntimeWarning: Config 
variable 'Py_UNICODE_SIZE' is unset, Python ABI tag may be incorrect
    sys.version_info < (3, 3))) \

Like I said, WTF, I have no idea about WITH_PYMALLOC or Py_UNICODE_SIZE
or any of this stuff, and I really don't know if this is Python or Pip
or Windows or appveyor.

Help?

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to