431 Commits

Author SHA256 Message Date
Tomáš Chvátal
00800c2a14 Accepting request 745290 from home:StevenK:branches:devel:languages:python:Factory
- Add adapted-from-F00251-change-user-install-location.patch fixing
  pip/distutils to install into /usr/local.

OBS-URL: https://build.opensuse.org/request/show/745290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=257
2019-11-05 07:55:07 +00:00
Dominique Leuenberger
35b7abfdc2 Accepting request 742620 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/742620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=143
2019-11-04 16:08:49 +00:00
5167eaaa6a Accepting request 742619 from home:mcepl:branches:devel:languages:python:Factory
- Update to 2.7.17:
  - a bug fix release in the Python 2.7.x series. It is expected
    to be the penultimate release for Python 2.7.
- Removed patches included upstream:
  - CVE-2018-20852-cookie-domain-check.patch
  - CVE-2019-16935-xmlrpc-doc-server_title.patch
  - CVE-2019-9636-netloc-no-decompose-characters.patch
  - CVE-2019-9947-no-ctrl-char-http.patch
  - CVE-2019-9948-avoid_local-file.patch

OBS-URL: https://build.opensuse.org/request/show/742619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=255
2019-10-24 14:12:02 +00:00
Dominique Leuenberger
c775292787 Accepting request 736441 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/736441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=142
2019-10-22 13:36:52 +00:00
Tomáš Chvátal
f5ffed7eba Accepting request 736435 from home:mcepl:branches:devel:languages:python:Factory
- Add CVE-2019-16935-xmlrpc-doc-server_title.patch fixing
  bsc#1153238 (aka CVE-2019-16935) fixing a reflected XSS in
  python/Lib/DocXMLRPCServer.py

OBS-URL: https://build.opensuse.org/request/show/736435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=253
2019-10-09 10:17:50 +00:00
Dominique Leuenberger
20f164bed4 Accepting request 734624 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/734624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=141
2019-10-05 14:20:01 +00:00
Tomáš Chvátal
e4bf1a5dfb Accepting request 733188 from home:bmwiedemann:branches:devel:languages:python:Factory
Add bpo36302-sort-module-sources.patch (boo#1041090)
similar to SR 733152

OBS-URL: https://build.opensuse.org/request/show/733188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=251
2019-09-25 15:35:20 +00:00
Dominique Leuenberger
d43ccb0e64 Accepting request 724359 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/724359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=140
2019-08-27 13:19:48 +00:00
Tomáš Chvátal
8d87a05715 Accepting request 724264 from home:jayvdb:branches:devel:languages:python:Factory
Remove xrpm from subpackage tk description

OBS-URL: https://build.opensuse.org/request/show/724264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=249
2019-08-18 07:24:48 +00:00
Dominique Leuenberger
952159fbbc Accepting request 717087 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/717087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=139
2019-07-30 11:03:27 +00:00
4a730b55c6 Accepting request 717086 from home:mcepl:branches:devel:languages:python:Factory
Add CVE patch.

OBS-URL: https://build.opensuse.org/request/show/717086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=247
2019-07-19 12:54:06 +00:00
Tomáš Chvátal
f532ba5ac3 - Skip test_urllib2_localnet that randomly fails in OBS
- Skip test_urllib2_localnet that randomly fails in OBS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=246
2019-07-19 11:20:26 +00:00
Dominique Leuenberger
8ab7b329be Accepting request 706252 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/706252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=138
2019-06-24 19:44:43 +00:00
Tomáš Chvátal
9002c333c4 Accepting request 706251 from openSUSE:Factory:Staging:N
-  Set _lto_cflags to nil as it will prevent to propage LTO
   for Python modules that are built in a separate package.

-  Set _lto_cflags to nil as it will prevent to propage LTO
   for Python modules that are built in a separate package.

OBS-URL: https://build.opensuse.org/request/show/706251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=244
2019-05-29 09:09:16 +00:00
2f5ed5b585 Accepting request 700428 from home:mcepl:branches:devel:languages:python:Factory
- bsc#1130840 (CVE-2019-9947): add CVE-2019-9947-no-ctrl-char-http.patch
  Address the issue by disallowing URL paths with embedded
  whitespace or control characters through into the underlying
  http client request. Such potentially malicious header
  injection URLs now cause a ValueError to be raised.

OBS-URL: https://build.opensuse.org/request/show/700428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=243
2019-05-03 15:46:24 +00:00
Dominique Leuenberger
acea883ae8 Accepting request 692401 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/692401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=137
2019-04-14 10:21:11 +00:00
88ffffeead Accepting request 692400 from home:mcepl:branches:devel:languages:python:Factory
- bsc#1130847 (CVE-2019-9948) add CVE-2019-9948-avoid_local-file.patch 
  removing unnecessary (and potentially harmful) URL scheme
  local-file://.

- bsc#1129346: add CVE-2019-9636-netloc-no-decompose-characters.patch
  Characters in the netloc attribute that decompose under NFKC
  normalization (as used by the IDNA encoding) into any of ``/``,
  ``?``, ``#``, ``@``, or ``:`` will raise a ValueError. If the
  URL is decomposed before parsing, or is not a Unicode string,
  no error will be raised.
  Upstream commits e37ef41 and 507bd8c.

- Update to 2.7.16:
  * bugfix-only release: complete list of changes on
    https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.16rc1.rst
  * Removed openssl-111.patch and CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch
    which are fully included in the tarball.
  * Updated patches to apply cleanly:
        CVE-2019-5010-null-defer-x509-cert-DOS.patch
        bpo36160-init-sysconfig_vars.patch
        do-not-use-non-ascii-in-test_ssl.patch
        openssl-111-middlebox-compat.patch
        openssl-111-ssl_options.patch
        python-2.5.1-sqlite.patch
        python-2.6-gettext-plurals.patch
        python-2.7-dirs.patch
        python-2.7.2-fix_date_time_compiler.patch
        python-2.7.4-canonicalize2.patch
        python-2.7.5-multilib.patch
        python-2.7.9-ssl_ca_path.patch

OBS-URL: https://build.opensuse.org/request/show/692400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=241
2019-04-08 22:40:36 +00:00
Dominique Leuenberger
621c9ada2b Accepting request 677944 from devel:languages:python:Factory
- bsc#1122191: add CVE-2019-5010-null-defer-x509-cert-DOS.patch
  fixing bpo-35746.
  An exploitable denial-of-service vulnerability exists in the
  X509 certificate parser of Python.org Python 2.7.11 / 3.7.2.
  A specially crafted X509 certificate can cause a NULL pointer
  dereference, resulting in a denial of service. An attacker can
  initiate or accept TLS connections using crafted certificates
  to trigger this vulnerability.

OBS-URL: https://build.opensuse.org/request/show/677944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=136
2019-02-26 21:13:27 +00:00
c457f4f6ba - bsc#1122191: add CVE-2019-5010-null-defer-x509-cert-DOS.patch
fixing bpo-35746.
  An exploitable denial-of-service vulnerability exists in the
  X509 certificate parser of Python.org Python 2.7.11 / 3.7.2.
  A specially crafted X509 certificate can cause a NULL pointer
  dereference, resulting in a denial of service. An attacker can
  initiate or accept TLS connections using crafted certificates
  to trigger this vulnerability.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=239
2019-01-20 01:08:59 +00:00
Dominique Leuenberger
d5941a386f Accepting request 660147 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/660147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=135
2018-12-24 10:36:15 +00:00
228d743281 Accepting request 660118 from home:TheBlackCat:branches:devel:languages:python:Factory
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros.

OBS-URL: https://build.opensuse.org/request/show/660118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=237
2018-12-20 00:22:31 +00:00
Dominique Leuenberger
1a89e27c82 Accepting request 645305 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/645305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=134
2018-12-10 11:21:19 +00:00
Tomáš Chvátal
a74bb24131 Accepting request 645303 from home:vitezslav_cizek:branches:devel:languages:python:Factory
- Enable all the tests in %check
- Add more patches to successfully build with openssl 1.1.1
  (bsc#1113755)
  * openssl-111-middlebox-compat.patch
  * openssl-111-ssl_options.patch

OBS-URL: https://build.opensuse.org/request/show/645303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=235
2018-10-29 15:14:27 +00:00
Tomáš Chvátal
20d7b72031 - Add patch openssl-111.patch to work with openssl-1.1.1
- Add patch openssl-111.patch to work with openssl-1.1.1

- Add patch openssl-111.patch to work with openssl-1.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=234
2018-10-26 12:53:54 +00:00
Dominique Leuenberger
6cb1aaa70d Accepting request 638809 from devel:languages:python:Factory
Apply "CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch" which
converts shutil._call_external_zip to use subprocess rather than
distutils.spawn. [bsc#1109663, CVE-2018-1000802]

OBS-URL: https://build.opensuse.org/request/show/638809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=133
2018-10-02 17:41:22 +00:00
9eba14b8c5 - Apply "CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch" which
converts shutil._call_external_zip to use subprocess rather than
  distutils.spawn. [bsc#1109663, CVE-2018-1000802]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=232
2018-09-27 14:11:14 +00:00
Dominique Leuenberger
1ac4794a8c Accepting request 611151 from devel:languages:python:Factory
- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

OBS-URL: https://build.opensuse.org/request/show/611151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=132
2018-05-25 19:36:18 +00:00
Tomáš Chvátal
a253d3727a * dozens of bugfixes, see NEWS for details
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch
  * dozens of bugfixes, see NEWS for details
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch
  * dozens of bugfixes, see NEWS for details
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=230
2018-05-22 08:07:44 +00:00
Tomáš Chvátal
1e548f3452 Accepting request 611078 from home:stroeder:branches:devel:languages:python:Factory
update to 2.7.15

OBS-URL: https://build.opensuse.org/request/show/611078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=229
2018-05-22 08:06:13 +00:00
Dominique Leuenberger
b5d9aa6c98 Accepting request 593955 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/593955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=131
2018-04-07 18:54:08 +00:00
Tomáš Chvátal
7fc40ecb9b Accepting request 593954 from home:marxin:branches:devel:languages:python:Factory
- Add gcc8-miscompilation-fix.patch (boo#1084650).

OBS-URL: https://build.opensuse.org/request/show/593954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=227
2018-04-06 10:15:40 +00:00
Dominique Leuenberger
b02c1e2d33 Accepting request 578360 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/578360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=130
2018-02-25 11:19:49 +00:00
Tomáš Chvátal
461b84379a Accepting request 578354 from home:bmwiedemann:reproducible
Add python-sorted_tar.patch (boo#1081750)

OBS-URL: https://build.opensuse.org/request/show/578354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=225
2018-02-20 13:42:29 +00:00
Dominique Leuenberger
473fe5982f Accepting request 573233 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/573233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=129
2018-02-09 14:43:50 +00:00
Tomáš Chvátal
82f2fe190c Accepting request 573219 from home:michel_mno:branches:devel:languages:python:Factory
- exclude test_socket & test_subprocess for PowerPC boo#1078485
  (same ref as previous change)

OBS-URL: https://build.opensuse.org/request/show/573219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=223
2018-02-06 09:03:38 +00:00
Dominique Leuenberger
7454a5d492 Accepting request 572016 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/572016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=128
2018-02-05 09:48:15 +00:00
Tomáš Chvátal
aa4187efd5 Accepting request 572013 from home:michel_mno:branches:devel:languages:python:Factory
- Add python-skip_random_failing_tests.patch bypass boo#1078485
  and exclude many tests for PowerPC

OBS-URL: https://build.opensuse.org/request/show/572013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=221
2018-02-02 12:44:43 +00:00
Dominique Leuenberger
eb0cdb8685 Accepting request 571147 from devel:languages:python:Factory
- Add patch python-fix-shebang.patch to fix bsc#1078326

OBS-URL: https://build.opensuse.org/request/show/571147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=127
2018-02-01 20:25:39 +00:00
Tomáš Chvátal
9cc8a2d881 - Add patch python-fix-shebang.patch to fix bsc#1078326
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=219
2018-01-30 16:10:19 +00:00
Dominique Leuenberger
fae4c9c6ed Accepting request 561149 from devel:languages:python:Factory
- exclude test_regrtest for s390, where it does not segfault as it should
  (fixes bsc#1073269)
- fix segfault while creating weakref - bsc#1073748, bpo#29347
  (this is actually fixed by the 2.7.14 update; mentioning this for purposes
  of bugfix tracking)

OBS-URL: https://build.opensuse.org/request/show/561149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=126
2018-01-06 17:45:50 +00:00
Jan Matejek
de4df0721d (fixes bsc#1073269)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=217
2018-01-02 15:38:55 +00:00
Jan Matejek
4f2570c3f1 - exclude test_regrtest for s390, where it does not segfault as it should
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=216
2018-01-02 15:34:11 +00:00
Dominique Leuenberger
9a5b66b8a8 Accepting request 544427 from devel:languages:python:Factory
- update to 2.7.14
  * dozens of bugfixes, see NEWS for details
  * fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
  * fixed segfaults with dict mutated during search
  * fixed possible free-after-use problems with buffer objects with custom indexing
  * fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch

OBS-URL: https://build.opensuse.org/request/show/544427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=125
2017-11-30 11:33:14 +00:00
Jan Matejek
978021f10d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=214 2017-11-22 15:01:47 +00:00
Jan Matejek
70d78d4e2f - update to 2.7.14
* dozens of bugfixes, see NEWS for details
  * fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
  * fixed segfaults with dict mutated during search
  * fixed possible free-after-use problems with buffer objects with custom indexing
  * fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch

- update to 2.7.14
  * dozens of bugfixes, see NEWS for details
  * fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
  * fixed segfaults with dict mutated during search
  * fixed possible free-after-use problems with buffer objects with custom indexing
  * fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch

- update to 2.7.14
  * dozens of bugfixes, see NEWS for details
  * fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
  * fixed segfaults with dict mutated during search
  * fixed possible free-after-use problems with buffer objects with custom indexing
  * fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=213
2017-11-21 18:28:14 +00:00
Dominique Leuenberger
5fd92c7a72 Accepting request 538777 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/538777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=124
2017-11-10 13:37:24 +00:00
Jan Matejek
1482566264 Accepting request 538481 from home:pluskalm:branches:devel:languages:python:Factory
- Call python2 instead of python in macros

OBS-URL: https://build.opensuse.org/request/show/538481
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=211
2017-11-03 14:32:45 +00:00
Dominique Leuenberger
3bd4735eaf Accepting request 527332 from devel:languages:python:Factory
1

OBS-URL: https://build.opensuse.org/request/show/527332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=123
2017-09-28 10:32:34 +00:00
Jan Matejek
79ff2b8efe Accepting request 527330 from home:vitezslav_cizek:branches:devel:languages:python:Factory
Fix patch name in changelog to pass Factory checkers
* add 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch

OBS-URL: https://build.opensuse.org/request/show/527330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=209
2017-09-19 14:51:05 +00:00
Jan Matejek
7cbe1492c5 Accepting request 526160 from home:vitezslav_cizek:branches:devel:languages:python:Factory
- Fix test broken with OpenSSL 1.1 (bsc#1042670)
  * add 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch

OBS-URL: https://build.opensuse.org/request/show/526160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=208
2017-09-19 14:28:25 +00:00