It's ok.

Until it is fixed upstream I think we should force 7.1.2 and just ignore the 
warning.

Alin.

> -----Mesaj original-----
> De la: Ben Pfaff [mailto:b...@ovn.org]
> Trimis: Thursday, January 21, 2016 2:16 AM
> Către: Alin Serdean <aserd...@cloudbasesolutions.com>
> Cc: dev@openvswitch.org
> Subiect: Re: [ovs-dev] python problems in Windows build--need help
> 
> [adding the list back, hope that's OK]
> 
> Is it better to ignore this problem or the first one where pip requests an
> upgrade?  Either way, can you suggest a patch to avoid the problem?
> 
> Thanks a lot,
> 
> Ben.
> 
> On Thu, Jan 21, 2016 at 12:05:45AM +0000, Alin Serdean wrote:
> > Hope this helps:
> >
> > It's a bug in pip. I tried the same thing on my environment same result.
> >
> > C:\Program Files (x86)\Microsoft Visual Studio
> > 12.0\VC\bin\x86_amd64>pip --version
> > c:\python27\lib\site-packages\pip\pep425tags.py:89: RuntimeWarning:
> Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
> >   warn=(impl == 'cp')):
> > c:\python27\lib\site-packages\pip\pep425tags.py:93: RuntimeWarning:
> > Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrec
> t
> >   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 incorr
> ect
> >   sys.version_info < (3, 3))) \
> > pip 8.0.0 from c:\python27\lib\site-packages (python 2.7)
> >
> > Ref: https://github.com/pypa/pip/issues/3383
> >
> > Alin.
> >
> > > -----Mesaj original-----
> > > De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ben Pfaff
> > > Trimis: Thursday, January 21, 2016 12:39 AM
> > > Către: dev@openvswitch.org
> > > Subiect: [ovs-dev] python problems in Windows build--need help
> > >
> > > 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
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to