Re: Your package doesn't build with Python 3.7

2018-07-09 Thread Sérgio Basto
On Sat, 2018-07-07 at 10:09 -0700, Tim Orling wrote:
> https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/
> 
> See:
> https://copr.fedorainfracloud.org/coprs/ttorling/pystatgrab/
> 
> (I didn’t try to build any other architectures on copr)

Thanks it works 


> On Sat, Jul 7, 2018 at 10:06 AM Sergio  wrote:
> > What you add to rawhide repos ? We still haven't composes of
> > rawhide with python 3.7 . Please and thanks 
> > 
> > Sent from my Android
> > 
> > Em 06/07/2018 9:55 da tarde, Tim Orling 
> > escreveu:
> > > Fixed pystatgrab.python3.7 on copr worked fine for me, with your
> > > suggestion of adding the rawhide repo
> > > 
> > > On Mon, Jul 2, 2018 at 12:38 AM, Miro Hrončok  > > m> wrote:
> > > > On 2.7.2018 02:54, Sérgio Basto wrote:
> > > > 
> > > > > On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:
> > > > > 
> > > > > > On 2.7.2018 01:20, Sérgio Basto wrote:
> > > > > > 
> > > > > > > > Hmm I was under the impression that PyString_AsString
> > > > > > > > does not
> > > > > > > > 
> > > > > > > > exist
> > > > > > > > 
> > > > > > > > in Python3
> > > > > > > > 
> > > > > > > > and you'll have to use PyUnicode_AsEncodedString. Was
> > > > > > > > it actually
> > > > > > > > 
> > > > > > > > compiling with
> > > > > > > > 
> > > > > > > > previous versions of Python3?
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > I was testing disable python2 [1], to see what happen but
> > > > > > > copr
> > > > > > > 
> > > > > > > rawhide
> > > > > > > 
> > > > > > > still have python 3.6 !
> > > > > > > 
> > > > > > > How I enable python-3.7 on copr ?
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > You can add a repo in copr settings:
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > https://kojipkgs.fedoraproject.org/repos/f29-python/938830/
> > > > > > $basearch
> > > > > > 
> > > > > 
> > > > > 
> > > > > Unfortunately failed [1]
> > > > > 
> > > > > 
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > 
> > > > > 
> > > > > [1]
> > > > > 
> > > > > https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build
> > > > > /772874/
> > > > > 
> > > > > https://copr-be.cloud.fedoraproject.org/results/sergiomb/open
> > > > > cv/fedora-
> > > > > 
> > > > > rawhide-x86_64/00772874-opencv/root.log
> > > > > 
> > > > > 
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR: Error:
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR:  Problem: package gdb-
> > > > > headless-8.1.50.20180629-26.fc29.x86_64 requires
> > > > > libpython3.6m.so.1.0()(64bit), but none of the providers can
> > > > > be installed
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
> > > > > python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-
> > > > > 4.fc29.x86_64
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
> > > > > python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-
> > > > > 1.fc29.x86_64
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best
> > > > > update candidate for package python3-libs-3.6.5-4.fc29.x86_64
> > > > > 
> > > > > DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best
> > > > > update candidate for package gdb-headless-8.1.50.20180629-
> > > > > 26.fc29.x86_64
> > > > > 
> > > > > DEBUG util.py:491:  (try to add '--allowerasing' to command
> > > > > line to replace conflicting packages or '--skip-broken' to
> > > > > skip uninstallable packages)
> > > > > 
> > > > 
> > > > 
> > > > In that case, sorry, no idea how to use 3.7 in copr. I've asked
> > > > releng to merge the side tag today anyway. https://pagure.io/re
> > > > leng/issue/7564
> > > > 
> > > > 
> > > > 
-- 
Sérgio M. B.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/DLLI3AJB63LOY5LLPEG75VLFLL7TUSEW/


Re: Your package doesn't build with Python 3.7

2018-07-07 Thread Tim Orling
https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/

See:
https://copr.fedorainfracloud.org/coprs/ttorling/pystatgrab/

(I didn’t try to build any other architectures on copr)
On Sat, Jul 7, 2018 at 10:06 AM Sergio  wrote:

> What you add to rawhide repos ? We still haven't composes of rawhide with
> python 3.7 . Please and thanks
>
> Sent from my Android
> Em 06/07/2018 9:55 da tarde, Tim Orling  escreveu:
>
> Fixed pystatgrab.
> python3.7 on copr worked fine for me, with your suggestion of adding the
> rawhide repo
>
> On Mon, Jul 2, 2018 at 12:38 AM, Miro Hrončok  wrote:
>
> On 2.7.2018 02:54, Sérgio Basto wrote:
>
> On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:
>
> On 2.7.2018 01:20, Sérgio Basto wrote:
>
> Hmm I was under the impression that PyString_AsString does not
> exist
> in Python3
> and you'll have to use PyUnicode_AsEncodedString. Was it actually
> compiling with
> previous versions of Python3?
>
>
> I was testing disable python2 [1], to see what happen but copr
> rawhide
> still have python 3.6 !
> How I enable python-3.7 on copr ?
>
>
> You can add a repo in copr settings:
>
> https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch
>
>
> Unfortunately failed [1]
>
> Thanks
>
> [1]
> https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/772874/
> https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-
> rawhide-x86_64/00772874-opencv/root.log
>
> DEBUG util.py:489:  BUILDSTDERR: Error:
> DEBUG util.py:489:  BUILDSTDERR:  Problem: package
> gdb-headless-8.1.50.20180629-26.fc29.x86_64 requires 
> libpython3.6m.so.1.0()(64bit),
> but none of the providers can be installed
> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
> python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-4.fc29.x86_64
> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
> python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-1.fc29.x86_64
> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update
> candidate for package python3-libs-3.6.5-4.fc29.x86_64
> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update
> candidate for package gdb-headless-8.1.50.20180629-26.fc29.x86_64
> DEBUG util.py:491:  (try to add '--allowerasing' to command line to
> replace conflicting packages or '--skip-broken' to skip uninstallable
> packages)
>
>
> In that case, sorry, no idea how to use 3.7 in copr. I've asked releng to
> merge the side tag today anyway. https://pagure.io/releng/issue/7564
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/DMWCEHQIOTWJ2MXWY2T4YFBHUT263CFS/
>
>
>
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ZZPTR2V4OCON7ECCVQC3Y7TRPRSO4N6B/


Re: Your package doesn't build with Python 3.7

2018-07-07 Thread Sergio
What you add to rawhide repos ? We still haven't composes of rawhide with 
python 3.7 . Please and thanks 


Sent from my AndroidEm 06/07/2018 9:55 da tarde, Tim Orling 
 escreveu:
>
> Fixed pystatgrab.
> python3.7 on copr worked fine for me, with your suggestion of adding the 
> rawhide repo
>
> On Mon, Jul 2, 2018 at 12:38 AM, Miro Hrončok  wrote:
>>
>> On 2.7.2018 02:54, Sérgio Basto wrote:
>>>
>>> On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:

 On 2.7.2018 01:20, Sérgio Basto wrote:
>>
>> Hmm I was under the impression that PyString_AsString does not
>> exist
>> in Python3
>> and you'll have to use PyUnicode_AsEncodedString. Was it actually
>> compiling with
>> previous versions of Python3?
>
>
> I was testing disable python2 [1], to see what happen but copr
> rawhide
> still have python 3.6 !
> How I enable python-3.7 on copr ?


 You can add a repo in copr settings:

 https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch
>>>
>>>
>>> Unfortunately failed [1]
>>>
>>> Thanks
>>>
>>> [1]
>>> https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/772874/
>>> https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-
>>> rawhide-x86_64/00772874-opencv/root.log
>>>
>>> DEBUG util.py:489:  BUILDSTDERR: Error:
>>> DEBUG util.py:489:  BUILDSTDERR:  Problem: package 
>>> gdb-headless-8.1.50.20180629-26.fc29.x86_64 requires 
>>> libpython3.6m.so.1.0()(64bit), but none of the providers can be installed
>>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
>>> python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-4.fc29.x86_64
>>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
>>> python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-1.fc29.x86_64
>>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update 
>>> candidate for package python3-libs-3.6.5-4.fc29.x86_64
>>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update 
>>> candidate for package gdb-headless-8.1.50.20180629-26.fc29.x86_64
>>> DEBUG util.py:491:  (try to add '--allowerasing' to command line to replace 
>>> conflicting packages or '--skip-broken' to skip uninstallable packages)
>>
>>
>> In that case, sorry, no idea how to use 3.7 in copr. I've asked releng to 
>> merge the side tag today anyway. https://pagure.io/releng/issue/7564
>>
>> -- 
>> Miro Hrončok
>> --
>> Phone: +420777974800
>> IRC: mhroncok
>> ___
>> devel mailing list -- devel@lists.fedoraproject.org
>> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives: 
>> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/DMWCEHQIOTWJ2MXWY2T4YFBHUT263CFS/
>
>
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ILJFAUNQGLYIOMJUYLJJT4CJZA7XAGHO/


Re: Your package doesn't build with Python 3.7

2018-07-06 Thread Tim Orling
Fixed pystatgrab.
python3.7 on copr worked fine for me, with your suggestion of adding the
rawhide repo

On Mon, Jul 2, 2018 at 12:38 AM, Miro Hrončok  wrote:

> On 2.7.2018 02:54, Sérgio Basto wrote:
>
>> On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:
>>
>>> On 2.7.2018 01:20, Sérgio Basto wrote:
>>>
 Hmm I was under the impression that PyString_AsString does not
> exist
> in Python3
> and you'll have to use PyUnicode_AsEncodedString. Was it actually
> compiling with
> previous versions of Python3?
>

 I was testing disable python2 [1], to see what happen but copr
 rawhide
 still have python 3.6 !
 How I enable python-3.7 on copr ?

>>>
>>> You can add a repo in copr settings:
>>>
>>> https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch
>>>
>>
>> Unfortunately failed [1]
>>
>> Thanks
>>
>> [1]
>> https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/772874/
>> https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-
>> rawhide-x86_64/00772874-opencv/root.log
>>
>> DEBUG util.py:489:  BUILDSTDERR: Error:
>> DEBUG util.py:489:  BUILDSTDERR:  Problem: package
>> gdb-headless-8.1.50.20180629-26.fc29.x86_64 requires
>> libpython3.6m.so.1.0()(64bit), but none of the providers can be installed
>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
>> python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-4.fc29.x86_64
>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install both
>> python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-1.fc29.x86_64
>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update
>> candidate for package python3-libs-3.6.5-4.fc29.x86_64
>> DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update
>> candidate for package gdb-headless-8.1.50.20180629-26.fc29.x86_64
>> DEBUG util.py:491:  (try to add '--allowerasing' to command line to
>> replace conflicting packages or '--skip-broken' to skip uninstallable
>> packages)
>>
>
> In that case, sorry, no idea how to use 3.7 in copr. I've asked releng to
> merge the side tag today anyway. https://pagure.io/releng/issue/7564
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.or
> g/archives/list/devel@lists.fedoraproject.org/message/DMWCEH
> QIOTWJ2MXWY2T4YFBHUT263CFS/
>
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7FJYG34EPA5GRZUSDJNEOWZL7UYM5WAG/


Re: Your package doesn't build with Python 3.7

2018-07-02 Thread Miro Hrončok

On 2.7.2018 02:54, Sérgio Basto wrote:

On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:

On 2.7.2018 01:20, Sérgio Basto wrote:

Hmm I was under the impression that PyString_AsString does not
exist
in Python3
and you'll have to use PyUnicode_AsEncodedString. Was it actually
compiling with
previous versions of Python3?


I was testing disable python2 [1], to see what happen but copr
rawhide
still have python 3.6 !
How I enable python-3.7 on copr ?


You can add a repo in copr settings:

https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch


Unfortunately failed [1]

Thanks

[1]
https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/772874/
https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-
rawhide-x86_64/00772874-opencv/root.log

DEBUG util.py:489:  BUILDSTDERR: Error:
DEBUG util.py:489:  BUILDSTDERR:  Problem: package 
gdb-headless-8.1.50.20180629-26.fc29.x86_64 requires 
libpython3.6m.so.1.0()(64bit), but none of the providers can be installed
DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-4.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-1.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update candidate 
for package python3-libs-3.6.5-4.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update candidate 
for package gdb-headless-8.1.50.20180629-26.fc29.x86_64
DEBUG util.py:491:  (try to add '--allowerasing' to command line to replace 
conflicting packages or '--skip-broken' to skip uninstallable packages)


In that case, sorry, no idea how to use 3.7 in copr. I've asked releng 
to merge the side tag today anyway. https://pagure.io/releng/issue/7564


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/DMWCEHQIOTWJ2MXWY2T4YFBHUT263CFS/


Re: Your package doesn't build with Python 3.7

2018-07-02 Thread Dridi Boukelmoune
2018-06-28 20:41 GMT+02:00 Miro Hrončok :
> This is a reminder that your package FTBFS with Python 3.7. Please fix it.
> We'd like to merge the side tag soon and your package will likely get broken
> deps afterwards. Chances are your package blocks others.
>
> If nothing depends on your package and upstream is dead, consider removing
> it.
>
> Rebuild your package with: fedpkg build --target=f29-python
>
> The list:
> Maintainers by package:

> python-seqdiag   dridi

>
> Packages by maintainer:

> dridi  python-seqdiag


I sent a trivial patch upstream [1] and adapted it for the release
currently packaged in Fedora but then I ran into a different failure
(reported upstream [2]) that will require more thinking.

I think it's safe to assume that the python-{act,block,nw,seq}diag
packages are currently used as leaf packages though, but please yell
at me if I break things further downstream because I'm not sure to get
this fixed before 3.7 lands in Rawhide.

Dridi

[1] https://github.com/blockdiag/seqdiag/pull/24
[2] https://github.com/blockdiag/blockdiag/issues/93
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/UZYPRAXQNDK5SMTWG4FBJ2KEYHUVKSTY/


Re: Your package doesn't build with Python 3.7

2018-07-01 Thread Sérgio Basto
On Mon, 2018-07-02 at 01:37 +0200, Miro Hrončok wrote:
> On 2.7.2018 01:20, Sérgio Basto wrote:
> > > Hmm I was under the impression that PyString_AsString does not
> > > exist
> > > in Python3
> > > and you'll have to use PyUnicode_AsEncodedString. Was it actually
> > > compiling with
> > > previous versions of Python3?
> > 
> > I was testing disable python2 [1], to see what happen but copr
> > rawhide
> > still have python 3.6 !
> > How I enable python-3.7 on copr ?
> 
> You can add a repo in copr settings:
> 
> https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch

Unfortunately failed [1]

Thanks 

[1]
https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/772874/
https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-
rawhide-x86_64/00772874-opencv/root.log

DEBUG util.py:489:  BUILDSTDERR: Error: 
DEBUG util.py:489:  BUILDSTDERR:  Problem: package 
gdb-headless-8.1.50.20180629-26.fc29.x86_64 requires 
libpython3.6m.so.1.0()(64bit), but none of the providers can be installed
DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
python3-libs-3.7.0-1.fc29.x86_64 and python3-libs-3.6.5-4.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install both 
python3-libs-3.6.5-4.fc29.x86_64 and python3-libs-3.7.0-1.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update candidate 
for package python3-libs-3.6.5-4.fc29.x86_64
DEBUG util.py:489:  BUILDSTDERR:   - cannot install the best update candidate 
for package gdb-headless-8.1.50.20180629-26.fc29.x86_64
DEBUG util.py:491:  (try to add '--allowerasing' to command line to replace 
conflicting packages or '--skip-broken' to skip uninstallable packages)

> 
-- 
Sérgio M. B.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/XZHEBQJGACQQZH3DCF2PLLNI3TOZWMCR/


Re: Your package doesn't build with Python 3.7

2018-07-01 Thread Miro Hrončok

On 2.7.2018 01:20, Sérgio Basto wrote:

Hmm I was under the impression that PyString_AsString does not exist
in Python3
and you'll have to use PyUnicode_AsEncodedString. Was it actually
compiling with
previous versions of Python3?


I was testing disable python2 [1], to see what happen but copr rawhide
still have python 3.6 !
How I enable python-3.7 on copr ?


You can add a repo in copr settings:

https://kojipkgs.fedoraproject.org/repos/f29-python/938830/$basearch



--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7NBOTD6VYYCDNBCWVFJ7B2GC7S4BZD4R/


Re: Your package doesn't build with Python 3.7

2018-07-01 Thread Sérgio Basto
On Fri, 2018-06-29 at 05:08 -0400, Charalampos Stratakis wrote:
> 
> - Original Message -
> > From: "Sérgio Basto" 
> > To: "Fedora devel" 
> > Sent: Friday, June 29, 2018 1:55:52 AM
> > Subject: Re: Your package doesn't build with Python 3.7
> > 
> > On Thu, 2018-06-28 at 20:41 +0200, Miro Hrončok wrote:
> > > sergiomb   opencv
> > 
> > /builddir/build/BUILD/opencv-
> > 3.4.1/modules/python/src2/cv2.cpp:889:34:
> > error: invalid conversion from 'const char*' to 'char*' [-
> > fpermissive]
> >  char* str = PyString_AsString(obj);
> > 
> > This problem is not about new gcc flags ? or about python rebuild ?
> > now
> > that I'm reading if I just add const to the code [1] will fix this
> > build error ?
> > original code here [2]
> > 
> > [1]
> > const char* str = PyString_AsString(obj);
> > 
> >  
> > [2]
> > https://github.com/opencv/opencv/blob/master/modules/python/src2/cv
> > 2.cp
> > p#L919
> > 
> > Thanks,
> > --
> > Sérgio M. B.
> > 
> 
> Hmm I was under the impression that PyString_AsString does not exist
> in Python3
> and you'll have to use PyUnicode_AsEncodedString. Was it actually
> compiling with
> previous versions of Python3?

I was testing disable python2 [1], to see what happen but copr rawhide
still have python 3.6 ! 
How I enable python-3.7 on copr ? 

[1]
https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/

-- 
Sérgio M. B.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/73SBGP33NKAAQDRHMYZMWJW35UIOPOST/


Re: Your package doesn't build with Python 3.7

2018-06-29 Thread Charalampos Stratakis


- Original Message -
> From: "Sérgio Basto" 
> To: "Fedora devel" 
> Sent: Friday, June 29, 2018 1:55:52 AM
> Subject: Re: Your package doesn't build with Python 3.7
> 
> On Thu, 2018-06-28 at 20:41 +0200, Miro Hrončok wrote:
> > sergiomb   opencv
> 
> /builddir/build/BUILD/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34:
> error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
>  char* str = PyString_AsString(obj);
> 
> This problem is not about new gcc flags ? or about python rebuild ? now
> that I'm reading if I just add const to the code [1] will fix this
> build error ?
> original code here [2]
> 
> [1]
> const char* str = PyString_AsString(obj);
> 
>  
> [2]
> https://github.com/opencv/opencv/blob/master/modules/python/src2/cv2.cp
> p#L919
> 
> Thanks,
> --
> Sérgio M. B.
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SCRTZW2ERRXTBK7M3LTKRYXRQ5DFSGBS/
> 

Hmm I was under the impression that PyString_AsString does not exist in Python3
and you'll have to use PyUnicode_AsEncodedString. Was it actually compiling with
previous versions of Python3?

-- 
Regards,

Charalampos Stratakis
Software Engineer
Python Maintenance Team, Red Hat
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NZOU55TUCY7QIB7WCRQLKLQ7BFL2NIS6/


Re: Your package doesn't build with Python 3.7

2018-06-28 Thread Sérgio Basto
On Thu, 2018-06-28 at 20:41 +0200, Miro Hrončok wrote:
> sergiomb   opencv

/builddir/build/BUILD/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
 char* str = PyString_AsString(obj);

This problem is not about new gcc flags ? or about python rebuild ? now
that I'm reading if I just add const to the code [1] will fix this
build error ?
original code here [2]

[1]
const char* str = PyString_AsString(obj); 

 
[2] 
https://github.com/opencv/opencv/blob/master/modules/python/src2/cv2.cp
p#L919

Thanks,
-- 
Sérgio M. B.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SCRTZW2ERRXTBK7M3LTKRYXRQ5DFSGBS/