-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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@d7ffdb9c7 #4538
Commits on Mar 2, 2024
-
Upstreamed fix from nix, see patch here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/setuptools/setuptools-distutils-C%2B%2B.patch
Configuration menu - View commit details
-
Copy full SHA for 2c93711 - Browse repository at this point
Copy the full SHA 2c93711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f4723 - Browse repository at this point
Copy the full SHA 26f4723View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbac766 - Browse repository at this point
Copy the full SHA fbac766View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f176ac - Browse repository at this point
Copy the full SHA 9f176acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5174927 - Browse repository at this point
Copy the full SHA 5174927View commit details
Commits on Mar 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fa6e218 - Browse repository at this point
Copy the full SHA fa6e218View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45a232a - Browse repository at this point
Copy the full SHA 45a232aView commit details -
For consistency, ensure Extension.sources is always a pathlib.Path ob…
…ject and adjust expectations in tests.
Configuration menu - View commit details
-
Copy full SHA for 9cc0c93 - Browse repository at this point
Copy the full SHA 9cc0c93View commit details -
Configuration menu - View commit details
-
Copy full SHA for c489cdc - Browse repository at this point
Copy the full SHA c489cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a85c1 - Browse repository at this point
Copy the full SHA f2a85c1View commit details
Commits on Apr 14, 2024
-
Merge pull request #239 from DimitriPapadopoulos/extra_pairs_of_quotes
Remove extra quotes from litteral strings
Configuration menu - View commit details
-
Copy full SHA for 53c82a2 - Browse repository at this point
Copy the full SHA 53c82a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45740e0 - Browse repository at this point
Copy the full SHA 45740e0View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3048e1b - Browse repository at this point
Copy the full SHA 3048e1bView commit details -
Revert "Disable cygwin tests for now. Ref #3921"
This reverts commit d3e5de0.
Configuration menu - View commit details
-
Copy full SHA for 1bcd839 - Browse repository at this point
Copy the full SHA 1bcd839View commit details
Commits on Jul 12, 2024
-
find_library_file: port from doctest to normal test and fix for cygwin
Starting with b42197c UnixCCompiler got some improved support for cygwin which made the doctest fail. The doctest is hard to read as is, and adding more platform specific exceptions wouldn't help, so just convert to a normal test and special case cygwin to make the test pass there again.
Configuration menu - View commit details
-
Copy full SHA for f21f19a - Browse repository at this point
Copy the full SHA f21f19aView commit details -
test_customize_compiler_with_msvc_python: skip for cygwin
Mingw32CCompiler() checks that the default compiler isn't cygwin, so it can't be used under cygwin, so skip it there.
Configuration menu - View commit details
-
Copy full SHA for 7d78834 - Browse repository at this point
Copy the full SHA 7d78834View commit details
Commits on Jul 15, 2024
-
Merge pull request #270 from msys2-contrib/fix-cygwin-ci
Fix cygwin CI job
Configuration menu - View commit details
-
Copy full SHA for 683df4e - Browse repository at this point
Copy the full SHA 683df4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 813ab98 - Browse repository at this point
Copy the full SHA 813ab98View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76e1e71 - Browse repository at this point
Copy the full SHA 76e1e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for e27b973 - Browse repository at this point
Copy the full SHA e27b973View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58afb01 - Browse repository at this point
Copy the full SHA 58afb01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848c48b - Browse repository at this point
Copy the full SHA 848c48bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a581f - Browse repository at this point
Copy the full SHA d6a581fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3c76bb - Browse repository at this point
Copy the full SHA d3c76bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f2ef0 - Browse repository at this point
Copy the full SHA 12f2ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a9ca8b - Browse repository at this point
Copy the full SHA 8a9ca8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 206ca2a - Browse repository at this point
Copy the full SHA 206ca2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7adff4 - Browse repository at this point
Copy the full SHA f7adff4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b440f45 - Browse repository at this point
Copy the full SHA b440f45View commit details -
Use explicit registration for compatibility with older Pythons.
Prior to 3.11, singledispatch[method] doesn't know about unions.
Configuration menu - View commit details
-
Copy full SHA for 94b6d14 - Browse repository at this point
Copy the full SHA 94b6d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d50db3 - Browse repository at this point
Copy the full SHA 4d50db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3debdcc - Browse repository at this point
Copy the full SHA 3debdccView commit details -
Configuration menu - View commit details
-
Copy full SHA for e88bd79 - Browse repository at this point
Copy the full SHA e88bd79View commit details -
In test_convert_path, utilize posixpath.join and ntpath.join for maxi…
…mum compatibility with other libraries.
Configuration menu - View commit details
-
Copy full SHA for d48a881 - Browse repository at this point
Copy the full SHA d48a881View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb6b57 - Browse repository at this point
Copy the full SHA 8eb6b57View commit details -
convert_path no longer fails if passed a path with a trailing slash. …
…Instead, trailing slashes are stripped just as they are with pathlib.Path. Ref pypa/distutils#272 (comment).
Configuration menu - View commit details
-
Copy full SHA for 4232b01 - Browse repository at this point
Copy the full SHA 4232b01View commit details
Commits on Jul 20, 2024
-
convert_path now converts to a platform-native path.Path, but then ca…
…lls `.as_posix()` on it. This change will have the unintended effect of adding support for backslashes on Windows. Maybe that's fine, or maybe it should be prohibited.
Configuration menu - View commit details
-
Copy full SHA for b4df774 - Browse repository at this point
Copy the full SHA b4df774View commit details -
Separate test_convert_path into two tests to avoid interactions in mo…
…nkeypatching os.path.
Configuration menu - View commit details
-
Copy full SHA for c67da35 - Browse repository at this point
Copy the full SHA c67da35View commit details -
Remove expectation that a ValueError is raised for data_files being d…
…rive-relative absolute on Windows.
Configuration menu - View commit details
-
Copy full SHA for 1e97e21 - Browse repository at this point
Copy the full SHA 1e97e21View commit details -
Simplify convert_path by simply relying on the logic in PurePath.
Test for convert_path no longer runs on all operating systems as it's too difficult (impossible) to monkeypatch PurePath reliably.
Configuration menu - View commit details
-
Copy full SHA for 4b3f16f - Browse repository at this point
Copy the full SHA 4b3f16fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d3c3c - Browse repository at this point
Copy the full SHA c4d3c3cView commit details -
Consolidate convert_path tests and just generate the expected value i…
…n a platform-sensitive way. Should fix failures on mingw.
Configuration menu - View commit details
-
Copy full SHA for a166815 - Browse repository at this point
Copy the full SHA a166815View commit details -
Merge pull request pypa/distutils#272 from pypa/feature/pathlib-data-…
…files Allow path objects for data-files
Configuration menu - View commit details
-
Copy full SHA for 01f9af2 - Browse repository at this point
Copy the full SHA 01f9af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9ec8f8 - Browse repository at this point
Copy the full SHA c9ec8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a74d289 - Browse repository at this point
Copy the full SHA a74d289View commit details -
Merge pull request pypa/distutils#237 from pypa/pathlike_ext
ENH: Extension should be able to accept PathLike sources objects
Configuration menu - View commit details
-
Copy full SHA for e1e9f61 - Browse repository at this point
Copy the full SHA e1e9f61View commit details
Commits on Jul 21, 2024
-
venv_install_options: add missing clear_argv fixture
Otherwise the test fails if arguments are passed to pytest, for example --no-cov: FAILED distutils/tests/test_dist.py::TestDistributionBehavior::test_venv_install_options - distutils.errors.DistutilsArgError: option --no-cov not recognized
Configuration menu - View commit details
-
Copy full SHA for cf47197 - Browse repository at this point
Copy the full SHA cf47197View commit details -
CI: add a job for running tests under MSVC CPython with GCC as the de…
…fault compiler The tests currently assume everywhere that there is only one compiler per platform, and while it would be possible to parametrize all the tests it would make things more complex and we'd also have to decide which compiler is required for running the tests and which one is optional etc. To avoid all this introduce a DISTUTILS_TEST_DEFAULT_COMPILER env var which can be used to override the default compiler type for the whole test run. This keeps the tests as is and makes sure all tests run against the alternative compiler. Also add it to pass_env for tox, so it gets passed to pytest, if set. The added CI job installs an ucrt targeting GCC via MSYS2, and forces the MSVC CPython to use it via DISTUTILS_TEST_DEFAULT_COMPILER=mingw32.
Configuration menu - View commit details
-
Copy full SHA for 6a39d04 - Browse repository at this point
Copy the full SHA 6a39d04View commit details -
mingw: make get_msvcr() a noop
This was added back in the day to make mingw use the same CRT as CPython (https://bugs.python.org/issue870382), but at least with newer mingw-w64 and ucrt switching the CRT at "runtime" isn't supported anymore. To build a compatible extension you have to use a ucrt mingw-w64 build, so things match up and link against the same CRT. CPython 3.5+ uses ucrt (see https://wiki.python.org/moin/WindowsCompilers), so anything besides that is no longer relevant, which only leaves vcruntime140. Since it's not clear what linking against vcruntime140 solves, and there have been reports of it needing to be patched out: * #4101 * pypa/distutils#204 (comment) let's just make it return nothing. Keep get_msvcr() around for now to avoid breaking code which patched it. Fixes #204
Configuration menu - View commit details
-
Copy full SHA for 943fc82 - Browse repository at this point
Copy the full SHA 943fc82View commit details -
Its last use in cygwinccompiler was just removed.
Configuration menu - View commit details
-
Copy full SHA for 267fb5f - Browse repository at this point
Copy the full SHA 267fb5fView commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93ab2a5 - Browse repository at this point
Copy the full SHA 93ab2a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95088c5 - Browse repository at this point
Copy the full SHA 95088c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for edc3808 - Browse repository at this point
Copy the full SHA edc3808View commit details -
Refactored customize_compiler to reduce logical branches and extract …
…_add_flags logic. Reduces cyclomatic complexity so it passes QA checks.
Configuration menu - View commit details
-
Copy full SHA for 3e4b457 - Browse repository at this point
Copy the full SHA 3e4b457View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcef963 - Browse repository at this point
Copy the full SHA fcef963View commit details -
Merge pull request pypa/distutils#228 from pypa/feature/cpp-support
Distutils C++ support
Configuration menu - View commit details
-
Copy full SHA for 3e11381 - Browse repository at this point
Copy the full SHA 3e11381View commit details -
Merge pull request pypa/distutils#273 from msys2-contrib/tests-fix-ve…
…nv_install_options venv_install_options: add missing clear_argv fixture
Configuration menu - View commit details
-
Copy full SHA for ab3f84e - Browse repository at this point
Copy the full SHA ab3f84eView commit details -
Merge pull request pypa/distutils#274 from msys2-contrib/ci-msvc-pyth…
…on-mingw-variant2 mingw: make get_msvcr() a noop + add a CI job testing MSVC Python with GCC
Configuration menu - View commit details
-
Copy full SHA for de4e1be - Browse repository at this point
Copy the full SHA de4e1beView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9781ae - Browse repository at this point
Copy the full SHA c9781aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ffdb9 - Browse repository at this point
Copy the full SHA d7ffdb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c22938c - Browse repository at this point
Copy the full SHA c22938cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fc3c6f - Browse repository at this point
Copy the full SHA 3fc3c6fView commit details