Commit Graph

47 Commits

Author SHA256 Message Date
ce250c01c7 Actually remove removed patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=58
2021-02-21 14:40:46 +00:00
9559d22979 Update patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=57
2021-02-21 14:40:01 +00:00
d3bad64b2f Test on PPC*
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=56
2021-02-21 10:16:48 +00:00
f168450c97 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=55
2021-02-20 17:35:08 +00:00
ca899a3e2a Fix patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=54
2021-02-20 17:33:07 +00:00
771e6fa592 - Update to 3.9.2:
- bpo#42938 (bsc#1181126): Avoid static buffers when computing
    the repr of ctypes.c_double and ctypes.c_longdouble
    values. This issue was assigned CVE-2021-3177.
  - bpo#42967 (bso#1182379): Fix web cache poisoning
    vulnerability by defaulting the query args separator to &,
    and allowing the user to choose a custom separator. This
    issue was assigned CVE-2021-23336.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=53
2021-02-19 23:09:18 +00:00
Steve Kowalik
910c55d10c - Add Obsoletes for python3-base when primary interpreter is set to
properly replace it during upgrades.  (bsc#1181324)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=51
2021-02-09 09:51:49 +00:00
e410e3892b - Readjustet and reapplied patches:
- CVE-2021-3177-buf_ovrfl_PyCArg_repr.patch
  - bpo-31046_ensurepip_honours_prefix.patch
  - python-3.3.0b1-fix_date_time_compiler.patch
  - skip_random_failing_tests.patch
  - sphinx-update-removed-function.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=50
2021-02-08 22:33:22 +00:00
12d62b8ab0 - Update to 3.9.1:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=49
2021-02-08 22:22:59 +00:00
499bf81eab - Add CVE-2021-3177-buf_ovrfl_PyCArg_repr.patch fixing
bsc#1181126 (CVE-2021-3177) buffer overflow in PyCArg_repr in
  _ctypes/callproc.c, which may lead to remote code execution.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=47
2021-01-30 00:29:18 +00:00
976b91d922 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=45
2021-01-06 20:27:06 +00:00
ddccfc5ed2 - (bsc#1180125) We really don't Require python-rpm-macros package.
Unnecessary dependency.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=44
2021-01-06 15:10:34 +00:00
4a7f7a3418 - Make python39-doc building again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=43
2020-12-16 19:19:53 +00:00
5b2c8e3c6b - Update sphinx-update-removed-function.patch patch to the latest
version in python36.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=41
2020-12-12 14:31:49 +00:00
83e48f46d5 - Last try before this results in an editwar:
* remove importlib_resources and importlib-metadata 
    provides/obsoletes
  * import importlib_resources is not the same as
    import importlib.resources, same for metadata
  * The backport packages from PyPI needed for older flavors are
    specified as such for setuptools or in pyproject.toml. If a
    package requires them they typically add them with a python
    version qualifier and the packages have their own version
    numbers.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=40
2020-12-10 11:03:11 +00:00
5b0e8f466e Mention bugzilla bug
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=38
2020-12-05 17:31:01 +00:00
e9c0765f6b Reapply patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=37
2020-12-05 17:02:48 +00:00
b21b787dc9 - Add patch sphinx-update-removed-function.patch to no longer call
a now removed function and to make documentation build independent of
  the Sphinx version (gh#python/cpython#13236).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=36
2020-12-05 16:56:36 +00:00
d75e173524 Remove trailing space
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=35
2020-12-02 10:56:20 +00:00
1461311fdc Accepting request 848384 from home:mcepl:branches:devel:languages:python:Factory
- Don't require packages which break build on SLE-15 although we really
  don't need them (python3-python-docs-theme and
  python3-sphinxcontrib-qthelp).

OBS-URL: https://build.opensuse.org/request/show/848384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=33
2020-11-13 17:22:02 +00:00
Tomáš Chvátal
fe2245b6d4 - Fix build with RPM 4.16: error: bare words are no longer
supported, please use "...":  x86 == ppc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=31
2020-10-12 06:54:07 +00:00
10f9749ce3 - Update to the final version 3.9.0:
Complete changelog with all (many)
  changes from previous version is on
  https://docs.python.org/release/3.9.0/whatsnew/3.9.html
  Changes from the previous RC versions (not that many) are on
  https://docs.python.org/release/3.9.0/whatsnew/changelog.html#changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=30
2020-10-06 07:36:23 +00:00
Tomáš Chvátal
b8b18b6c66 - Buildrequire timezone only for general flavor. It's used in this
flavor for the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=28
2020-09-25 10:25:01 +00:00
a8d3631e3c - Update to 3.9.0rc1:
* Core and Builtins
      - bpo-38156: Handle interrupts that come after EOF
        correctly in PyOS_StdioReadline.
  * Library
      - bpo-41497: Fix potential UnicodeDecodeError in dis
        module.
      - bpo-41490: Update ensurepip to install pip 20.2.1 and
        setuptools 49.2.1.
      - bpo-41467: On Windows, fix asyncio recv_into() return
        value when the socket/pipe is closed (BrokenPipeError):
        return 0 rather than an empty byte string (b'').
      - bpo-41425: Make tkinter doc example runnable.
      - bpo-41384: Raise TclError instead of TypeError when an
        unknown option is passed to tkinter.OptionMenu.
      - bpo-38731: Fix NameError in command-line interface of
        py_compile.
      - bpo-41317: Use add_done_callback() in
        asyncio.loop.sock_accept() to unsubscribe reader early on
        cancellation.
      - bpo-41364: Reduce import overhead of uuid.
      - bpo-41341: Recursive evaluation of typing.ForwardRef in
        get_type_hints.
      - bpo-41182: selector: use DefaultSelector based upon
        implementation
      - bpo-40726: Handle cases where the end_lineno is None on
        ast.increment_lineno().
  * Documentation
      - bpo-41045: Add documentation for debug feature of
        f-strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=26
2020-09-02 14:47:05 +00:00
8a74134292 We don't handle beta marks in the version well.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=25
2020-09-01 14:29:24 +00:00
c4998b18b3 Fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=24
2020-09-01 10:26:21 +00:00
29e93e2ad8 - Synchronize formatting and fixes with python38.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=23
2020-09-01 10:15:32 +00:00
5bdd82140c Accepting request 828282 from home:Andreas_Schwab:Factory
- Increase testsuite timeout to account for super long running
  test_peg_generator

OBS-URL: https://build.opensuse.org/request/show/828282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=21
2020-08-21 08:54:23 +00:00
Tomáš Chvátal
63a4856637 Accepting request 822056 from home:gmbr3:Active
- Removed CVE-2019-20907_tarfile-inf-loop.patch: fixed in upstream
- Removed recursion.tar: contained in upstream
- Update to 3.9.0b5:
  - bpo-41304: Fixes python3x._pth being ignored on Windows, caused 
    by the fix for bpo-29778 (CVE-2020-15801).
  - bpo-41162: Audit hooks are now cleared later during
    finalization to avoid missing events.
  - bpo-29778: Ensure python3.dll is loaded from correct locations 
    when Python is embedded (CVE-2020-15523).
  - bpo-39603: Prevent http header injection by rejecting control 
    characters in http.client.putrequest(…).
  - bpo-41295: Resolve a regression in CPython 3.8.4 where defining
    “__setattr__” in a multi-inheritance setup and 
    calling up the hierarchy chain could fail if builtins/extension
    types were involved in the base types.
  - bpo-41247: Always cache the running loop holder when running 
    asyncio.set_running_loop.
  - bpo-41252: Fix incorrect refcounting in 
    _ssl.c’s _servername_callback().
  - bpo-41215: Use non-NULL default values in the PEG parser 
    keyword list to overcome a bug that was '
    preventing Python from being properly compiled when using the
    XLC compiler. Patch by Pablo Galindo.
  - bpo-41218: Python 3.8.3 had a regression where compiling with 
    ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would 
    aggressively mark list comprehension with CO_COROUTINE. Now only
    list comprehension making use of async/await will tagged as so.
  - bpo-41175: Guard against a NULL pointer dereference within 
    bytearrayobject triggered by the bytearray() + bytearray() operation.
  - bpo-39960: The “hackcheck” that prevents sneaking around a type’s 
    __setattr__() by calling the superclass method was 
    rewritten to allow C implemented heap types.
  - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the 
    C implementation raises now UnpicklingError instead of crashing.
  - bpo-39017: Avoid infinite loop when reading specially crafted 
    TAR files using the tarfile module (CVE-2019-20907, bsc#1174091).
  - bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().
  - bpo-41207: In distutils.spawn, restore expectation that 
    DistutilsExecError is raised when the command is not found.
  - bpo-39168: Remove the __new__ method of typing.Generic.
  - bpo-41194: Fix a crash in the _ast module: it can no longer be 
    loaded more than once. It now uses a global state rather than a module state.
  - bpo-39384: Fixed email.contentmanager to allow set_content() to set a 
    null string.
  - bpo-41300: Save files with non-ascii chars. 
    Fix regression released in 3.9.0b4 and 3.8.4.
  - bpo-37765: Add keywords to module name completion list. 
    Rewrite Completions section of IDLE doc.
  - bpo-40170: Revert PyType_HasFeature() change: it reads 
    again directly the PyTypeObject.tp_flags 
    member when the limited C API is not used, rather than always calling 
    PyType_GetFlags() which hides implementation details.

OBS-URL: https://build.opensuse.org/request/show/822056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=18
2020-07-21 11:16:21 +00:00
Dominique Leuenberger
71ac2aa56c Accepting request 821965 from devel:languages:python:Factory
Packaging is still Alpha, the tarball is still beta, so this is considered technical preview for testing.

OBS-URL: https://build.opensuse.org/request/show/821965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python39?expand=0&rev=1
2020-08-19 16:48:18 +00:00
7e181496c3 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=17
2020-07-20 15:55:55 +00:00
bfca21eba6 Don't fool with base64
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=16
2020-07-20 15:54:49 +00:00
322af6478b Fix bsc1167501-invalid-alignment.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=15
2020-07-20 15:44:00 +00:00
b83b6258d2 Add base64 version of Lib/test/recursion.tar
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=14
2020-07-20 15:41:25 +00:00
070e08b2a4 Add regeneration of Lib/test/recursion.tar
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=13
2020-07-20 14:21:10 +00:00
fe6eb0ea67 - Add CVE-2019-20907_tarfile-inf-loop.patch fixing bsc#1174091
(CVE-2019-20907, bpo#39017) avoiding possible infinite loop
  in specifically crafted tarball.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=12
2020-07-20 12:08:37 +00:00
Tomáš Chvátal
012ae3418d Accepting request 821413 from home:gmbr3:Active
- Changed bpo-31046_ensurepip_honours_prefix.patch to include fix from py3.8

OBS-URL: https://build.opensuse.org/request/show/821413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=11
2020-07-17 07:21:45 +00:00
Tomáš Chvátal
9809d09b33 Accepting request 821366 from home:gmbr3:Active
- Spec file fixes
- Re-added subprocess-raise-timeout.patch: now compatible
- Removed bpo34022-stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch: contained in upstream

OBS-URL: https://build.opensuse.org/request/show/821366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=10
2020-07-17 06:40:44 +00:00
Tomáš Chvátal
3049a47ee1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=9 2020-07-15 10:49:14 +00:00
Tomáš Chvátal
5ac62c3616 - Fix minor issues found in the staging.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=8
2020-07-15 09:21:05 +00:00
Tomáš Chvátal
5c53ab03d9 - Do not set ourselves as primary interpreter
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=7
2020-07-15 06:13:49 +00:00
bec09a8a16 Two more 38->39 changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=6
2020-07-14 22:45:00 +00:00
fc34fc829e Remove old patch F00102-lib64.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=5
2020-07-14 22:37:50 +00:00
7debc9c156 Update changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=4
2020-07-14 22:05:18 +00:00
9e5d738f44 - Update to 3.9.0b4:
- Remove upstreamed patches:
  - F00102-lib64.patch
  - SUSE-FEDORA-multilib.patch
  - OBS_dev-shm.patch
  - subprocess-raise-timeout.patch
  - bpo36302-sort-module-sources.patch
  - bpo40784-Fix-sqlite3-deterministic-test.patch

- Update pre_checkin.sh and regenerate

- Convert few dependencies to their pkgconfig counterparts

- Remove release requirement on libpython, it is not really needed
  to be equal as the abi changes with versions

- Add provides python3-bla on all the subpkgs in case we are
  primary provider of the functionality

- Remove unversioned files from devel subpkg too
- Remove main python3 files from -base based whether we are
  primary interpreter or not
- Fix idle to be co-installable
- Add condition to be primary to provide/obsolete python3-*
- Fix doc to build in versioned folder so the pythons can be
  installed next to each other

- Revert the full versioning of calls on the macros. These
  are generic so they should really just call python3 X

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=3
2020-07-14 22:02:29 +00:00
5ab6b5f996 Fix typo in macros.python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=2
2020-07-13 12:15:23 +00:00
6d6343ca6b osc copypac from project:devel:languages:python:Factory package:python38 revision:14
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=1
2020-07-13 06:10:55 +00:00