Skip to content

MinGW/Cygwin: Remove checks for ancient gcc/binutils#77

Merged
jaraco merged 3 commits intopypa:mainfrom
naveen521kk:remove-old-check
Dec 23, 2021
Merged

MinGW/Cygwin: Remove checks for ancient gcc/binutils#77
jaraco merged 3 commits intopypa:mainfrom
naveen521kk:remove-old-check

Conversation

@naveen521kk
Copy link
Contributor

The versions checked here are 20 years old. Also dllwrap
has started to emit a deprecation warning in the latest release
spamming the build logs.

First steps towards #34
Commits from: msys2-contrib/cpython-mingw@8ec77b6 and msys2-contrib/cpython-mingw@825cae1

cc @lazka

@GitMensch
Copy link

What is the reason for this being a draft?

@naveen521kk naveen521kk force-pushed the remove-old-check branch 3 times, most recently from 315e145 to 5d2955e Compare December 19, 2021 07:46
naveen521kk and others added 2 commits December 19, 2021 13:30
The versions checked here are 20 years old. Also dllwrap
has started to emit a deprecation warning in the latest release
spamming the build logs.

Co-authored-by:  Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Naveen M K <naveen521kk@gmail.com>
@naveen521kk naveen521kk marked this pull request as ready for review December 19, 2021 08:09
naveen521kk referenced this pull request in msys2-contrib/cpython-mingw Dec 19, 2021
The versions checked here are 20 years old. Also dllwrap
has started to emit a deprecation warning in the latest release
spamming the build logs.

Fixes #54
@naveen521kk naveen521kk requested a review from jaraco December 21, 2021 13:34
Copy link
Member

@jaraco jaraco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's get it out and see how it goes.

@jaraco jaraco merged commit 975a6f1 into pypa:main Dec 23, 2021
@GitMensch
Copy link

@lazka When can we expect to see that in MSYS2 builds? I'd try to find some time to test it with a non-GCC compiler that actually work with GCC options (where I think distutils's regex check on the version number previously stumbled over).

@lazka
Copy link
Contributor

lazka commented Dec 23, 2021

It already is in the stdlib version for some time now.

@naveen521kk naveen521kk deleted the remove-old-check branch December 24, 2021 11:51
@naveen521kk
Copy link
Contributor Author

Thanks!

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Dec 30, 2021
v60.2.0
-------


Changes
^^^^^^^
* #2974: Setuptools now relies on the Python logging infrastructure to log messages. Instead of using ``distutils.log.*``, use ``logging.getLogger(name).*``.
* #2987: Sync with pypa/distutils@2def21c, including fix for missing get_versions attribute (#2969), more reliance on sysconfig from stdlib.

Misc
^^^^
* #2962: Avoid attempting to use local distutils when the presiding version of Setuptools on the path doesn't have one.
* #2983: Restore 'add_shim' as the way to invoke the hook. Avoids compatibility issues between different versions of Setuptools with the distutils local implementation.


v60.1.1
-------


Misc
^^^^
* #2980: Bypass distutils loader when setuptools module is no longer available on sys.path.


v60.1.0
-------


Changes
^^^^^^^
* #2958: In distutils_hack, only add the metadata finder once. In ensure_local_distutils, rely on a context manager for reliable manipulation.
* #2963: Merge with pypa/distutils@a5af364910. Includes revisited fix for pypa/distutils#15 and improved MinGW/Cygwin support from pypa/distutils#77.


v60.0.5
-------


Misc
^^^^
* #2960: Install schemes fall back to default scheme for headers.


v60.0.4
-------


Misc
^^^^
* #2954: Merge with pypa/distutils@eba2bcd310. Adds platsubdir to config vars available for substitution.


v60.0.3
-------


Misc
^^^^
* #2940: Avoid KeyError in distutils hack when pip is imported during ensurepip.


v60.0.2
-------


Misc
^^^^
* #2938: Select 'posix_user' for the scheme unless falling back to stdlib, then use 'unix_user'.


v60.0.1
-------


Misc
^^^^
* #2944: Add support for extended install schemes in easy_install.


v60.0.0
-------


Breaking Changes
^^^^^^^^^^^^^^^^
* #2896: Setuptools once again makes its local copy of distutils the default. To override, set SETUPTOOLS_USE_DISTUTILS=stdlib.


v59.8.0
-------


Changes
^^^^^^^
* #2935: Merge pypa/distutils@460b59f.


v59.7.0
-------


Changes
^^^^^^^
* #2930: Require Python 3.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants