64 Commits

Author SHA1 Message Date
Christoph Reiter
28a20f00bd python: Update to 3.12.10 2025-04-10 10:06:03 +02:00
Christoph Reiter
b11b4ed895 python: Update to 3.12.9 2025-02-06 16:45:18 +01:00
Christoph Reiter
08eb9bd35a python: fix sysconfig.get_platform when run in a mingw shell
In a mingw shell it will call os.uname() which starts with MINGW..
resulting in bogus results. So just check for sys.platform which
is always "cygwin".

See #5143
2025-02-01 18:15:00 +01:00
Christoph Reiter
425bc5adb3 python: remove version from platform string and always use "cygwin"
pip has recently started to compare wheel tags with system supported wheel
tags, and as it turns out build tools just use sysconfig.get_platform() to generate
a tag (in setuptools, wheel, packaging, etc) for non-official platforms. For
official platforms they do various normalization steps and use other sources.

Since we can't really patch all those packages we need to provide a platform
string that wont change between updates.

* Don't include the cygwin version in it anymore, since that can change on updates.
* Hardcode to "cygwin" since builing for cygwin can change the output of os.uname()

The later breaks detection of MSYS2 compared to cygwin, but ideally no one should
depend on it, and we want to get rid of the differences there anyway.

Fixes #5143
2025-01-25 09:25:03 +01:00
Christoph Reiter
c3c6117969 python: Update to 3.12.8 2024-12-17 08:39:45 +01:00
Christoph Reiter
b15399e0b1 python: Update to 3.12.7 2024-10-03 09:43:22 +02:00
Christoph Reiter
3a0c5001ea python: Update to 3.12.6 2024-09-09 10:14:26 +02:00
Christoph Reiter
92c52f1a7b python: Update to 3.12.5 2024-08-09 14:43:22 +02:00
Christoph Reiter
387c067685 python: switch default mp start method to "spawn" and disable "forkserver"
"forkserver" doesn't work, and "fork" is deprecated, so give "spawn" a try
See https://github.com/msys2/MSYS2-packages/pull/4743#issuecomment-2213043559
2024-07-08 20:26:58 +02:00
Christoph Reiter
64ab51b88c python: PEP 668 - mark as externally managed
See https://peps.python.org/pep-0668/
2024-07-06 22:09:16 +02:00
Christoph Reiter
63e396b2e1 python: rebuild again
there is a address space conflict
2024-07-06 13:38:04 +02:00
Christoph Reiter
ae995b2d5a python: fix missing target tripplet in SOABI
I missed this during the rebase since it seemed to work without it,
and the configure scripts ignors errors there.
2024-07-06 12:14:28 +02:00
Christoph Reiter
9b64bd6498 python 3.12 rebuilds 2024-07-05 23:01:07 +02:00
Christoph Reiter
cf4938d5f6 python: Update to 3.12.4
* drop all distutils patches, distutils is gone
* drop all setup.py patches, that's gone too
* refresh the 32bit rebase (things changed, but I added
  it to the same make target, hopefully still works)
* adjust the new module building code to depend on the import
  lib and also add the build dir to the library path so it can
  be found.
* ctypes dropped vendored things, so remove code deleting it
* the code printing a warning if a module build fails no longer
  exists, so drop the "tee" stuff and the error check there
2024-07-05 22:11:47 +02:00
Christoph Reiter
088ebab488 python: Update to 3.11.9 2024-04-24 07:38:34 +02:00
Christoph Reiter
e8f4f9baa3 more CPEs 2024-03-26 09:46:25 +01:00
Christoph Reiter
a2ee04bf00 More CPEs 2024-03-24 20:09:34 +01:00
Christoph Reiter
b08af17dde python: Update to 3.11.8 2024-02-12 23:27:58 +01:00
Christoph Reiter
80211e80eb python: Update to 3.11.7 2024-01-20 13:28:11 +01:00
Christoph Reiter
de93364b6c python: rebuild for mpdecimal 2024-01-20 13:03:56 +01:00
Christoph Reiter
ab41054c23 python: Update to 3.11.6 2023-11-14 18:08:27 +01:00
Christoph Reiter
2060d3208f python: Update to 3.11.5
960-fix-parallel-make.patch: fixed upstream https://github.com/python/cpython/pull/104693
2023-08-28 23:28:51 +02:00
Christoph Reiter
67de076357 Move more things to libxcrypt 2023-07-13 20:57:09 +02:00
Christoph Reiter
229038af4f python: add missing libcrypt dep
_crypt.cpython-311-x86_64-msys.dll depends on it
2023-07-12 09:38:43 +02:00
Christoph Reiter
b2a41002d5 python: Update to 3.11.4 2023-06-15 08:15:01 +02:00
Christoph Reiter
7d96cd0381 python: Update to 3.11.3 2023-05-19 18:01:37 +02:00
Christoph Reiter
5978b5b570 python: Update to 3.11
* 006-3.7-ftm.patch: code no longer exists and builds fine without
* 010-3.8-nis-cygwin.patch: code no longer exists and builds fine without
* 012-3.8-pep3149-cygwin.patch: refreshed
* 013-3.8-tkinter-cygwin.patch: code no longer exists and builds fine without
* 28881-backport.patch, 930-fix-missing-tcp-include.patch: included in the new release
* 970-ossaudiodev.patch: work around "error: initializer element is not constant"

remove useless permissions change
2023-02-14 08:37:10 +01:00
Christoph Reiter
34a49bb1b3 python: more msysize cleanup
change uname to cygwin and drop all build time patches
depending on uname.

This shouldn't change anything in the build result in theory.
2023-02-13 19:10:27 +01:00
Christoph Reiter
c7e102a61a python: build script cleanup
* remove sed for cgi, cgi is deprecated and about to be dropped
* remove CPPFLAGS/LDFLAGS. it leaks into sysconfig and builds fine without it
* don't set CXX (defaults to g++ otherwise). nure sure why an absolute path is
  needed here and not for CC. It builds fine without it.
* remove ac_cv_func_bind_textdomain_codeset override, gets detected correctly
* drop LC_CTYPE, we default to utf-8
* remove EXTRA_CFLAGS, cpython supports CFLAGS since forever
* remove some optdepends commented code
2023-02-13 18:23:21 +01:00
Christoph Reiter
8c3bcc5839 python: Update to 3.10.10 2023-02-13 16:50:07 +01:00
Christoph Reiter
75bb29d4ff openssl rebuilds 2022-12-21 18:57:19 +01:00
Christoph Reiter
62f0334d85 python: Update to 3.10.9 2022-12-10 10:15:21 +01:00
Christoph Reiter
27a289eaee python: Update to 3.10.6 2022-08-07 11:49:16 +02:00
Christoph Reiter
3b410ce1f6 python: Update to Python 3.10.5
026-3.7-mpdec-msys.patch: fixed upstream
011-3.8-parser-cygwin.patch: no longer exists

rest are just rebased
2022-07-02 15:47:21 +02:00
Christoph Reiter
d9e7b5469a python: Update to 3.9.13 2022-06-06 15:20:10 +02:00
Christoph Reiter
0345259471 python: drop some more msysize changes 2022-06-06 15:12:23 +02:00
Christoph Reiter
06d1e17894 libffi rebuilds 2022-05-07 19:44:23 +02:00
Christoph Reiter
dda1ffcf98 python: backport patch to not link against crypt 2021-12-28 11:30:36 +01:00
Christoph Reiter
e40c90814f Makedepend on gcc/make where needed
This means we no longer need msys2-devel
2021-12-13 22:19:56 +01:00
Christoph Reiter
38126d763e makedepend on autotools for packages using configure
In some cases this will introduce cycles which could likely be cleaned
up by only depending on some unix tools instead of the whole autotools.

Rebuilding doesn't make much sense at this point since it just adds a subset
of base-devel which is still installed by default.
2021-12-12 14:20:50 +01:00
jeremyd2019
94111feb77
Revert "libffi: Update to 3.4.2" 2021-12-04 14:05:12 -08:00
Christoph Reiter
bdab5335f8 libffi rebuilds 2021-12-04 17:35:12 +01:00
Christoph Reiter
a3930b20cc python: Update to 3.9.9
remove libcrypt-devel since that was removed upstream, see
https://bugs.python.org/issue44751
2021-11-21 14:17:03 +01:00
Astrum-polaris
91b9b0197c python: update to 3.9.6 2021-07-20 00:42:32 +08:00
Christoph Reiter
1a870d7858 python: Update to 3.9.5
All the dropped changes seem no longer be needed (static is off by default,
the cygwin patch for .exe is upstream)
2021-05-15 15:04:08 +02:00
Christoph Reiter
7734abf5e7 python: Update to 3.8.10 2021-05-15 14:10:48 +02:00
Christoph Reiter
221bee9c03 python: cleanup 2021-05-15 14:10:17 +02:00
Christoph Reiter
bc1092b1f5 python: rebuild
against newer binutils which uses a larger base addr range to avoid conflicts
2021-05-15 10:24:52 +02:00
Christoph Reiter
2b65957fb9 python: pretend to be cygwin in more places
The main change here is that sys.platform == 'cygwin', which allows
us to drop various changes for extending cygwin checks. Fewer patches
and less likely that we miss to patch a new cygwin check on updates.

If one really needs to check for msys Python then this still works:

sysconfig.get_platform().startswith("msys")
2021-05-11 22:57:55 +02:00
Alexey Pavlov
4380c29a56 python: Update to 3.8.7 2021-01-12 13:24:46 +03:00