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

Add support for building extensions using MinGW compilers #184

Merged
merged 12 commits into from
Jun 28, 2024

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    2ad8784 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e69a19e View commit details
    Browse the repository at this point in the history
  3. Make test_customize_compiler run on mingw

    Simply, run it for the subclasses for `UnixCCompiler`
    naveen521kk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    571f761 View commit details
    Browse the repository at this point in the history
  4. CI: add msys2 mingw test

    naveen521kk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9e707f0 View commit details
    Browse the repository at this point in the history
  5. Fix path separator issue in change_root function

    use `os.sep` instead of hardcoding `\\`
    also, fix appropriate tests
    naveen521kk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    36a2941 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c977026 View commit details
    Browse the repository at this point in the history
  7. Remove testing dependency on jaraco.text

    it depends on pydantic-core which requires rust to work
    also, takes a few minutes to build.
    naveen521kk committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    79830a8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e4e1687 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bbe7b64 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    5fb38a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. CI: run pytest without arguments to avoid stdlib distutils being impo…

    …rted
    
    distutils currently doesn't support pytest collection that doesn't
    start at least at the distutils dir or above (and not distutils/tests)
    since it requires the local distutils being imported before the tests are run,
    otherwise the stdlib distutils takes precedence.
    
    Adjust the pytest call to not pass a path to work around this.
    
    Since pytest currently fails to skip collecting venvs with mingw python
    (see pytest-dev/pytest#12544) move the venv
    to /tmp instead.
    lazka committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a100e3b View commit details
    Browse the repository at this point in the history
  2. CI: explicitely CC/CXX for clang only mingw environments

    MSYS2 has stopped installing gcc compatibility binaries in clang environments
    by default some time ago, and distutils is currently hardcoded to look for "gcc",
    while only cc/c++ and clang/clang++ are in PATH.
    
    Work around for now by explicitely setting CC/CXX to override the defaults.
    
    Idealy distutils would try to look harder for a valid compiler before giving up,
    but this can be improved in the future.
    lazka committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    5bdd6d3 View commit details
    Browse the repository at this point in the history