Overview

Request 642657 superseded

- Add patch to fix importlib return types:
* python3-imp-returntype.patch

- Add patch to fix build with tls1.3 supported openssl
* 00308-tls-1.3.patch
- Add patch to fix Py_Main calls after Py_initialize
* 00307-allow-to-call-Py_Main-after-Py_Initialize.patch

- Add -fwrapv to OPTS, which is default for python3 anyway
See for example https://github.com/zopefoundation/persistent/issues/86
for bugs which are caused by avoiding it.

- Fix ownership of _contextvars, _queue, and _xxtestfuzz

- Switch off LTO for distros with older GCC
- Fix %files

- Add dependency over libuuid-devel

- update to python 3.7.0
Complete overview of changes is available on
https://docs.python.org/3/whatsnew/3.7.html, these are just
highlights:
* PEP 563, postponed evaluation of type annotations.
* async and await are now reserved keywords.
* New library modules:
contextvars: PEP 567 – Context Variables
dataclasses: PEP 557 – Data Classes
importlib.resources
* New built-in features:

Loading...


Dominique Leuenberger's avatar

at least ceph and opencv seem to be fallouts from this python upgrade.

from ceph ( CCing maintainers: @LarsMB @holgisms @tserong @dmdiss @smithfarm @k_mroz @swiftgist @rjdias @jfajerski @supritis )

[ 3611s] [ 77%] Building CXX object src/CMakeFiles/ceph-syn.dir/ceph_syn.cc.o
[ 3629s] In file included from /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/mgr/StandbyPyModules.h:16,
[ 3629s]                  from /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/mgr/PyModuleRegistry.h:27,
[ 3629s]                  from /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/mgr/MgrStandby.h:26,
[ 3629s]                  from /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/ceph_mgr.cc:29:
[ 3629s] /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/mgr/PythonCompat.h: In function 'char* PyString_AsString(PyObject*)':
[ 3629s] /home/abuild/rpmbuild/BUILD/ceph-13.2.0-210-g0e990e900d/src/mgr/PythonCompat.h:17:26: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
[ 3629s]    return PyUnicode_AsUTF8(string);
[ 3629s]           ~~~~~~~~~~~~~~~~^~~~~~~~
[ 3638s] make[2]: *** [src/CMakeFiles/ceph-mgr.dir/build.make:63: src/CMakeFiles/ceph-mgr.dir/ceph_mgr.cc.o] Error 1
[ 3638s] make[1]: *** [CMakeFiles/Makefile2:1156: src/CMakeFiles/ceph-mgr.dir/all] Error 2
[ 3638s] make[1]: *** Waiting for unfinished jobs....

from opencv ( CCing maintainers: @dirkmueller @christiantrippe @tittiatcoke @luca_b @wolfi323 @cgiboudeaux @Vogtinator @alarrosa )

[  555s] /home/abuild/rpmbuild/BUILD/opencv-3.4.1/modules/python/src2/cv2.cpp: In function 'bool pyopencv_to(PyObject*, T&, const char*) [with T = cv::String; PyObject = _object]':
[  555s] /home/abuild/rpmbuild/BUILD/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
[  555s]      char* str = PyString_AsString(obj);

Christophe Giboudeaux's avatar

I'm pushing opencv 3.4.3 in KDE:Extra. It should fix this issue.



Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- Add patch to fix importlib return types:
* python3-imp-returntype.patch

- Add patch to fix build with tls1.3 supported openssl
* 00308-tls-1.3.patch
- Add patch to fix Py_Main calls after Py_initialize
* 00307-allow-to-call-Py_Main-after-Py_Initialize.patch

- Add -fwrapv to OPTS, which is default for python3 anyway
See for example https://github.com/zopefoundation/persistent/issues/86
for bugs which are caused by avoiding it.

- Fix ownership of _contextvars, _queue, and _xxtestfuzz

- Switch off LTO for distros with older GCC
- Fix %files

- Add dependency over libuuid-devel

- update to python 3.7.0
Complete overview of changes is available on
https://docs.python.org/3/whatsnew/3.7.html, these are just
highlights:
* PEP 563, postponed evaluation of type annotations.
* async and await are now reserved keywords.
* New library modules:
contextvars: PEP 567 – Context Variables
dataclasses: PEP 557 – Data Classes
importlib.resources
* New built-in features:


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:C as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:C"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:C


Jan Engelhardt's avatar

jengelh accepted review


Matej Cepl's avatar

mcepl superseded request

Now it is full 3.7.1.

openSUSE Build Service is sponsored by