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

Merge with distutils @ f3b225449 #4444

Merged
merged 103 commits into from
Jul 1, 2024
Merged

Merge with distutils @ f3b225449 #4444

merged 103 commits into from
Jul 1, 2024

Commits on May 14, 2023

  1. Port code from CygwinCCompiler to UnixCCompiler

    python-pillow/Pillow#7158 (comment)
    suggests that Cygwin uses UnixCCompiler rather than CygwinCCompiler by default, so UnixCCompiler would need to know how to find shared libraries, import libraries, and static libraries on Cygwin.
    DWesl authored May 14, 2023
    Configuration menu
    Copy the full SHA
    b42197c View commit details
    Browse the repository at this point in the history

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 Apr 11, 2024

  1. Support PEP 625

    di authored and jaraco committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    21482ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    005ba4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be32fec View commit details
    Browse the repository at this point in the history
  4. Fix canonicalization

    di authored and jaraco committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2316432 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2de219 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Configuration menu
    Copy the full SHA
    11e8f76 View commit details
    Browse the repository at this point in the history
  2. Use vendored packaging.

    jaraco committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    96ce7aa View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Remove extra pairs of quotes from litteral strings

    Automated formatting runs such as #149 / ab77f7d left over these extra quotes.
    DimitriPapadopoulos committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    b81e1a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b26678d View commit details
    Browse the repository at this point in the history
  3. Revert "Update tests to match new expectation."

    This reverts commit be32fec.
    jaraco committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    c28f347 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    7ad4f2f View commit details
    Browse the repository at this point in the history
  2. Move project metadata to pyproject.toml (jaraco/skeleton#122)

    Intentionally omitted specifying `tool.setuptools.include-package-data`: it's true by default in `pyproject.toml` according to https://setuptools.pypa.io/en/latest/userguide/datafiles.html#include-package-data.
    
    Closes jaraco/skeleton#121
    bswck authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f4529af View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    744cf2a View commit details
    Browse the repository at this point in the history
  2. Move project.urls to appear in the order that ini2toml generates it. …

    …Remove project.scripts.
    jaraco committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    bcf8f07 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Revert "Allow macos on Python 3.8 to fail as GitHub CI has dropped su…

    …pport."
    
    This reverts commit 744cf2a.
    jaraco committed May 2, 2024
    Configuration menu
    Copy the full SHA
    67aab15 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

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

Commits on Jun 21, 2024

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

Commits on Jun 28, 2024

  1. Merge pull request pypa/distutils#245 from DimitriPapadopoulos/FURB

    Apply ruff/refurb rules (FURB)
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    491cd24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    713ad96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71fb698 View commit details
    Browse the repository at this point in the history
  4. Add type declaration for runtime_library_dir_option, making explicit …

    …the different return types one might expect.
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    9eaea6a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e74608b View commit details
    Browse the repository at this point in the history
  6. Merge pull request pypa/distutils#247 from pypa/hotfix/246-linker-arg…

    …s-list
    
    Wrap linker arg handling to restore prior expectation.
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b3406ca View commit details
    Browse the repository at this point in the history
  7. Merge pull request pypa/distutils#239 from DimitriPapadopoulos/extra_…

    …pairs_of_quotes
    
    Remove extra quotes from litteral strings
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    20a372e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d3165d0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1bf363b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6baafbc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    28d4a09 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8a49e92 View commit details
    Browse the repository at this point in the history
  13. Oops. Meant 2025.

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d746fff View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d8ccaf1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bce1a22 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5d2a97e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7babb5d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2db5527 View commit details
    Browse the repository at this point in the history
  19. Use proper boolean literals.

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    671f913 View commit details
    Browse the repository at this point in the history
  20. Replace Popen with check_call.

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    ffdb32d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a4a1f23 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0bb8036 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    de48bf2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8980c8c View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    213fae9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    880d7b1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b93a0ba View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6bf6b9e View commit details
    Browse the repository at this point in the history
  29. Use a separate build directory for free-threading

    Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
    brenns10 authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    01e5f2d View commit details
    Browse the repository at this point in the history
  30. Merge pull request pypa/distutils#260 from brenns10/main

    Use a separate build directory for free-threading
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    72b4407 View commit details
    Browse the repository at this point in the history
  31. Deprecate find_executable.

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    314e3f1 View commit details
    Browse the repository at this point in the history
  32. Merge pull request pypa/distutils#250 from pypa/debt/remove-find-exec…

    …utable
    
    Deprecate find_executable.
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    6909af1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    50763b6 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    8ecebe2 View commit details
    Browse the repository at this point in the history
  35. Merge pull request pypa/distutils#244 from pypa/feature/canonicalize-…

    …fullname
    
    Canonicalize fullname, honoring PEP 625
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c67b200 View commit details
    Browse the repository at this point in the history
  36. Apply ruff rule RUF100

    RUF100 Unused `noqa` directive
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a68cac3 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c3019f0 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    df0502f View commit details
    Browse the repository at this point in the history
  39. Merge pull request pypa/distutils#254 from DimitriPapadopoulos/RUF100

    Apply ruff rule RUF100
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    e79d244 View commit details
    Browse the repository at this point in the history
  40. Apply ruff rule RUF010

    RUF010 Use explicit conversion flag
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    54858be View commit details
    Browse the repository at this point in the history
  41. Enable ruff rule RUF010

    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    3701d13 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    5b64ea3 View commit details
    Browse the repository at this point in the history
  43. Merge pull request pypa/distutils#257 from DimitriPapadopoulos/RUF010

    Apply ruff rule RUF010
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    cb7f154 View commit details
    Browse the repository at this point in the history
  44. Apply ruff/pyupgrade rule UP031

    UP031 Use format specifiers instead of percent format
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    4cbdaff View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    8e000c1 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    8765761 View commit details
    Browse the repository at this point in the history
  47. Merge branch 'main' into UP

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1072cbd View commit details
    Browse the repository at this point in the history
  48. Use set instead of True-only dict

    Avasam authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b26d5e4 View commit details
    Browse the repository at this point in the history
  49. Merge pull request pypa/distutils#256 from DimitriPapadopoulos/UP

    Apply ruff/pyupgrade rules (UP)
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a4bdc72 View commit details
    Browse the repository at this point in the history
  50. Merge pull request pypa/distutils#252 from Avasam/Use-set-instead-of-…

    …True-only-dict
    
    Use `set` instead of `True`-only `dict`
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    a44f208 View commit details
    Browse the repository at this point in the history
  51. Use actual boolean parameters and variables

    Avasam authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    33b5afa View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    ef85c76 View commit details
    Browse the repository at this point in the history
  53. Apply ruff/flake8-implicit-str-concat rule ISC001

    ISC001 Implicitly concatenated string literals on one line
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    affcf39 View commit details
    Browse the repository at this point in the history
  54. Apply ruff/flake8-implicit-str-concat rule ISC003

    ISC003 Explicitly concatenated string should be implicitly concatenated
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    7d12ab7 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    5a590b8 View commit details
    Browse the repository at this point in the history
  56. Merge branch 'main' into ISC

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    9fd0e88 View commit details
    Browse the repository at this point in the history
  57. Combine strings for clarity.

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    4208e32 View commit details
    Browse the repository at this point in the history
  58. Merge pull request pypa/distutils#253 from Avasam/use-actual-booleans

    Use actual boolean parameters and variables
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    418589c View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    066ef49 View commit details
    Browse the repository at this point in the history
  60. 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 authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1c196fe View commit details
    Browse the repository at this point in the history
  61. 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 authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2317473 View commit details
    Browse the repository at this point in the history
  62. Merge pull request pypa/distutils#255 from DimitriPapadopoulos/ISC

    Apply ruff/flake8-implicit-str-concat rules (ISC)
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    7a9818b View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    2c86616 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    62135e6 View commit details
    Browse the repository at this point in the history
  65. Use brackets for the default value of option arguments

    The goal is to standardize the format of the help text printed
    by commands. It is not easy to choose between brackets `[]` and
    parentheses `()`. I went for the docopt style, which is the
    closest to a standard I could find:
    
    	http://docopt.org/
    
    	[...] and whether that argument has a default value ([default: 10]).
    DimitriPapadopoulos authored and jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    dc7bfe4 View commit details
    Browse the repository at this point in the history
  66. Merge pull request pypa/distutils#184 from msys2-contrib/add-mingw-su…

    …pport
    
    Add support for building extensions using MinGW compilers
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b266061 View commit details
    Browse the repository at this point in the history
  67. Merge pull request pypa/distutils#262 from DimitriPapadopoulos/default

    Use brackets for the default value of option arguments
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    4a742fc View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    5491f80 View commit details
    Browse the repository at this point in the history
  69. Remove unnecessary override to the same value.

    Co-authored-by: DWesl <22566757+DWesl@users.noreply.github.com>
    jaraco and DWesl committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    afc54f8 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    131fae7 View commit details
    Browse the repository at this point in the history
  71. Merge pull request pypa/distutils#209 from DWesl/patch-3

    Port code from CygwinCCompiler to UnixCCompiler
    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    f3b2254 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    0f6ed20 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    d5f60da View commit details
    Browse the repository at this point in the history
  74. Add news fragment

    jaraco committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    259bfdb View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    4e6d97d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    343ac6f View commit details
    Browse the repository at this point in the history