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 <mhroncok@redhat.com> 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-leave@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/