-
-
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@b7ee725f3 #4539
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 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3debdcc - Browse repository at this point
Copy the full SHA 3debdccView commit details
Commits on Aug 2, 2024
-
Merge pull request pypa/distutils#270 from msys2-contrib/fix-cygwin-ci
Fix cygwin CI job
Configuration menu - View commit details
-
Copy full SHA for 718728f - Browse repository at this point
Copy the full SHA 718728fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b98bf0 - Browse repository at this point
Copy the full SHA 4b98bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ced21e2 - Browse repository at this point
Copy the full SHA ced21e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f350a98 - Browse repository at this point
Copy the full SHA f350a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202ff81 - Browse repository at this point
Copy the full SHA 202ff81View commit details -
Configuration menu - View commit details
-
Copy full SHA for a30bf56 - Browse repository at this point
Copy the full SHA a30bf56View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d9fba - Browse repository at this point
Copy the full SHA c2d9fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6a55cf - Browse repository at this point
Copy the full SHA a6a55cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29281a6 - Browse repository at this point
Copy the full SHA 29281a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0edebdc - Browse repository at this point
Copy the full SHA 0edebdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a7122a - Browse repository at this point
Copy the full SHA 2a7122aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb1bf8 - Browse repository at this point
Copy the full SHA dcb1bf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6099343 - Browse repository at this point
Copy the full SHA 6099343View 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 3a2d7a6 - Browse repository at this point
Copy the full SHA 3a2d7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5e3e5f - Browse repository at this point
Copy the full SHA a5e3e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87f7731 - Browse repository at this point
Copy the full SHA 87f7731View 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 2e6a69e - Browse repository at this point
Copy the full SHA 2e6a69eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90cbfbe - Browse repository at this point
Copy the full SHA 90cbfbeView 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 e2cbf97 - Browse repository at this point
Copy the full SHA e2cbf97View commit details -
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 9d6ca5f - Browse repository at this point
Copy the full SHA 9d6ca5fView 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 4eaa02f - Browse repository at this point
Copy the full SHA 4eaa02fView 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 5469f24 - Browse repository at this point
Copy the full SHA 5469f24View 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 28e7431 - Browse repository at this point
Copy the full SHA 28e7431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cada19 - Browse repository at this point
Copy the full SHA 8cada19View 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 8f2498a - Browse repository at this point
Copy the full SHA 8f2498aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a826df6 - Browse repository at this point
Copy the full SHA a826df6View 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 9bebfda - Browse repository at this point
Copy the full SHA 9bebfdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5723c13 - Browse repository at this point
Copy the full SHA 5723c13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65675e5 - Browse repository at this point
Copy the full SHA 65675e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52cd70b - Browse repository at this point
Copy the full SHA 52cd70bView 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 1f3188c - Browse repository at this point
Copy the full SHA 1f3188cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b86d4b - Browse repository at this point
Copy the full SHA 3b86d4bView 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 d13da58 - Browse repository at this point
Copy the full SHA d13da58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8307b56 - Browse repository at this point
Copy the full SHA 8307b56View 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 127371a - Browse repository at this point
Copy the full SHA 127371aView 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 d4a685a - Browse repository at this point
Copy the full SHA d4a685aView commit details -
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 f577bcb - Browse repository at this point
Copy the full SHA f577bcbView 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 fc76caa - Browse repository at this point
Copy the full SHA fc76caaView commit details -
Its last use in cygwinccompiler was just removed.
Configuration menu - View commit details
-
Copy full SHA for 1f999b9 - Browse repository at this point
Copy the full SHA 1f999b9View 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 6748224 - Browse repository at this point
Copy the full SHA 6748224View 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 5f79f22 - Browse repository at this point
Copy the full SHA 5f79f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e5fea - Browse repository at this point
Copy the full SHA 32e5feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ee725 - Browse repository at this point
Copy the full SHA b7ee725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ab156c - Browse repository at this point
Copy the full SHA 0ab156cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4ad24b - Browse repository at this point
Copy the full SHA d4ad24bView commit details