Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python v3.12.5 #175

Merged
merged 116 commits into from
Sep 9, 2024
Merged

Commits on Sep 4, 2024

  1. sysconfig: make _sysconfigdata.py relocatable

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: lovetox <8661218+lovetox@users.noreply.github.com>
    3 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9ceb372 View commit details
    Browse the repository at this point in the history
  2. build: add --with-nt-threads and make it default on mingw

    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1ea7b51 View commit details
    Browse the repository at this point in the history
  3. Define MS_WINDOWS (and others) when compiling with MINGW

    This is used throughout the Python code but is not defined
    when compiling with Mingw-w64 compilers, so define it.
    In MSVC these are defined in PC/pyconfig.h, we have to
    define it manually because pyconfig.h is created by
    autotools.
    
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    fd21cb0 View commit details
    Browse the repository at this point in the history
  4. configure: add MACHDEP and platform on MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2e01cb0 View commit details
    Browse the repository at this point in the history
  5. Add default configuration for MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    047a873 View commit details
    Browse the repository at this point in the history
  6. configure: enable largefile support by default for Mingw

    Largefile is supported on Windows.
    
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ab2442b View commit details
    Browse the repository at this point in the history
  7. Add PC/ to CPPFLAGS and to SRCDIRS on Mingw

    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Alexpux and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    877d1f1 View commit details
    Browse the repository at this point in the history
  8. posixmodule.c: Define necessary headers for compiling on MINGW

    Also, build `nt` module instead of `posix` when compiling
    with MINGW.
    
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    a76f9af View commit details
    Browse the repository at this point in the history
  9. Build winreg by default when compiling for MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    bedda8d View commit details
    Browse the repository at this point in the history
  10. pyport.h: Add support for MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e046e52 View commit details
    Browse the repository at this point in the history
  11. configure: add options so that shared build is possible on MINGW

    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Alexpux and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    57ca171 View commit details
    Browse the repository at this point in the history
  12. Add dynamic loading support for MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    99a2435 View commit details
    Browse the repository at this point in the history
  13. Ignore main program for frozen scripts on MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    f0c922d View commit details
    Browse the repository at this point in the history
  14. Detect winsock2 and setup _socket module on MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Alexpux and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9c97f87 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    409ce27 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    af9d255 View commit details
    Browse the repository at this point in the history
  17. sysconfig: treat MINGW builds as POSIX builds

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    Alexpux and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6cb7abd View commit details
    Browse the repository at this point in the history
  18. Add support for stdcall without underscore

    This is the case used in MINGW
    
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4cd0d8c View commit details
    Browse the repository at this point in the history
  19. Customize site for MINGW

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    53e2d58 View commit details
    Browse the repository at this point in the history
  20. add python config sh

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    19e00a9 View commit details
    Browse the repository at this point in the history
  21. mingw: prefer unix sep if MSYSTEM environment variable

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    Co-authored-by: cat <cat@wolfgirl.org>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    5 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    dd69861 View commit details
    Browse the repository at this point in the history
  22. msys cygwin semi native build sysconfig

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    b08cb8f View commit details
    Browse the repository at this point in the history
  23. sysconfig: mingw sysconfig like posix

    lazka authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    c6a4f5c View commit details
    Browse the repository at this point in the history
  24. mingw use backslashes in compileall py

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    59056d9 View commit details
    Browse the repository at this point in the history
  25. mingw pdcurses_ISPAD

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    315565c View commit details
    Browse the repository at this point in the history
  26. remove_path_max.default

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5c8ad03 View commit details
    Browse the repository at this point in the history
  27. dont link with gettext

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2ccb695 View commit details
    Browse the repository at this point in the history
  28. ctypes python dll

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    12bd681 View commit details
    Browse the repository at this point in the history
  29. gdbm module includes

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    cd1ac62 View commit details
    Browse the repository at this point in the history
  30. use gnu_printf in format

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    4dd2340 View commit details
    Browse the repository at this point in the history
  31. mingw fix ssl dont use enum_certificates

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    3 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d04756d View commit details
    Browse the repository at this point in the history
  32. fix using dllhandle and winver mingw

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    399dfac View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    ab6a00f View commit details
    Browse the repository at this point in the history
  34. MINGW link with additional library

    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    87db3f8 View commit details
    Browse the repository at this point in the history
  35. install msilib

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
    Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
    4 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1573849 View commit details
    Browse the repository at this point in the history
  36. fix signal module build

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    527325b View commit details
    Browse the repository at this point in the history
  37. build: build winconsoleio and _testconsole

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3bb4951 View commit details
    Browse the repository at this point in the history
  38. expose sem_unlink

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6ed7d7c View commit details
    Browse the repository at this point in the history
  39. Use cygpty while using isatty

    so that msys shells are detected as interactive ones
    
    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3642815 View commit details
    Browse the repository at this point in the history
  40. build: link win resource files and build pythonw

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    622f8b2 View commit details
    Browse the repository at this point in the history
  41. fix isselectable

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e4b7897 View commit details
    Browse the repository at this point in the history
  42. configure.ac: fix inet_pton check

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    a0b0ffc View commit details
    Browse the repository at this point in the history
  43. pass gen profile ldflags

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    2 people authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    b0dccdc View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    ee1c6dc View commit details
    Browse the repository at this point in the history
  45. importlib bootstrap path sep

    Co-authored-by: Алексей <alexey.pawlow@gmail.com>
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    3 people committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    12640fc View commit details
    Browse the repository at this point in the history
  46. warnings fixes

    Alexpux authored and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2813be0 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    2c742d3 View commit details
    Browse the repository at this point in the history
  48. clang arm64

    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    jeremyd2019 and naveen521kk committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e61cb4c View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    494b12b View commit details
    Browse the repository at this point in the history
  2. Don't use os.pathsep to find EOF

    not all distributions in win32 have them as \
    instead check using sys.platform
    
    Signed-off-by: Naveen M K <naveen@syrusdark.website>
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f8f2011 View commit details
    Browse the repository at this point in the history
  3. Fix extension suffix for c-extensions on mingw

    Python is compiled with various compilers which previously
    had same platform tags or extension suffix. This can be error
    prone while loading c-extensions, so now each compiler or
    runtime has a different extension suffix.
    
    Also, changed all extension to end with .pyd rather than
    .dll file.
    
    Fixes msys2/MINGW-packages#8843
    
    Signed-off-by: Naveen M K <naveen521kk@gmail.com>
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e864c2f View commit details
    Browse the repository at this point in the history
  4. Change the get_platform() method in sysconfig

    This would possibly fix building wheels when mingw python
    is used and would be unique to each python same as EXT_SUFFIX.
    
    Also, this modifies the `sys.version` argument to include UCRT
    in it.
    
    Signed-off-by: Naveen M K <naveen521kk@gmail.com>
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9407ecb View commit details
    Browse the repository at this point in the history
  5. build: Fix ncursesw include lookup

    Mirror what is already done for libffi; Look it up via
    pkg-config and use the exported path via sysconfig in setup.py
    Alexpux authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2daa99b View commit details
    Browse the repository at this point in the history
  6. tests: fix test_bytes

    %p has different casing with mingw-w64, but it's implementation defined.
    Change the test to the mingw-w64 variant.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    b0333f5 View commit details
    Browse the repository at this point in the history
  7. time: fix strftime not raising for invalid year values

    It's crt specific and not compiler specific.
    This fixes a test case in test_time
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9189a5b View commit details
    Browse the repository at this point in the history
  8. ctypes: find_library('c') should return None with ucrt

    Just like with MSVC. This fixes a test in test_ctypes.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    11970de View commit details
    Browse the repository at this point in the history
  9. build: Disable checks for dlopen/dlfcn

    While it is (potentially) available with mingw we don't want to use it, so skip any
    checks for it.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9e75c8a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9e82419 View commit details
    Browse the repository at this point in the history
  11. build: Integrate venvlauncher build/installation into the Makefile

    This is required for venv creation on Windows.
    Ideally this would use the venv specific launcher (PC/launcher.c),
    but a copy of main binary seems to work as well for now.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d00e141 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2c95724 View commit details
    Browse the repository at this point in the history
  13. configure.ac: don't check for clock_ functions

    They shouldn't be exposed on Windows and lead to winpthread being linked in
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f234ef6 View commit details
    Browse the repository at this point in the history
  14. expanduser: normpath paths coming from env vars

    This makes sure we get the same paths as with related functions in pathlib.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9b349c8 View commit details
    Browse the repository at this point in the history
  15. CI: test the build and add some mingw specific tests

    - Use actions/setup-python for setting up correct version in cross build
    - CI: add cross llvm-mingw jobs
    - CI: fix sed pattern for python-config.py shebang
      The shebang (`#!`) does not include `${pkgdir}` so this sed did nothing
    - CI: remove --without-c-locale-coercion
      No longer needed since the default now works on Windows
    - Make sure we always use the stdlib distutils
    - CI: update actions and images
      ubuntu-18.04 is gone now
    - CI: updates for mstorsjo/llvm-mingw moving to 20.04
    - CI: 3.10 -> 3.11
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    1aab26e View commit details
    Browse the repository at this point in the history
  16. Define PY3_DLLNAME to fix build

    PY3_DLLNAME is used in Python/pathconfig.c but isn't
    defined. I guess it is useless but it will fix the build.
    
    Co-authored-by: jeremyd2019 <github@jdrake.com>
    naveen521kk and jeremyd2019 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    acbb4f9 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    459f050 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    722ccad View commit details
    Browse the repository at this point in the history
  19. handle ncursesw pkg-config when cross-compiling

    strip extra args from pkg-config --cflags-only-I, setup.py is only expecting a single path.
    
    Use pkg-config ncursesw include dir even if cross-compiling (PKG_CONFIG_PATH should be set in that case).
    jeremyd2019 authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9f75de1 View commit details
    Browse the repository at this point in the history
  20. mingw_smoketests: fix _UCRT condition

    The prior detection missed ARM (32 and 64) being UCRT.  Since there are fewer non-UCRT platforms, list those two instead of trying to extend the list of UCRT.
    jeremyd2019 authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    0b0e691 View commit details
    Browse the repository at this point in the history
  21. Modify sys.winver to match upstream

    With this change `sys.winver` will add the Arch for which
    python was compiled on, for example in 32-bits, `sys.winver`
    will be `3.10-32`, for arm32 it would be `3.10-arm32` and
    so on.
    
    See msys2-contrib#40
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    519449e View commit details
    Browse the repository at this point in the history
  22. Change user site-packages path to include the environment info

    This should avoid mixing of user site-packages between python
    from various environments. Previously, the user site-packages
    should be located at `~/.local/lib/python3.10` for all environment
    including 32-bits variants which caused problems with 64-bit trying to
    load 32-bit extensions. Now this path will be changed to
    `~/.local/lib/python3.10-<platform tag here>`, for example, in
    CLANG64 this would be `~/.local/lib/python3.10-mingw_x86_64_clang`.
    
    Fixes msys2-contrib#40
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    39745f7 View commit details
    Browse the repository at this point in the history
  23. configure: Include a header in the check for _beginthread

    Previously, the test tried compiling a call to the
    _beginthread function without either declaring the function
    (and its parameters) or including the corresponding header.
    
    Since Clang 15 (which still is under development, so this may
    still change before it's released) [1], implicit function
    declarations are a hard error by default, when building code
    in C99 mode (or newer).
    
    [1] llvm/llvm-project@7d644e1
    mstorsjo authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d5668b6 View commit details
    Browse the repository at this point in the history
  24. configure.ac: Default to --without-c-locale-coercion on Windows

    --with-c-locale-coercion otherwise defaults to yes and enables code
    that isn't compatible on Windows, mainly because the feature is Unix related.
    
    Default to "no" on Windows instead.
    
    Fixes python#36
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    3f05a69 View commit details
    Browse the repository at this point in the history
  25. Fix failing tests

    - In `test_sysconfig`, ignore `test_sysconfig.TestSysConfig.test_user_similar` test failure.
    - Copy `get_platform()` from from distutils.utils to test_importlib/test_windows.py.
    - In `test_tcl`, ignore `test_tcl.TclTest.testLoadWithUNC` test failure.
    - Disable `test.test_asynchat.TestAsynchat.test_line_terminator2`, seems flaky.
    - skip some more flaky tests
    - some basic fixes for test_getpath
    - test_sysconfig.py: fix tests related to mingw
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d222b08 View commit details
    Browse the repository at this point in the history
  26. Don't change os.sep with an empty MSYSTEM env var, not just a missing…

    … one
    
    Up until now this didn't really happen when calling from cygwin
    because empty env vars were removed before Python would run.
    
    But msys2/msys2-runtime#101 changed that.
    
    To avoid breaking users that did something like
    
    MSYSTEM= python ...
    
    not only check that MSYSTEM isn't set but also that it isn't empty
    when deciding if os.sep/os.altsep should be switched.
    
    Also, guard the msystem env check to execute only on MINGW
    
    Co-authored-by: Naveen M K <naveen521kk@gmail.com>
    lazka and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    267a4a3 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    43ea6d7 View commit details
    Browse the repository at this point in the history
  28. Make _Py_CheckPython3 extern

    it's declared in headers but defined as static here, remove it
    also run `_Py_CheckPython3` only when using MSVC
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f5a8d79 View commit details
    Browse the repository at this point in the history
  29. link with bcrypt

    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    eb3f13a View commit details
    Browse the repository at this point in the history
  30. correctly find native python

    it's required for regen-modules
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9a83441 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    0e2fc3f View commit details
    Browse the repository at this point in the history
  32. posixmodule: undefine HAVE_OPENDIR

    opendir is detected by configure on mingw-w64, and for some reason
    things don't work as expected. For example, os.listdir always returns
    the cwd's directory listing instead of the one specified. By
    un-defining, this, os.listdir will use the one which uses native
    windows API.
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    c16fbe8 View commit details
    Browse the repository at this point in the history
  33. getpath.py: add support for mingw

    - always normalize the PREFIX to an absolute path
    - use `/` when MSYSTEM is defined
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    518d123 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    d5f589c View commit details
    Browse the repository at this point in the history
  35. _ssl: link with ws2_32

    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    590b0a3 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    e4890df View commit details
    Browse the repository at this point in the history
  37. Include winsock.h when checking for netdb function

    also move `gethostname` to that check
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9b99df6 View commit details
    Browse the repository at this point in the history
  38. include _multiprocessing/semaphore.c on win32

    while building `_multiprocessing` extension
    also, always build that module on win32
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    323f1a6 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    f8390fc View commit details
    Browse the repository at this point in the history
  40. venv creation fixes

    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    50c1a4e View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    f855d99 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    0c48bb9 View commit details
    Browse the repository at this point in the history
  43. configure.ac: fix building some test modules

    they are guarded by dlopen being present, but if module loading is enabled
    is more correct.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    66d55fe View commit details
    Browse the repository at this point in the history
  44. Don't convert sysconfig.get_config_var('VPATH') to an absolute path

    this is required for venv to work properly
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    987d88f View commit details
    Browse the repository at this point in the history
  45. Always convert / to \\ before passing though pathcch functions

    they don't seems to handle `/` as path separator correctly
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    5aebb87 View commit details
    Browse the repository at this point in the history
  46. Build venvlauncher.exe from PC/launcher.c

    - Use function available in original msvcrt.dll
      _wdupenv_s -> _wgetenv_s
      fread_s -> fread
    - Add a test for checking the new launchers
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    0982bf2 View commit details
    Browse the repository at this point in the history
  47. getpath.py: fix dirname

    also, fix finding prefix when in a venv
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    cadc2ad View commit details
    Browse the repository at this point in the history
  48. getpath: use normpath on all generated paths

    Instead of just calling normpath in abspath just call normpath
    on all the config results. This makes sure we don't change getpath.py
    too much and still cover all outputs.
    
    This fixes sys.exec_prefix not matching sys.prefix, see
    msys2-contrib#142
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2a9b6a2 View commit details
    Browse the repository at this point in the history
  49. pathconfig: normpath sys.path[0]

    this gets added as first element in sys.path.
    use normpath to make sure it uses the right path separator
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    97d8683 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    a2e78ae View commit details
    Browse the repository at this point in the history
  51. Search DLLs only on paths added using add_dll_directory().

    This is the default behavior on upstream Python. We previously
    reverted this behavior because it broke some use cases.
    
    The old behavior can be restored by setting the environment variable
    PYTHONLEGACYWINDOWSDLLLOADING to 1.
    
    Fixes msys2-contrib#48
    Also fixes msys2-contrib#141
    
    Signed-off-by: Naveen M K <naveen521kk@gmail.com>
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2a8b3f8 View commit details
    Browse the repository at this point in the history
  52. Build and install libpython3.dll

    This provides the limited ABI as a separate DLL, forwarding to the
    real one. This makes linking with "-lpython3" work.
    
    Fixes python#147
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    41fc8f4 View commit details
    Browse the repository at this point in the history
  53. Port GetPythonImport() to mingw

    This looks for DLL names in the import table but while with MSVC the DLL
    is named python311.dll in our case it is named libpython3.11.dll.
    Adjust the strings and lengths accordingly.
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    dae15ff View commit details
    Browse the repository at this point in the history
  54. LoadLibraryExW: make sure to only use backslashes for paths

    It seems like in case the path passed to it is absolute, but contains
    forward slashes then LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR does not work
    and DLLs in the same directory as the extension are not considered.
    
    This occurs in our fork because in MSYS2-mode the extension loader will
    normalize to forward slashes before.
    
    Normalize everything to backslashes again before passing it to LoadLibraryExW.
    
    Fixes python#151
    lazka authored and naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    323a045 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    8525ab3 View commit details
    Browse the repository at this point in the history
  56. Add missing library for multiprocessing module

    `ws2_32` is required when building that module
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    0f8ed1b View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    4981f5b View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    ddbd10e View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    c8492a0 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    3e1625b View commit details
    Browse the repository at this point in the history
  61. Enable _uuid on MINGW

    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    21bcf2f View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    21cc567 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    aecc6c6 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    1743be5 View commit details
    Browse the repository at this point in the history
  65. configure.ac: use autoconf 2.69

    llvm-mingw only has autoconf 2.69
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    4f07f41 View commit details
    Browse the repository at this point in the history
  66. CI: clean up ignored tests

    Remove tests which are passing now, or no longer exist, and
    move tests which only fail with msvcrt into a separate file.
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e0df848 View commit details
    Browse the repository at this point in the history
  67. gcc: make incompatible-pointer-types as warning

    gcc 14 changed `incompatible-pointer-types` from warning to error
    for now, make it as warning to avoid build failure
    naveen521kk committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    23de042 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    d22c87c View commit details
    Browse the repository at this point in the history